Hi all,
Currently I have a problem with busybox.
When I use pre-built busybox from http://www.linux-arm.org/LinuxKernel/LinuxM3 and initramfs-list-min from here, Kernel can go into init ok.
Linux version 2.6.33-arm1linh-00273-g252f9ce-dirty (linh@linh.fsoft) (gcc version 4.5.2 (Sourcery G++ Lite 2011.03-46) ) #11 Tue Apr 24 16:57:20 ICT 2012CPU: ARMv7-M Processor [410fc241] revision 1 (ARMv7M)CPU: WRITE-BACK data cache, WRITE-THROUGH instruction cacheMachine: Freescale KinetisBuilt 1 zonelists in Zone order, mobility grouping on. Total pages: 32512Kernel command line: kinetis_platform=twr-k70f120m console=ttyS2,115200 panic=3 noinitrd ip=10.207.215.221:10.207.215.87:10.207.215.1:255.255.255.0:twr-k70f120m:eth0:off ethaddr=C0:B1:3C:77:88:ACPID hash table entries: 512 (order: -1, 2048 bytes)Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)Memory: 128MB = 128MB totalMemory: 128348k/128348k available, 2724k reserved, 0K highmemVirtual kernel memory layout: vector : 0x00000000 - 0x00001000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) vmalloc : 0x00000000 - 0xffffffff (4095 MB) lowmem : 0x70000000 - 0x78000000 ( 128 MB) modules : 0x70000000 - 0x01000000 (2320 MB) .init : 0x08008000 - 0x0802f000 ( 156 kB) .text : 0x0802f000 - 0x08177000 (1312 kB) .data : 0x08178000 - 0x08188ee0 ( 68 kB)Hierarchical RCU implementation...................ftl_cs: FTL header not found.FSL NFC MTD nand Driver 1.0NAND device: Manufacturer ID: 0x2c, Chip ID: 0xca (Micron NAND 256MiB 3,3V 16-bit)Creating 3 MTD partitions on "NAND":0x000000000000-0x000000100000 : "flash_uboot_env"mtd: Giving out device 1 to flash_uboot_envftl_cs: FTL header not found.0x000000100000-0x000002000000 : "flash_linux_image"mtd: Giving out device 2 to flash_linux_imageftl_cs: FTL header not found.0x000002000000-0x000010000000 : "flash_jffs2"mtd: Giving out device 3 to flash_jffs2ftl_cs: FTL header not found.FEC Ethernet Driverfec: PHY @ 0x0, ID 0x00221513 -- KSZ8041NLTCP cubic registeredNET: Registered protocol family 17ARMv7-M VFP Extension supportedeth0: config: auto-negotiation on, 100FDX, 100HDX, 10FDX, 10HDX.IP-Config: Complete: device=eth0, addr=10.207.215.221, mask=255.255.255.0, gw=10.207.215.1, host=twr-k70f120m, domain=, nis-domain=(none), bootserver=10.207.215.87, rootserver=10.207.215.87, rootpath=Freeing init memory: 156K/ # lsbin dev etc proc root usr/ # lsbin dev etc proc root usr/ # ls dev/console mtd0 mtdblock0 null/ # cd dev//dev # lsconsole mtd0 mtdblock0 null
But when I download a busybox version from homepage then cross compile using uclinux, after "Freeing init memory: ...." the Kernel stuck here forever.
Linux version 2.6.33-arm1linh-00309-g701bbbd (linh@linh.fsoft) (gcc version 4.5.2 (Sourcery G++ Lite 2011.03-46) ) #5 Wed Apr 25 13:47:08 ICT 2012CPU: ARMv7-M Processor [410fc241] revision 1 (ARMv7M)CPU: WRITE-BACK data cache, WRITE-THROUGH instruction cacheMachine: Freescale KinetisBuilt 1 zonelists in Zone order, mobility grouping on. Total pages: 32512Kernel command line: kinetis_platform=twr-k70f120m console=ttyS2,115200 panic=3 noinitrd ip=10.207.215.221:10.207.215.87:10.207.215.1:255.255.255.0:twr-k70f120m:eth0:off ethaddr=C0:B1:3C:77:88:ACPID hash table entries: 512 (order: -1, 2048 bytes)Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)Memory: 128MB = 128MB totalMemory: 128336k/128336k available, 2736k reserved, 0K highmemVirtual kernel memory layout: vector : 0x00000000 - 0x00001000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) vmalloc : 0x00000000 - 0xffffffff (4095 MB) lowmem : 0x70000000 - 0x78000000 ( 128 MB) modules : 0x70000000 - 0x01000000 (2320 MB) .init : 0x08008000 - 0x0806f000 ( 412 kB) .text : 0x0806f000 - 0x0817c000 (1076 kB) .data : 0x0817c000 - 0x0818c5a0 ( 66 kB)Hierarchical RCU implementation...................FSL NFC MTD nand Driver 1.0NAND device: Manufacturer ID: 0x2c, Chip ID: 0xca (Micron NAND 256MiB 3,3V 16-bit)Creating 3 MTD partitions on "NAND":0x000000000000-0x000000100000 : "flash_uboot_env"mtd: Giving out device 0 to flash_uboot_envftl_cs: FTL header not found.0x000000100000-0x000002000000 : "flash_linux_image"mtd: Giving out device 1 to flash_linux_imageftl_cs: FTL header not found.0x000002000000-0x000010000000 : "flash_jffs2"mtd: Giving out device 2 to flash_jffs2ftl_cs: FTL header not found.FEC Ethernet Driverfec: PHY @ 0x0, ID 0x00221513 -- KSZ8041NLTCP cubic registeredNET: Registered protocol family 17ARMv7-M VFP Extension supportedeth0: config: auto-negotiation on, 100FDX, 100HDX, 10FDX, 10HDX.IP-Config: Complete: device=eth0, addr=10.207.215.221, mask=255.255.255.0, gw=10.207.215.1, host=twr-k70f120m, domain=, nis-domain=(none), bootserver=10.207.215.87, rootserver=10.207.215.87, rootpath=Freeing init memory: 412Kasdfasdfasd^C^C^C^C^C^C
Do you have any ideas about this problem?