From: ptkdb <and...@ya...> - 2008-04-02 19:46:11
|
With the open embedded build on a verdex XL6P board(128M RAM 32M Flash) with a netmicroSD-vx extension and console board our kernel seems to hang on boot. It gets to the point of where 'init' should start and it stops. We have set init=/bin/sh and still, nothing happens. We've set init=/bin/shXXX (known to be bogus) and we get: Failed to execute /bin/shXXX. Attempting defaults... Which suggests that it's at least TRYING to read the root and not finding the init, but when we specify a REAL file it won't launch it. We've tried the prebuilt uImage-2.6.21-r1-gumstix-custom-verdex.bin with the Angstrom-gumstix-basic-image-glibc-ipk-2007.9-test-20080329-gumstix-custom-verdex.rootfs.jffs2 file system and we've booted successfully, but it takes long enough for the system to transition from 'Remounting root file system...' to it's next step that we did wonder if it wasn't hanigning there. The big difference that I'm aware of in our configuration gumstix-custom-verdex.conf versus that of the prebuilt image(assumption) is that we're trying to make use of the 'MACHINE_FEATURES += "mmcroot"' root feature. To boot from a SD/MCC card. Note, we've been able to read/write to this card when the pre-built image was in use. However, we just rebuilt the kernel image, disabling mmcroot and we still get the same result, trying to boot from the internal flash. ## ## Output from the Serial Console using open embedded built image: ## Starting kernel ... Linux version 2.6.21 (apage@zazulak) (gcc version 4.1.2) #1 Wed Apr 2 13:52:24 EDT 2008 CPU: XScale-PXA270 [69054117] revision 7 (ARMv5TE), cr=0000397f Machine: The Gumstix Platform Memory policy: ECC disabled, Data cache writeback Run Mode clock: 208.00MHz (*16) Turbo Mode clock: 624.00MHz (*3.0, active) Memory clock: 104.00MHz (/2) System bus clock: 104.00MHz CPU0: D VIVT undefined 5 cache CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets Built 1 zonelists. Total pages: 32512 Kernel command line: console=ttyS0,115200n8 rootdelay=1 root=/dev/mmcblk0p2 rw reboot=cold,hard init=/bin/shXX PID hash table entries: 512 (order: 9, 2048 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 128MB = 128MB total Memory: 127744KB available (1736K code, 195K data, 144K init) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok NET: Registered protocol family 16 NET: Registered protocol family 2 Time: pxa_timer clocksource has been installed. IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered io scheduler noop registered io scheduler cfq registered (default) Console: switching to colour frame buffer device 80x24 pxa2xx-uart.0: ttyS0 at MMIO 0x40100000 (irq = 22) is a FFUART pxa2xx-uart.1: ttyS1 at MMIO 0x40200000 (irq = 21) is a BTUART pxa2xx-uart.2: ttyS2 at MMIO 0x40700000 (irq = 20) is a STUART Probing Gumstix Flash ROM at physical address 0x00000000 (16-bit bankwidth) Gumstix Flash ROM: Found 1 x16 devices at 0x0 in 16-bit bank Intel/Sharp Extended Query Table at 0x010A Intel/Sharp Extended Query Table at 0x010A Intel/Sharp Extended Query Table at 0x010A Intel/Sharp Extended Query Table at 0x010A Intel/Sharp Extended Query Table at 0x010A Using buffer write method cfi_cmdset_0001: Erase suspend on write enabled Using static partitions on Gumstix Flash ROM Creating 3 MTD partitions on "Gumstix Flash ROM": 0x00000000-0x00040000 : "Bootloader" 0x00040000-0x01f00000 : "RootFS" 0x01f00000-0x02000000 : "Kernel" TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 XScale iWMMXt coprocessor detected. Waiting 1sec before mounting root device... mmcblk0: mmc0:c903 SU02G 1985024KiB mmcblk0: p1 p2 VFS: Mounted root (ext2 filesystem). Freeing init memory: 144K ^^^^^^^^^^^^^^^^^^^^ No further output -- View this message in context: http://www.nabble.com/OpenEmbedded-mmcroot-build-hangs-on-Verdex-XL6P-tp16450015p16450015.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: Hal G. <hg...@2g...> - 2008-04-02 19:52:58
|
fwiw, i've been having the same problem with my kernel images. I swear one I built last week worked, but for now i've be using the pre-built one from the gumstix site with my the rootFS i made from OE. Mine hangs in the same spot, and i'm running a XL6P netmicroSD with console LCD also. ptkdb wrote: > > With the open embedded build on a verdex XL6P board(128M RAM 32M > Flash) with a netmicroSD-vx extension and console board our kernel > seems to hang on boot. It gets to the point of where 'init' should > start and it stops. We have set init=/bin/sh and still, nothing > happens. We've set init=/bin/shXXX (known to be bogus) and we get: > > Failed to execute /bin/shXXX. Attempting defaults... > > Which suggests that it's at least TRYING to read the root and not finding > the init, but when we specify a REAL file it won't launch it. > > > We've tried the prebuilt uImage-2.6.21-r1-gumstix-custom-verdex.bin with > the > Angstrom-gumstix-basic-image-glibc-ipk-2007.9-test-20080329-gumstix-custom-verdex.rootfs.jffs2 > > file system and we've booted successfully, but it takes long enough for the > system to transition from > > 'Remounting root file system...' > > to it's next step that we did wonder if it wasn't hanigning there. > > The big difference that I'm aware of in our configuration > gumstix-custom-verdex.conf versus that of the prebuilt > image(assumption) is that we're trying to make use of the > 'MACHINE_FEATURES += "mmcroot"' root feature. To boot from a > SD/MCC card. Note, we've been able to read/write to this card when > the pre-built image was in use. > However, we just rebuilt the kernel image, disabling mmcroot and we > still get the same result, trying to boot from the internal flash. > > > > > > > > > ## > ## Output from the Serial Console using open embedded built image: > ## > > Starting kernel ... > > Linux version 2.6.21 (apage@zazulak) (gcc version 4.1.2) #1 Wed Apr 2 > 13:52:24 EDT 2008 > CPU: XScale-PXA270 [69054117] revision 7 (ARMv5TE), cr=0000397f > Machine: The Gumstix Platform > Memory policy: ECC disabled, Data cache writeback > Run Mode clock: 208.00MHz (*16) > Turbo Mode clock: 624.00MHz (*3.0, active) > Memory clock: 104.00MHz (/2) > System bus clock: 104.00MHz > CPU0: D VIVT undefined 5 cache > CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets > CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets > Built 1 zonelists. Total pages: 32512 > Kernel command line: console=ttyS0,115200n8 rootdelay=1 root=/dev/mmcblk0p2 > rw reboot=cold,hard init=/bin/shXX > PID hash table entries: 512 (order: 9, 2048 bytes) > Console: colour dummy device 80x30 > Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) > Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) > Memory: 128MB = 128MB total > Memory: 127744KB available (1736K code, 195K data, 144K init) > Mount-cache hash table entries: 512 > CPU: Testing write buffer coherency: ok > NET: Registered protocol family 16 > NET: Registered protocol family 2 > Time: pxa_timer clocksource has been installed. > IP route cache hash table entries: 1024 (order: 0, 4096 bytes) > TCP established hash table entries: 4096 (order: 3, 32768 bytes) > TCP bind hash table entries: 4096 (order: 2, 16384 bytes) > TCP: Hash tables configured (established 4096 bind 4096) > TCP reno registered > io scheduler noop registered > io scheduler cfq registered (default) > Console: switching to colour frame buffer device 80x24 > pxa2xx-uart.0: ttyS0 at MMIO 0x40100000 (irq = 22) is a FFUART > pxa2xx-uart.1: ttyS1 at MMIO 0x40200000 (irq = 21) is a BTUART > pxa2xx-uart.2: ttyS2 at MMIO 0x40700000 (irq = 20) is a STUART > Probing Gumstix Flash ROM at physical address 0x00000000 (16-bit bankwidth) > Gumstix Flash ROM: Found 1 x16 devices at 0x0 in 16-bit bank > Intel/Sharp Extended Query Table at 0x010A > Intel/Sharp Extended Query Table at 0x010A > Intel/Sharp Extended Query Table at 0x010A > Intel/Sharp Extended Query Table at 0x010A > Intel/Sharp Extended Query Table at 0x010A > Using buffer write method > cfi_cmdset_0001: Erase suspend on write enabled > Using static partitions on Gumstix Flash ROM > Creating 3 MTD partitions on "Gumstix Flash ROM": > 0x00000000-0x00040000 : "Bootloader" > 0x00040000-0x01f00000 : "RootFS" > 0x01f00000-0x02000000 : "Kernel" > TCP cubic registered > NET: Registered protocol family 1 > NET: Registered protocol family 17 > XScale iWMMXt coprocessor detected. > Waiting 1sec before mounting root device... > mmcblk0: mmc0:c903 SU02G 1985024KiB > mmcblk0: p1 p2 > VFS: Mounted root (ext2 filesystem). > Freeing init memory: 144K > ^^^^^^^^^^^^^^^^^^^^ > No further output > > > |
From: Hal G. <hg...@2g...> - 2008-04-03 03:05:29
|
well, my problem was that i was using OE with /bin/sh -> dash instead of bash. once i changed that, cleaned the kernel and remade the image all was fine with my kernel ptkdb wrote: > > With the open embedded build on a verdex XL6P board(128M RAM 32M > Flash) with a netmicroSD-vx extension and console board our kernel > seems to hang on boot. It gets to the point of where 'init' should > start and it stops. We have set init=/bin/sh and still, nothing > happens. We've set init=/bin/shXXX (known to be bogus) and we get: > > Failed to execute /bin/shXXX. Attempting defaults... > > Which suggests that it's at least TRYING to read the root and not finding > the init, but when we specify a REAL file it won't launch it. > > > We've tried the prebuilt uImage-2.6.21-r1-gumstix-custom-verdex.bin with > the > Angstrom-gumstix-basic-image-glibc-ipk-2007.9-test-20080329-gumstix-custom-verdex.rootfs.jffs2 > > file system and we've booted successfully, but it takes long enough for the > system to transition from > > 'Remounting root file system...' > > to it's next step that we did wonder if it wasn't hanigning there. > > The big difference that I'm aware of in our configuration > gumstix-custom-verdex.conf versus that of the prebuilt > image(assumption) is that we're trying to make use of the > 'MACHINE_FEATURES += "mmcroot"' root feature. To boot from a > SD/MCC card. Note, we've been able to read/write to this card when > the pre-built image was in use. > However, we just rebuilt the kernel image, disabling mmcroot and we > still get the same result, trying to boot from the internal flash. > > > > > > > > > ## > ## Output from the Serial Console using open embedded built image: > ## > > Starting kernel ... > > Linux version 2.6.21 (apage@zazulak) (gcc version 4.1.2) #1 Wed Apr 2 > 13:52:24 EDT 2008 > CPU: XScale-PXA270 [69054117] revision 7 (ARMv5TE), cr=0000397f > Machine: The Gumstix Platform > Memory policy: ECC disabled, Data cache writeback > Run Mode clock: 208.00MHz (*16) > Turbo Mode clock: 624.00MHz (*3.0, active) > Memory clock: 104.00MHz (/2) > System bus clock: 104.00MHz > CPU0: D VIVT undefined 5 cache > CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets > CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets > Built 1 zonelists. Total pages: 32512 > Kernel command line: console=ttyS0,115200n8 rootdelay=1 root=/dev/mmcblk0p2 > rw reboot=cold,hard init=/bin/shXX > PID hash table entries: 512 (order: 9, 2048 bytes) > Console: colour dummy device 80x30 > Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) > Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) > Memory: 128MB = 128MB total > Memory: 127744KB available (1736K code, 195K data, 144K init) > Mount-cache hash table entries: 512 > CPU: Testing write buffer coherency: ok > NET: Registered protocol family 16 > NET: Registered protocol family 2 > Time: pxa_timer clocksource has been installed. > IP route cache hash table entries: 1024 (order: 0, 4096 bytes) > TCP established hash table entries: 4096 (order: 3, 32768 bytes) > TCP bind hash table entries: 4096 (order: 2, 16384 bytes) > TCP: Hash tables configured (established 4096 bind 4096) > TCP reno registered > io scheduler noop registered > io scheduler cfq registered (default) > Console: switching to colour frame buffer device 80x24 > pxa2xx-uart.0: ttyS0 at MMIO 0x40100000 (irq = 22) is a FFUART > pxa2xx-uart.1: ttyS1 at MMIO 0x40200000 (irq = 21) is a BTUART > pxa2xx-uart.2: ttyS2 at MMIO 0x40700000 (irq = 20) is a STUART > Probing Gumstix Flash ROM at physical address 0x00000000 (16-bit bankwidth) > Gumstix Flash ROM: Found 1 x16 devices at 0x0 in 16-bit bank > Intel/Sharp Extended Query Table at 0x010A > Intel/Sharp Extended Query Table at 0x010A > Intel/Sharp Extended Query Table at 0x010A > Intel/Sharp Extended Query Table at 0x010A > Intel/Sharp Extended Query Table at 0x010A > Using buffer write method > cfi_cmdset_0001: Erase suspend on write enabled > Using static partitions on Gumstix Flash ROM > Creating 3 MTD partitions on "Gumstix Flash ROM": > 0x00000000-0x00040000 : "Bootloader" > 0x00040000-0x01f00000 : "RootFS" > 0x01f00000-0x02000000 : "Kernel" > TCP cubic registered > NET: Registered protocol family 1 > NET: Registered protocol family 17 > XScale iWMMXt coprocessor detected. > Waiting 1sec before mounting root device... > mmcblk0: mmc0:c903 SU02G 1985024KiB > mmcblk0: p1 p2 > VFS: Mounted root (ext2 filesystem). > Freeing init memory: 144K > ^^^^^^^^^^^^^^^^^^^^ > No further output > > > |