From: Joel V. <vj...@pa...> - 2006-04-07 21:19:16
|
Alexandre Pereira Nunes wrote: > Joel VanderWerf escreveu: > >> I built the rootfs.arm_nofpu.jffs2 from svn and flashed it to an xm400, >> but got a kernel panic and other errors on booting. I then followed the >> same procedure with a stock root_fs_arm.r773 from the sourceforge site, >> and it booted fine. The full output is below. What did I do wrong? >> >> [cut] >> Kernel command line: console=ttyS0,115200n8 root=1f02 rootfstype=jffs2 >> >> > > Here is the problem, interrupt the boot process on u-boot and them type: > > setenv bootargs console=ttyS0,115200n8 root=1f01rootfstype=jffs2 > saveenv > > or, in other words, replace 1f02 by 1f01, it's required since kernel > 2.6.14 i think. Ok, that is almost perfect. I used this for my bootargs: --- setenv bootargs console=ttyS0,115200n8 root=1f01 rootfstype=jffs2 reboot=cold,hard saveenv --- However, there are still messages about "unknown node type" when booting (see below). Is that a problem? Also there is a long delay while looking for bluetooth (which is not present in the hw): --- Starting Bluetooth subsystem:Trying baud rate 57600... Set (GPIO,out,clear) via /proc/gpio/GPIO7 Set (GPIO,out,set) via /proc/gpio/GPIO7 No response after reset No response from BT module Trying baud rate 115200... Set (GPIO,out,clear) via /proc/gpio/GPIO7 Set (GPIO,out,set) via /proc/gpio/GPIO7 No response after reset No response from BT module Trying baud rate 921600... Set (GPIO,out,clear) via /proc/gpio/GPIO7 Set (GPIO,out,set) via /proc/gpio/GPIO7 No response after resetNo response from BT module Can't initialize device: Success --- However, after the delay, everything seems fine: I can build executables in the cross compiling environment and copy them over and run them I will try to remove bluetooth from the buildroot and see if that helps. U-Boot 1.1.2 (Dec 30 2005 - 12:16:38) *** Welcome to Gumstix *** U-Boot code: A3F00000 -> A3F238B4 BSS: -> A3F58958 RAM Configuration: Bank #0: a0000000 64 MB Flash: 16 MB SMC91C1111-0 Hit any key to stop autoboot: 0 ### JFFS2 loading 'boot/uImage' to 0xa2000000 Scanning JFFS2 FS: Unknown node type: 2005 len 24 offset 0x0 . Unknown node type: 2005 len 24 offset 0x20000 | Unknown node type: 2005 len 24 offset 0x40000 Unknown node type: 2005 len 24 offset 0x60000 / Unknown node type: 2005 len 24 offset 0x80000 It goes on like that for 125 lines (which is more lines then before, when the boot failed). -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407 |