* [U-Boot] uboot for zyxel nsa320
@ 2012-07-13 17:43 kqt4at5v at gmail.com
2012-07-13 23:20 ` Luka Perkov
0 siblings, 1 reply; 5+ messages in thread
From: kqt4at5v at gmail.com @ 2012-07-13 17:43 UTC (permalink / raw)
To: u-boot
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.
Richard
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] uboot for zyxel nsa320
2012-07-13 17:43 [U-Boot] uboot for zyxel nsa320 kqt4at5v at gmail.com
@ 2012-07-13 23:20 ` Luka Perkov
2012-07-14 9:51 ` kqt4at5v at gmail.com
0 siblings, 1 reply; 5+ messages in thread
From: Luka Perkov @ 2012-07-13 23:20 UTC (permalink / raw)
To: u-boot
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" ?
Luka
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] uboot for zyxel nsa320
2012-07-13 23:20 ` Luka Perkov
@ 2012-07-14 9:51 ` kqt4at5v at gmail.com
2012-07-14 18:47 ` Luka Perkov
0 siblings, 1 reply; 5+ messages in thread
From: kqt4at5v at gmail.com @ 2012-07-14 9:51 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] uboot for zyxel nsa320
2012-07-14 9:51 ` kqt4at5v at gmail.com
@ 2012-07-14 18:47 ` Luka Perkov
2012-07-14 18:53 ` kqt4at5v at gmail.com
0 siblings, 1 reply; 5+ messages in thread
From: Luka Perkov @ 2012-07-14 18:47 UTC (permalink / raw)
To: u-boot
Hi kqt4at5v,
On Sat, Jul 14, 2012 at 04:51:13AM -0500, kqt4at5v at gmail.com wrote:
> 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.
This is not from official uboot.
Either your kernel that you are trying to boot is is not good or you did
not set serial output correctly.
Luka
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] uboot for zyxel nsa320
2012-07-14 18:47 ` Luka Perkov
@ 2012-07-14 18:53 ` kqt4at5v at gmail.com
0 siblings, 0 replies; 5+ messages in thread
From: kqt4at5v at gmail.com @ 2012-07-14 18:53 UTC (permalink / raw)
To: u-boot
On Sat, 14 Jul 2012, Luka Perkov wrote:
> Hi kqt4at5v,
>
> On Sat, Jul 14, 2012 at 04:51:13AM -0500, kqt4at5v at gmail.com wrote:
>> 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.
>
> This is not from official uboot.
>
> Either your kernel that you are trying to boot is is not good or you did
> not set serial output correctly.
>
These variables are from the version of uboot that comes installed on
the Zyxel NSA320. It works ok but any other version of uboot does not. I
would like to fix that but I do not know how to trouble shoot this.
Richard
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-07-14 18:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-13 17:43 [U-Boot] uboot for zyxel nsa320 kqt4at5v at gmail.com
2012-07-13 23:20 ` Luka Perkov
2012-07-14 9:51 ` kqt4at5v at gmail.com
2012-07-14 18:47 ` Luka Perkov
2012-07-14 18:53 ` kqt4at5v at gmail.com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox