Welcome! Log In Create A New Profile

Advanced

Help with NSA320S 2015.10 U-Boot installation

Posted by Jkeifenheim 
Help with NSA320S 2015.10 U-Boot installation
April 02, 2016 01:29PM
Hey Bodhi,

First off thanks for putting all of this together! It gives folks like me who are very new to the programming world a chance. I am having issues installing the uBoot on my NSA320s. The kernel and boot is the stock systems. I have enabled ffp and utilize putty to connect via SSH, logged in as root.

I have two possible issues so far. As this is stock, I followed your precursor to step 1 under flashing instructions and installed the mtd-utils and uboot-tools with no errors reported.

cd /tmp
wget http://download.doozan.com/uboot/nanddump
wget http://download.doozan.com/uboot/nandwrite
wget http://download.doozan.com/uboot/flash_erase
wget http://download.doozan.com/uboot/fw_printenv
wget http://download.doozan.com/uboot/fw_env.config
wget http://download.doozan.com/uboot/files/environment/uboot.environment


Without changing directories I ran cat /etc/fw_env.config with the following result.

Configuration file for fw_(printenv/saveenv) utility.
# Up to two entries are valid, in this case the redundand
# environment sector is assumed present.
# Notice, that the "Number of sectors" is ignored on NOR.

# MTD device name       Device offset   Env. size       Flash sector size       Number of sectors
# NAND example
/dev/mtd1               0x0000          0x20000         0x20000                 4


I think this may be my first error. Do I need to edit the file to match your text? If so, how?

I figured there may have been an update of the file so I moved forward to the next step. When attempting to run

fw_printenv ethaddr

I got

-sh: fw_printenv: command not found

I am assuming I need to change the first file?

Finally I like to know what new commands do so I looked at the help files for nanddump and I don't see any --noecc listed. Is that something else that I need to install?

Thanks again,

Jeremy



Edited 1 time(s). Last edit at 04/02/2016 04:56PM by bodhi.
Re: Help with NSA320S 2015.10 U-Boot installation
April 02, 2016 05:10PM
Jeremy,

Comment out what you have currently, and then add this line:
/dev/mtd0 0xc0000 0x20000 0x20000

> fw_printenv ethaddr

Since the binaries were copied in, not installed, the command hase to have "./" in front. This is the Linux shell method to execute any binary that was downloaded but not installed.

./fw_printenv ethaddr

> Finally I like to know what new commands do so I
> looked at the help files for nanddump and I don't
> see any --noecc listed. Is that something else
> that I need to install?

Download this and use the binaries in this tarball instead of the old ones:
http://forum.doozan.com/read.php?3,27280

And you do need serial console to recover form any problem during flashing. Do you have one installed or plane to install it if needed?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 04/02/2016 05:43PM by bodhi.
Re: Help with NSA320S 2015.10 U-Boot installation
May 18, 2016 07:55PM
bodhi Wrote:
-------------------------------------------------------
> Jeremy,
>
> Comment out what you have currently, and then add
> this line:
>
> /dev/mtd0 0xc0000 0x20000 0x20000
>
>
> > fw_printenv ethaddr
>
> Since the binaries were copied in, not installed,
> the command hase to have "./" in front. This is
> the Linux shell method to execute any binary that
> was downloaded but not installed.
>
>
> ./fw_printenv ethaddr
>
>
> > Finally I like to know what new commands do so
> I
> > looked at the help files for nanddump and I
> don't
> > see any --noecc listed. Is that something else
> > that I need to install?
>
> Download this and use the binaries in this tarball
> instead of the old ones:
> http://forum.doozan.com/read.php?3,27280
>
> And you do need serial console to recover form any
> problem during flashing. Do you have one installed
> or plane to install it if needed?

Hey Bodhi

Took a while for me to get back to this. Thesis submitted and accepted so back to personal projects. I will attempt this in the next few days. I do not have a serial console installed but I will look into how to install one.

Jeremy
Re: Help with NSA320S 2015.10 U-Boot installation
May 26, 2016 03:02PM
Jeremy,

> Took a while for me to get back to this. Thesis
> submitted and accepted so back to personal
> projects.

Congrats :)

> I will attempt this in the next few
> days. I do not have a serial console installed but
> I will look into how to install one.

I'm looking forward to. I think we need one more user with the NSA320S who can do kwboot. I want to release the new u-boot for this, but need more tests to verify if the 2nd HDD is working consistently.

Also the new kernel 4.6 need to be verified to work with the NSA320S.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 05/27/2016 03:14AM by bodhi.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: