|
|
 |
« Reply #15 on: November 10, 2009, 06:08:25 AM » |
|
Hi, can you explain the significance of the change, in laymans terms? If you are not seeing any specific problems, would you advise updating from 3.4.23 uboot that was posted last week to this 3.4.24 build Nov 10?
|
|
|
|
« Last Edit: November 10, 2009, 06:19:17 AM by mgillespie »
|
Logged
|
|
|
|
|
rooster
Administrator
Sr. Member
   
Karma: 8
Posts: 311
|
 |
« Reply #16 on: November 10, 2009, 06:23:39 AM » |
|
A bug was found in the 3.4.23 that in some cases caused the nandEcc environment to become NULL and a new environment variable "bit" was introduced.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
 |
« Reply #17 on: November 10, 2009, 06:29:00 AM » |
|
So this means??? if you picked up 3.4.23, this bit may become null, and what happens then?
Are you suggesting upgrading? if so, when does this new "bit" enviroment variable need to be set to?
Sorry for the dumb questions. What is the significance of the txt file in that post? Is it showing what the environment should be set to?
|
|
|
|
|
Logged
|
|
|
|
|
|
|
 |
« Reply #18 on: November 10, 2009, 10:48:59 AM » |
|
Rooster,
When you made the first update to v3.4.23, you ratcheted the version number to v3.4.24. The latest version you posted seems not to whack my environment but reports the same 3.4.24 version as the previous build.
My target seems like it now accepts all my commands, doesn't whack the environment, and even sees the new kernel. Everything seems correct up to the point where it refuses to boot after decompressing the kernel. Bummer. If I ever figure out why (I'm on the 2nd week of trying), I'll be sure to post.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
 |
« Reply #19 on: November 10, 2009, 12:35:32 PM » |
|
By the way, I just rebooted (via reset button) and then typed "printenv". The "console" environment variable is whacked again:
--------------------
__ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** MARVELL BOARD: SHEEVA PLUG LE
U-Boot 1.1.4 (Nov 10 2009 - 11:35:01) Marvell version: 3.4.24
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFB00
Soc: 88F6281 A0 (DDR2) CPU running @ 1200Mhz L2 running @ 400Mhz SysClock = 400Mhz , TClock = 200Mhz
DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 256MB DRAM CS[1] base 0x10000000 size 256MB DRAM Total size 512MB 16bit width Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:512 MB Flash: 0 kB
CPU : Marvell Feroceon (Rev 1)
Streaming disabled Write allocate disabled
USB 0: host mode PEX 0: interface detected no Link. Net: egiga0 [PRIME] Hit any key to stop autoboot: 0 Marvell>> printenv baudrate=115200 loads_echo=0 rootpath=/mnt/ARM_FS/ netmask=255.255.255.0 run_diag=yes console=a0000 e=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x100000(root) CASset=min MALLOC_len=1 ethprime=egiga0 bootargs_end=:::DB88FXX81:eth0:none image_name=uImage standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/m tdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x20 00000; ethaddr=00:50:43:c6:29:2a ethmtu=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 nandEcc=1bit netretry=no rcvrip=169.254.100.100 loadaddr=0x02000000 autoload=no ethact=egiga0 serverip=192.168.76.100 ipaddr=192.168.76.42 bootargs_root=root=/dev/mmcblk0p1 rw bootargs=console=ttyS0,115200 $(bootargs_root) bootcmd=mmcinit; nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000 stdin=serial stdout=serial stderr=serial nandEnvBase=a0000 mainlineLinux=no enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes disL2Prefetch=yes enaICPref=yes enaDCPref=yes sata_dma_mode=yes netbsd_en=no vxworks_en=no bootdelay=3 disaMvPnp=no enaAutoRecovery=yes pcieTune=no
Environment size: 1243/131068 bytes
|
|
|
|
|
Logged
|
|
|
|
|
|
|
 |
« Reply #20 on: November 10, 2009, 05:01:22 PM » |
|
One additional piece of information. I dropped back to the set of commands I was using with an older u-boot and the stock kernel. Those commands used to result in output from the kernel as it was coming up. The same commands now result in no kernel output at all. Either the rules have changed somewhat violently between kernel versions such that the same bootcmd is now unacceptable OR the whacking of the u-boot environment results in an angry kernel which can't even find a console to write its complaints to.
------
The old command sequence is:
Marvell>> printenv Marvell>> setenv bootargs 'console=ttyS0,115200 root=/dev/mmcblk0p1 rw' Marvell>> setenv bootargs_root 'root=/dev/mmcblk0p1 rw' Marvell>> setenv bootcmd 'mmcinit; nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000' Marvell>> printenv Marvell>> mmcinit Marvell>> boot
I'll post the entire trace if you're interested.
|
|
|
|
|
Logged
|
|
|
|
|
rooster
Administrator
Sr. Member
   
Karma: 8
Posts: 311
|
 |
« Reply #21 on: November 11, 2009, 09:39:20 PM » |
|
Hi mgillespie,
If you had no issues with the current uboot (3.4.19) you are using I suggest you stick with it since the 3.4.24 has not passed QA yet. The last uboot I uploaded had fixed the nandEcc issue that caused Linux not to run (at least this is what I experienced).
|
|
|
|
|
Logged
|
|
|
|
|
rooster
Administrator
Sr. Member
   
Karma: 8
Posts: 311
|
 |
« Reply #22 on: November 11, 2009, 09:53:41 PM » |
|
Hi samweber,
Please post your setting so I can re-construct the error you get, I just got a new uboot that might fix this console issue but want to validate that it fixes it before I post it.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
 |
