Hello, I am porting linux 2.6.21-uc0 on an ARM946ES based system, thanks to the proc-arm946.S I had on this maling list, but after managing to boot the kernel I have some problems with flat binaries and initramfs init !
Here is the boot log : [ 0.000000] Linux version 2.6.21-uc0 ([EMAIL PROTECTED]) (gcc version 4.2.0 20070413 (prerelease) (CodeSourcery Sourcery G++ Lite 2007q1-10)) #18 PREEMPT Wed Jul 25 11:37:28 CEST 2007 [ 0.000000] CPU: ARM946E [41059461] revision 1 (ARMv5TE), cr=0000107d [ 0.000000] Machine: Neotion NP4 [ 0.000000] On node 0 totalpages: 1024 [ 0.000000] DMA zone: 8 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 1016 pages, LIFO batch:0 [ 0.000000] Normal zone: 0 pages used for memmap [ 0.000000] CPU0: D VIVT write-back cache [ 0.000000] CPU0: I cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets [ 0.000000] CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets [ 0.000000] Built 1 zonelists. Total pages: 1016 [ 0.000000] Kernel command line: kgdbwait debug initcall_debug [ 0.000000] NP4 IRQ Init: 32 [ 0.000000] PID hash table entries: 16 (order: 4, 64 bytes) [ 0.000000] NP4 Timer 0 Init. : Freq 108000000 Prescaler 256 Period 422 HZ 1000 [ 0.000000] Registering basic NP4 UART Console [ 0.000000] NP4 UART Console Setup [ 0.001000] Console: colour dummy device 80x30 [ 0.003000] Dentry cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.004000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.006000] Memory: 4MB = 4MB total [ 0.009000] Memory: 3244KB available (676K code, 75K data, 52K init) [ 0.010000] Calibrating delay loop... 52.35 BogoMIPS (lpj=26176) [ 0.029000] Mount-cache hash table entries: 512 [ 0.033000] Calling initcall 0x80003d10: ptrace_break_init+0x0/0x30() ... [ 0.148000] Calling initcall 0x80008edc: seqgen_init+0x0/0x1c() [ 0.151000] Freeing init memory: 52K [ 0.152000] Warning: unable to open an initial console. [ 0.154000] Unable to allocate RAM for process text/data, errno 12 [ 0.155000] Failed to execute /init [ 0.156000] Kernel panic - not syncing: No init found. Try passing init= option to kernel. I built a simple init binary using the codesourcery uclinuxeabi toolchain, everything seems correct ! Thanks Neil
signature.asc
Description: OpenPGP digital signature
_______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev