Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

Help with NSA320S 2015.10 U-Boot installation (1 reply)

$
0
0
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

Viewing all articles
Browse latest Browse all 3247

Trending Articles