« Reply #23 on: November 12, 2009, 07:16:08 AM » |
|
Here's the blow by blow. Let me know if you have questions. In summary:
0. printenv of corrupted environment. 1. bubt of latest u-boot image. 2. display of corrected environment. 3. Flashing of new kernel image. 4. Entry of setenv commands. 5. Attempt to boot. 6. Display of corrupted environment.
--------------------------
ü __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** MARVELL BOARD: SHEEVA PLUG LE
U-Boot 1.1.4 (Nov 10 2009 - 11:35:01) Marvell version: 3.4.24
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFB00
Soc: 88F6281 A0 (DDR2) CPU running @ 1200Mhz L2 running @ 400Mhz SysClock = 400Mhz , TClock = 200Mhz
DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 256MB DRAM CS[1] base 0x10000000 size 256MB DRAM Total size 512MB 16bit width Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:512 MB Flash: 0 kB
CPU : Marvell Feroceon (Rev 1)
Streaming disabled Write allocate disabled
USB 0: host mode PEX 0: interface detected no Link. Net: egiga0 [PRIME] Hit any key to stop autoboot: 0 Marvell>> printenv baudrate=115200 loads_echo=0 rootpath=/mnt/ARM_FS/ netmask=255.255.255.0 run_diag=yes console=a0000 e=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x100000(root) CASset=min MALLOC_len=1 ethprime=egiga0 bootargs_end=:::DB88FXX81:eth0:none image_name=uImage standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/m tdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x20 00000; ethaddr=00:50:43:c6:29:2a ethmtu=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 nandEcc=1bit netretry=no rcvrip=169.254.100.100 loadaddr=0x02000000 autoload=no ethact=egiga0 serverip=192.168.76.100 ipaddr=192.168.76.42 bootargs_root=root=/dev/mmcblk0p1 rw bootargs=console=ttyS0,115200 $(bootargs_root) bootcmd=mmcinit; nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000 stdin=serial stdout=serial stderr=serial nandEnvBase=a0000 mainlineLinux=no enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes disL2Prefetch=yes enaICPref=yes enaDCPref=yes sata_dma_mode=yes netbsd_en=no vxworks_en=no bootdelay=3 disaMvPnp=no enaAutoRecovery=yes pcieTune=no
Environment size: 1243/131068 bytes Marvell>> bubt uboot_030425.bin Using egiga0 device TFTP from server 192.168.76.100; our IP address is 192.168.76.42 Filename 'uboot_030425.bin'. Load address: 0x2000000 Loading: ################################################################# ############################ done Bytes transferred = 474592 (73de0 hex)
**Warning** If U-Boot Endiannes is going to change (LE->BE or BE->LE), Then Env parameters s hould be overriden.. Override Env parameters? (y/n) y Erase Env parameters sector 655360... Erase 0 - 655360 ... Copy to Nand Flash... done Marvell>> reset ü __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** MARVELL BOARD: SHEEVA PLUG LE
U-Boot 1.1.4 (Nov 10 2009 - 11:35:01) Marvell version: 3.4.24
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFB00
Soc: 88F6281 A0 (DDR2) CPU running @ 1200Mhz L2 running @ 400Mhz SysClock = 400Mhz , TClock = 200Mhz
DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 256MB DRAM CS[1] base 0x10000000 size 256MB DRAM Total size 512MB 16bit width Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:512 MB *** Warning - bad CRC or NAND, using default environment
Flash: 0 kB
CPU : Marvell Feroceon (Rev 1)
Streaming disabled Write allocate disabled
USB 0: host mode PEX 0: interface detected no Link. Net: egiga0 [PRIME] Hit any key to stop autoboot: 0 Marvell>> printenv baudrate=115200 loads_echo=0 ipaddr=10.4.50.165 serverip=10.4.50.5 rootpath=/mnt/ARM_FS/ netmask=255.255.255.0 run_diag=yes stdin=serial stdout=serial stderr=serial console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x1 00000(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 MALLOC_len=1 ethprime=egiga0 netbsd_en=no vxworks_en=no bootargs_root=root=/dev/nfs rw bootargs_end=:::DB88FXX81:eth0:none image_name=uImage bootcmd=tftpboot 0x2000000 $(image_name); setenv bootargs $(console) $(bootargs_ root) nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip)$(bootargs_end) $( mvNetConfig) $(mvPhoneConfig); bootm 0x2000000; standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/m tdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x20 00000; bootdelay=3 disaMvPnp=no ethaddr=00:50:43:7e:22:38 ethmtu=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 nandEcc=1bit netretry=no rcvrip=169.254.100.100 loadaddr=0x02000000 autoload=no enaAutoRecovery=yes pcieTune=no ethact=egiga0
Environment size: 1295/131068 bytes Marvell>> usb start (Re)start USB... USB: scanning bus for devices... 2 USB Device(s) found Waiting for storage device(s) to settle before scanning... 1 Storage Device(s) found Marvell>> fatload usb 0 0x00800000 uImage reading uImage ................................................................................ ................................................................................ ................................................................................ ...............
2620504 bytes read Marvell>> nand erase clean 0x00100000 0x00400000
NAND erase: device 0 offset 0x100000, size 0x400000 Erasing at 0x4e0000 -- 100% complete. Cleanmarker written at 0x4e0000. OK Marvell>> nand write.e 0x00800000 0x00100000 0x00400000
NAND write: device 0 offset 0x100000, size 0x400000
Writing data at 0x4ff800 -- 100% complete. 4194304 bytes written: OK Marvell>> reset ü __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** MARVELL BOARD: SHEEVA PLUG LE
U-Boot 1.1.4 (Nov 10 2009 - 11:35:01) Marvell version: 3.4.24
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFB00
Soc: 88F6281 A0 (DDR2) CPU running @ 1200Mhz L2 running @ 400Mhz SysClock = 400Mhz , TClock = 200Mhz
DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 256MB DRAM CS[1] base 0x10000000 size 256MB DRAM Total size 512MB 16bit width Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:512 MB *** Warning - bad CRC or NAND, using default environment
Flash: 0 kB
CPU : Marvell Feroceon (Rev 1)
Streaming disabled Write allocate disabled
USB 0: host mode PEX 0: interface detected no Link. Net: egiga0 [PRIME] Hit any key to stop autoboot: 0 Marvell>> printenv baudrate=115200 loads_echo=0 ipaddr=10.4.50.165 serverip=10.4.50.5 rootpath=/mnt/ARM_FS/ netmask=255.255.255.0 run_diag=yes stdin=serial stdout=serial stderr=serial console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x1 00000(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 MALLOC_len=1 ethprime=egiga0 netbsd_en=no vxworks_en=no bootargs_root=root=/dev/nfs rw bootargs_end=:::DB88FXX81:eth0:none image_name=uImage bootcmd=tftpboot 0x2000000 $(image_name); setenv bootargs $(console) $(bootargs_ root) nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip)$(bootargs_end) $( mvNetConfig) $(mvPhoneConfig); bootm 0x2000000; standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/m tdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x20 00000; bootdelay=3 disaMvPnp=no ethaddr=00:50:43:14:14:01 ethmtu=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 nandEcc=1bit netretry=no rcvrip=169.254.100.100 loadaddr=0x02000000 autoload=no enaAutoRecovery=yes pcieTune=no ethact=egiga0
Environment size: 1295/131068 bytes Marvell>> setenv serverip 192.168.76.100 Marvell>> setenv ipaddr 192.168.76.42 Marvell>> saveenv Saving Environment to NAND... Erasing Nand...Writing to Nand... done Marvell>> setenv bootargs_root 'root=/dev/mmcblk0p1 rw' Marvell>> setenv bootargs 'console=ttyS0,115200 $(bootargs_root)' Marvell>> setenv bootcmd 'mmcinit; nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000' Marvell>> saveenv Saving Environment to NAND... Erasing Nand...Writing to Nand... done Marvell>> mmcinit SD found. Card desciption is: Manufacturer: 0x03, OEM "SD" Product name: "SU02G", revision 8.0 Serial number: 553266355 Manufacturing date: 7/2008 CRC: 0x00, b0 = 0 Marvell>> boot SD found. Card desciption is: Manufacturer: 0x03, OEM "SD" Product name: "SU02G", revision 8.0 Serial number: 553266355 Manufacturing date: 7/2008 CRC: 0x00, b0 = 0
NAND read: device 0 offset 0x100000, size 0x400000
Reading data from 0x4ff800 -- 100% complete. 4194304 bytes read: OK ## Booting image at 00800000 ... Image Name: Linux-2.6.30.2 Created: 2009-07-23 1:53:36 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2620440 Bytes = 2.5 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK
Starting kernel ...
Uncompressing Linux............................................................. ................................................................................ ............................. done, booting the kernel. ü __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** MARVELL BOARD: SHEEVA PLUG LE
U-Boot 1.1.4 (Nov 10 2009 - 11:35:01) Marvell version: 3.4.24
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFB00
Soc: 88F6281 A0 (DDR2) CPU running @ 1200Mhz L2 running @ 400Mhz SysClock = 400Mhz , TClock = 200Mhz
DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 256MB DRAM CS[1] base 0x10000000 size 256MB DRAM Total size 512MB 16bit width Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:512 MB Flash: 0 kB
CPU : Marvell Feroceon (Rev 1)
Streaming disabled Write allocate disabled
USB 0: host mode PEX 0: interface detected no Link. Net: egiga0 [PRIME] Hit any key to stop autoboot: 0 Marvell>> printenv baudrate=115200 loads_echo=0 rootpath=/mnt/ARM_FS/ netmask=255.255.255.0 run_diag=yes console=a0000 e=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x100000(root) CASset=min MALLOC_len=1 ethprime=egiga0 bootargs_end=:::DB88FXX81:eth0:none image_name=uImage standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/m tdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x20 00000; ethaddr=00:50:43:14:14:01 ethmtu=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 nandEcc=1bit netretry=no rcvrip=169.254.100.100 loadaddr=0x02000000 autoload=no ethact=egiga0 serverip=192.168.76.100 ipaddr=192.168.76.42 bootargs_root=root=/dev/mmcblk0p1 rw bootargs=console=ttyS0,115200 $(bootargs_root) bootcmd=mmcinit; nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000 stdin=serial stdout=serial stderr=serial nandEnvBase=a0000 mainlineLinux=no enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes disL2Prefetch=yes enaICPref=yes enaDCPref=yes sata_dma_mode=yes netbsd_en=no vxworks_en=no bootdelay=3 disaMvPnp=no enaAutoRecovery=yes pcieTune=no
Environment size: 1243/131068 bytes Marvell>>
|
|
|
|
|
Logged
|
|
|
|
|
rooster
Administrator
Sr. Member
   
Karma: 8
Posts: 311
|
 |
« Reply #24 on: November 12, 2009, 01:21:21 PM » |
|
Hi samweber,
I got this latest uboot drop that should fix again the console issue but did not have the time to test it, can you give it a try and tell me if it helps?
|
uboot.bin (463.47 KB - downloaded 142 times.)
|
|
|
Logged
|
|
|
|
|
|
|
 |
« Reply #25 on: November 12, 2009, 04:25:51 PM » |
|
No joy.
Summary: 1. Bubt asked to override the environment, "console" still whacked. 2. Fixed by performing "resetenv", followed by "reset". 3. Environment looks fine from here out. 4. Linux refuses to display output or boot (two incantation recipes tried, including one that displayed output when used with a previous u-boot/kernel).
Environment whacking may have been conquered except that bubt should either reset the environment or its description should be revised.
------------------------
Marvell>> bubt uboot_111209.bin Using egiga0 device TFTP from server 192.168.76.100; our IP address is 192.168.76.42 Filename 'uboot_111209.bin'. Load address: 0x2000000 Loading: ################################################################# ############################ done Bytes transferred = 474592 (73de0 hex)
**Warning** If U-Boot Endiannes is going to change (LE->BE or BE->LE), Then Env parameters s hould be overriden.. Override Env parameters? (y/n) y Erase Env parameters sector 655360... Erase 0 - 655360 ... Copy to Nand Flash... done Marvell>> printenv baudrate=115200 loads_echo=0 rootpath=/mnt/ARM_FS/ netmask=255.255.255.0 run_diag=yes console=a0000 e=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x100000(root) CASset=min MALLOC_len=1 ethprime=egiga0 bootargs_end=:::DB88FXX81:eth0:none image_name=uImage standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/m tdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x20 00000; ethaddr=00:50:43:14:14:01 ethmtu=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 nandEcc=1bit netretry=no rcvrip=169.254.100.100 loadaddr=0x02000000 autoload=no ethact=egiga0 serverip=192.168.76.100 ipaddr=192.168.76.42 bootargs_root=root=/dev/mmcblk0p1 rw bootargs=console=ttyS0,115200 $(bootargs_root) bootcmd=mmcinit; nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000 stdin=serial stdout=serial stderr=serial nandEnvBase=a0000 mainlineLinux=no enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes disL2Prefetch=yes enaICPref=yes enaDCPref=yes sata_dma_mode=yes netbsd_en=no vxworks_en=no bootdelay=3 disaMvPnp=no enaAutoRecovery=yes pcieTune=no filesize=73de0 fileaddr=2000000
Environment size: 1275/131068 bytes Marvell>> resetenv Erase Env parameters offset 0xa0000... done Warning: Default Environment Variables will take effect Only after RESET
Marvell>> reset ü __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** MARVELL BOARD: SHEEVA PLUG LE
U-Boot 1.1.4 (Nov 11 2009 - 16:17:48) Marvell version: 3.4.25
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFB00
Soc: 88F6281 A0 (DDR2) CPU running @ 1200Mhz L2 running @ 400Mhz SysClock = 400Mhz , TClock = 200Mhz
DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 256MB DRAM CS[1] base 0x10000000 size 256MB DRAM Total size 512MB 16bit width Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:512 MB *** Warning - bad CRC or NAND, using default environment
Flash: 0 kB
CPU : Marvell Feroceon (Rev 1)
Streaming disabled Write allocate disabled
USB 0: host mode PEX 0: interface detected no Link. Net: egiga0 [PRIME] Hit any key to stop autoboot: 0 Marvell>> printenv baudrate=115200 loads_echo=0 ipaddr=10.4.50.165 serverip=10.4.50.5 rootpath=/mnt/ARM_FS/ netmask=255.255.255.0 run_diag=yes stdin=serial stdout=serial stderr=serial console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x1 00000(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 MALLOC_len=1 ethprime=egiga0 netbsd_en=no vxworks_en=no bootargs_root=root=/dev/nfs rw bootargs_end=:::DB88FXX81:eth0:none image_name=uImage bootcmd=tftpboot 0x2000000 $(image_name); setenv bootargs $(console) $(bootargs_ root) nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip)$(bootargs_end) $( mvNetConfig) $(mvPhoneConfig); bootm 0x2000000; standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/m tdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x20 00000; bootdelay=3 disaMvPnp=no ethaddr=00:50:43:20:02:10 ethmtu=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 nandEcc=1bit netretry=no rcvrip=169.254.100.100 loadaddr=0x02000000 autoload=no enaAutoRecovery=yes pcieTune=no ethact=egiga0
Environment size: 1295/131068 bytes Marvell>> usb start (Re)start USB... USB: scanning bus for devices... 2 USB Device(s) found Waiting for storage device(s) to settle before scanning... 1 Storage Device(s) found Marvell>> fatload usb 0 0x00800000 uImage reading uImage ................................................................................ ................................................................................ ................................................................................ ...............
2620504 bytes read Marvell>> nand erase clean 0x00100000 0x00400000
NAND erase: device 0 offset 0x100000, size 0x400000 Erasing at 0x4e0000 -- 100% complete. Cleanmarker written at 0x4e0000. OK Marvell>> nand write.e 0x00800000 0x00100000 0x00400000
NAND write: device 0 offset 0x100000, size 0x400000
Writing data at 0x4ff800 -- 100% complete. 4194304 bytes written: OK Marvell>> printenv baudrate=115200 loads_echo=0 ipaddr=10.4.50.165 serverip=10.4.50.5 rootpath=/mnt/ARM_FS/ netmask=255.255.255.0 run_diag=yes stdin=serial stdout=serial stderr=serial console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x1 00000(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 MALLOC_len=1 ethprime=egiga0 netbsd_en=no vxworks_en=no bootargs_root=root=/dev/nfs rw bootargs_end=:::DB88FXX81:eth0:none image_name=uImage bootcmd=tftpboot 0x2000000 $(image_name); setenv bootargs $(console) $(bootargs_ root) nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip)$(bootargs_end) $( mvNetConfig) $(mvPhoneConfig); bootm 0x2000000; standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/m tdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x20 00000; bootdelay=3 disaMvPnp=no ethaddr=00:50:43:20:02:10 ethmtu=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 nandEcc=1bit netretry=no rcvrip=169.254.100.100 loadaddr=0x02000000 autoload=no enaAutoRecovery=yes pcieTune=no ethact=egiga0 filesize=27FC58
Environment size: 1311/131068 bytes Marvell>> setenv serverip 192.168.76.100 Marvell>> setenv ipaddr 192.168.76.42 Marvell>> saveenv Saving Environment to NAND... Erasing Nand...Writing to Nand... done Marvell>> setenv bootargs_root 'root=/dev/mmcblk0p1 rw' Marvell>> setenv bootargs 'console=ttyS0,115200 $(bootargs_root)' Marvell>> setenv bootcmd 'mmcinit; nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000' Marvell>> saveenv Saving Environment to NAND... Erasing Nand...Writing to Nand... done Marvell>> mmcinit SD found. Card desciption is: Manufacturer: 0x03, OEM "SD" Product name: "SU02G", revision 8.0 Serial number: 553266355 Manufacturing date: 7/2008 CRC: 0x00, b0 = 0 Marvell>> boot SD found. Card desciption is: Manufacturer: 0x03, OEM "SD" Product name: "SU02G", revision 8.0 Serial number: 553266355 Manufacturing date: 7/2008 CRC: 0x00, b0 = 0
NAND read: device 0 offset 0x100000, size 0x400000
Reading data from 0x4ff800 -- 100% complete. 4194304 bytes read: OK ## Booting image at 00800000 ... Image Name: Linux-2.6.30.2 Created: 2009-07-23 1:53:36 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2620440 Bytes = 2.5 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK
Starting kernel ...
Uncompressing Linux............................................................. ................................................................................ ............................. done, booting the kernel. ü __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** MARVELL BOARD: SHEEVA PLUG LE
U-Boot 1.1.4 (Nov 11 2009 - 16:17:48) Marvell version: 3.4.25
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFB00
Soc: 88F6281 A0 (DDR2) CPU running @ 1200Mhz L2 running @ 400Mhz SysClock = 400Mhz , TClock = 200Mhz
DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 256MB DRAM CS[1] base 0x10000000 size 256MB DRAM Total size 512MB 16bit width Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:512 MB Flash: 0 kB
CPU : Marvell Feroceon (Rev 1)
Streaming disabled Write allocate disabled
USB 0: host mode PEX 0: interface detected no Link. Net: egiga0 [PRIME] Hit any key to stop autoboot: 0 Marvell>> printenv baudrate=115200 loads_echo=0 rootpath=/mnt/ARM_FS/ netmask=255.255.255.0 run_diag=yes console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x1 00000(root) CASset=min MALLOC_len=1 ethprime=egiga0 bootargs_end=:::DB88FXX81:eth0:none image_name=uImage standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/m tdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x20 00000; ethaddr=00:50:43:20:02:10 ethmtu=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 nandEcc=1bit netretry=no rcvrip=169.254.100.100 loadaddr=0x02000000 autoload=no ethact=egiga0 filesize=27FC58 serverip=192.168.76.100 ipaddr=192.168.76.42 bootargs_root=root=/dev/mmcblk0p1 rw bootargs=console=ttyS0,115200 $(bootargs_root) bootcmd=mmcinit; nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000 stdin=serial stdout=serial stderr=serial mainlineLinux=no enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes disL2Prefetch=yes enaICPref=yes enaDCPref=yes sata_dma_mode=yes netbsd_en=no vxworks_en=no bootdelay=3 disaMvPnp=no enaAutoRecovery=yes pcieTune=no
Environment size: 1241/131068 bytes Marvell>> setenv bootargs 'console=ttyS0,115200 root=/dev/mmcblk0p1 rw' Marvell>> setenv bootargs_root 'root=/dev/mmcblk0p1 rw' Marvell>> setenv bootcmd 'mmcinit; nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000' Marvell>> printenv baudrate=115200 loads_echo=0 rootpath=/mnt/ARM_FS/ netmask=255.255.255.0 run_diag=yes console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x1 00000(root) CASset=min MALLOC_len=1 ethprime=egiga0 bootargs_end=:::DB88FXX81:eth0:none image_name=uImage standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/m tdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x20 00000; ethaddr=00:50:43:20:02:10 ethmtu=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 nandEcc=1bit netretry=no rcvrip=169.254.100.100 loadaddr=0x02000000 autoload=no ethact=egiga0 filesize=27FC58 serverip=192.168.76.100 ipaddr=192.168.76.42 stdin=serial stdout=serial stderr=serial mainlineLinux=no enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes disL2Prefetch=yes enaICPref=yes enaDCPref=yes sata_dma_mode=yes netbsd_en=no vxworks_en=no bootdelay=3 disaMvPnp=no enaAutoRecovery=yes pcieTune=no bootargs=console=ttyS0,115200 root=/dev/mmcblk0p1 rw bootargs_root=root=/dev/mmcblk0p1 rw bootcmd=mmcinit; nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000
Environment size: 1247/131068 bytes Marvell>> mmcinit SD found. Card desciption is: Manufacturer: 0x03, OEM "SD" Product name: "SU02G", revision 8.0 Serial number: 553266355 Manufacturing date: 7/2008 CRC: 0x00, b0 = 0 Marvell>> boot SD found. Card desciption is: Manufacturer: 0x03, OEM "SD" Product name: "SU02G", revision 8.0 Serial number: 553266355 Manufacturing date: 7/2008 CRC: 0x00, b0 = 0
NAND read: device 0 offset 0x100000, size 0x400000
Reading data from 0x4ff800 -- 100% complete. 4194304 bytes read: OK ## Booting image at 00800000 ... Image Name: Linux-2.6.30.2 Created: 2009-07-23 1:53:36 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2620440 Bytes = 2.5 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK
Starting kernel ...
Uncompressing Linux............................................................. ................................................................................ ............................. done, booting the kernel.
|
|
|
|
|
Logged
|
|
|
|
|
rooster
Administrator
Sr. Member
   
Karma: 8
Posts: 311
|
 |
« Reply #26 on: November 12, 2009, 10:53:52 PM » |
|
OK, so now all environment setting of uboot look good  One comment, after you perform bubt, you need a reset to see the new env settings. I think you are missing the following settings: setenv mainlineLinux yes setenv arcNumber 2097 followed by a reset. This is needed since you are loading mainline Linux and not Marvell 2.6.22.18 LSP based uImage BTW, why not use the installer to set all uboot settings and burn the distro you want on the SD card?
|
|
|
|
|
Logged
|
|
|
|
|
|
|
 |
« Reply #27 on: November 13, 2009, 05:42:41 AM » |
|
>> BTW, why not use the installer to set all uboot settings and burn the distro you want on the SD card?
0. Well we wouldn't have found all these issues with u-boot that way, would we?
1. Installer? Do you mean the "runme <oh gee the document doesn't specify what to put here>" mess? The procedure is poorly documented and doesn't work from Windows for a lot of people including me. I decided it was a hack and ran from it. If there is an accurate, tested procedure that was written with discipline and works properly to get the SD card to support the RFS, please send me the link.
2. Certainly a secondary consideration at this point but running a complex script to configure the target gives me much less confidence in the outcome than being able to understand and lay in the pieces in an orderly, disciplined way.
|
|
|
|
|
Logged
|
|
|
|
|
rooster
Administrator
Sr. Member
   
