[U-Boot] uboot for zyxel nsa320
kqt4at5v at gmail.com
kqt4at5v at gmail.com
Sat Jul 14 11:51:13 CEST 2012
On Sat, 14 Jul 2012, Luka Perkov wrote:
> Hi,
>
> On Fri, Jul 13, 2012 at 12:43:13PM -0500, kqt4at5v at gmail.com wrote:
>> I have a new Zyxel NSA320. It is unmodified. At the uboot prompt I
>> printenv and save all environment variables. Next I pulled code from
>> https://github.com/psch2/uboot-nsa320, compiled and used kwboot to
>> load new uboot. No problems so far. Now if I reload all environment
>> variables I saved and boot the kernel loads but does not execute.
>> Any ideas?
>>
>> NSA320> boot
>>
>> NAND read: device 0 offset 0xc80000, size 0xa00000
>> 10485760 bytes read: OK
>> ## Booting kernel from Legacy Image at 02000000 ...
>> Image Name: Linux-2.6.31.8
>> Image Type: ARM Linux Kernel Image (uncompressed)
>> Data Size: 5909960 Bytes = 5.6 MiB
>> Load Address: 00008000
>> Entry Point: 00008000
>> Verifying Checksum ... OK
>> Loading Kernel Image ... OK
>> OK
>>
>> Starting kernel ...
>>
>> Uncompressing Linux...............................................................................................................................................................................................................................................................................
>> done, booting the kernel.
>
> You are probably missing console=ttyS0,115200 in your bootargs
> environment variable. What is the output of "printenv" ?
>
NSA320>> printenv
bootargs=console=ttyS0,115200 mtdparts=nand_mtd:0x100000(uboot),0x80000(uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) root=/dev/nfs rw init=/init
bootcmd=nand read.e 0x2000000 $(kernel_addr) 0xA00000; bootm 0x2000000
bootdelay=2
baudrate=115200
loads_echo=0
eth1addr=00:19:CB:00:51:82
ipaddr=10.4.50.165
serverip=10.4.50.5
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
nandEcc=1bit
MODEL_ID=DD01
PRODUCT_NAME=NSA-320
FEATURE_BIT=00
CONTRY_TYPE=FF
VENDOR_NAME=ZyXEL Communications Corp.
run_diag=yes
ethaddr=C8:6C:87:F8:3D:84
stdin=serial
stdout=serial
stderr=serial
console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000 at 0(uboot)ro,0x7f00000 at 0x100000(root)
mainlineLinux=no
CASset=min
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
ethprime=egiga1
netbsd_en=no
vxworks_en=no
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console)
root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end)
$(mvPhoneConfig); bootm 0x2000000;
disaMvPnp=no
ethmtu=1500
eth1mtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
hddPowerCtrl=no
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
enaAutoRecovery=yes
kernel_addr=0xc80000
pcieTune=no
ethact=egiga1
Environment size: 1557/131068 bytes
More information about the U-Boot
mailing list