Karma: 8
Posts: 311
|
 |
« Reply #28 on: November 13, 2009, 07:04:30 AM » |
|
0. Well we wouldn't have found all these issues with u-boot that way, would we? Well, I use it all the time and reproduced your first reported bug with it, most users use SDHC and did not encounter this bug. Regarding Win32 host, it is indeed a Pain In The Ass to make it work in some cases and I would suggest using linux Distros. If you wanna give it a try I would be happy to help. You can also do it differently, use the installer scripts/initrd as reference and manually do it. Did the mainlineLinux/arcNumber help?
|
|
|
|
|
Logged
|
|
|
|
|
|
|
 |
« Reply #29 on: November 13, 2009, 11:09:05 AM » |
|
No.
-----------
Marvell>> printenv baudrate=115200 loads_echo=0 rootpath=/mnt/ARM_FS/ netmask=255.255.255.0 run_diag=yes console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x1 00000(root) CASset=min MALLOC_len=1 ethprime=egiga0 bootargs_end=:::DB88FXX81:eth0:none image_name=uImage standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/m tdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x20 00000; ethaddr=00:50:43:20:02:10 ethmtu=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 nandEcc=1bit netretry=no rcvrip=169.254.100.100 loadaddr=0x02000000 autoload=no ethact=egiga0 filesize=27FC58 serverip=192.168.76.100 ipaddr=192.168.76.42 bootargs_root=root=/dev/mmcblk0p1 rw bootargs=console=ttyS0,115200 $(bootargs_root) bootcmd=mmcinit; nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000 stdin=serial stdout=serial stderr=serial mainlineLinux=no enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes disL2Prefetch=yes enaICPref=yes enaDCPref=yes sata_dma_mode=yes netbsd_en=no vxworks_en=no bootdelay=3 disaMvPnp=no enaAutoRecovery=yes pcieTune=no
Environment size: 1241/131068 bytes Marvell>> setenv mainlineLinux yes Marvell>> setenv arcNumber 2097 Marvell>> saveenv Saving Environment to NAND... Erasing Nand...Writing to Nand... done Marvell>> boot SD found. Card desciption is: Manufacturer: 0x03, OEM "SD" Product name: "SU02G", revision 8.0 Serial number: 553266355 Manufacturing date: 7/2008 CRC: 0x00, b0 = 0
NAND read: device 0 offset 0x100000, size 0x400000
Reading data from 0x4ff800 -- 100% complete. 4194304 bytes read: OK ## Booting image at 00800000 ... Image Name: Linux-2.6.30.2 Created: 2009-07-23 1:53:36 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2620440 Bytes = 2.5 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK
Starting kernel ...
Uncompressing Linux............................................................. ................................................................................ ............................. done, booting the kernel.
|
|
|
|
|
Logged
|
|
|
|
|
|