Re: [OpenWrt-Devel] Stop at Please be patient, while OpenWrt loads
Hi Xiangfu, Le Monday 27 July 2009 05:12:26 Xiangfu Liu, vous avez écrit : Hi there I work on a jz4740 cpu device. there[1] is all the code. your can find the kernel patch at [2] the .24 kernel is work, but the .28 boot to Please be patient, while OpenWrt loads then stop. I put rootfs in mmcblk0p1 with ext2. I use tar jxvf openwrt-xburst-rootfs.tgz[3] /media/MMCBLK0P1 to cp the rootfs to sd card. is there something wrong with rootfs? Not with the rootfs directly but with the toolchain that compiled it. We recently disabled the kernel FPU emulator, so the toolchain must be recompiled (make distclean) to compile applications with software-floating point enabled. Relevant changeset about this is : 16604 thanks for help. [1] http://github.com/lindnermarek/openwrt-x-burst/commits/x-burst [2] http://github.com/lindnermarek/openwrt-x-burst/tree/76e7e9d1590d2f1a742c5dc 96420e22bc4e5d234/target/linux/xburst [3] http://www.openmobilefree.net/other/file/Ben_NanoNote/openwrt-xburst-rootfs .tgz -- Best regards, Florian Fainelli Email: flor...@openwrt.org Web: http://openwrt.org IRC: [florian] on irc.freenode.net --- signature.asc Description: This is a digitally signed message part. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Stop at Please be patient, while OpenWrt loads
Please be patient, while OpenWrt loads ... is the last message shown by the kernel. That indicates, the userspace isn't working / entered at this state, but mounted successfully. Mostly that is one of the following cases: - wrong binary format - /etc/preinit isn't executed by default (the bootloader _must not_ override the init= argument to the kernel) mirko (the other one) On Mon, 2009-07-27 at 11:12 +0800, Xiangfu Liu wrote: Hi there I work on a jz4740 cpu device. there[1] is all the code. your can find the kernel patch at [2] the .24 kernel is work, but the .28 boot to Please be patient, while OpenWrt loads then stop. I put rootfs in mmcblk0p1 with ext2. I use tar jxvf openwrt-xburst-rootfs.tgz[3] /media/MMCBLK0P1 to cp the rootfs to sd card. is there something wrong with rootfs? thanks for help. [1] http://github.com/lindnermarek/openwrt-x-burst/commits/x-burst [2] http://github.com/lindnermarek/openwrt-x-burst/tree/76e7e9d1590d2f1a742c5dc96420e22bc4e5d234/target/linux/xburst [3] http://www.openmobilefree.net/other/file/Ben_NanoNote/openwrt-xburst-rootfs.tgz plain text document attachment (error.message.txt) NAND Secondary Program Loader U-Boot 2009.06-dirty (Jul 26 2009 - 16:40:30) Board: Qi LB60 (Ingenic XBurst Jz4740 SoC, Speed 252 MHz) DRAM: 32 MB NAND: 2048 MiB Linux version 2.6.28.10-ge8db213 (xian...@openmobilefree.net) (gcc version 4.1.9 CPU revision is: 0ad0024f (Ingenic JZRISC) CPU clock: 252MHz, System clock: 84MHz, Peripheral clock: 84MHz, Memory clock: z Qi Hardware JZ4740 QI_LB60 setup Determined physical RAM map: memory: 0400 @ (usable) User-defined physical RAM map: memory: 0200 @ (usable) Zone PFN ranges: Normal 0x - 0x2000 Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0x - 0x2000 Built 1 zonelists in Zone order, mobility grouping off. Total pages: 8128 Kernel command line: mem=32M console=ttyS0,57600n8 rootfstype=ext2 root=/dev/mm2 Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes. Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes PID hash table entries: 128 (order: 7, 512 bytes) [ cut here ] WARNING: at kernel/time/clockevents.c:175 () Modules linked in: Call Trace:[80024890] 0x80024890 [80024890] 0x80024890 [80041188] 0x80041188 [803df198] 0x803df198 [80041810] 0x80041810 [803debd8] 0x803debd8 [803f2e14] 0x803f2e14 [803f12c8] 0x803f12c8 [803ded54] 0x803ded54 [80067640] 0x80067640 [80069f28] 0x80069f28 [80068764] 0x80068764 [803d95d8] 0x803d95d8 [803d5938] 0x803d5938 [803d50d8] 0x803d50d8 ---[ end trace 4eaa2a86a8e2da22 ]---
Re: [OpenWrt-Devel] Stop at Please be patient, while OpenWrt loads
Hi Florian, Mirko Florian Fainelli wrote: I run make distclean the configure the Target System to (XBurst JZ47x0 [2.6]) the run make to create the rootfs. kernel. now the error message is: -(the last few lines)-- mmcblk0: mmc0:b368 NCard 1.85 GiB mmcblk0: p1 p2 p3 p4 EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended VFS: Mounted root (ext2 filesystem). Freeing unused kernel memory: 172k freed Please be patient, while OpenWrt loads ... Kernel panic - not syncing: Attempted to kill init! give me some tips. thanks. Hi Xiangfu, Le Monday 27 July 2009 05:12:26 Xiangfu Liu, vous avez écrit : Hi there I work on a jz4740 cpu device. there[1] is all the code. your can find the kernel patch at [2] the .24 kernel is work, but the .28 boot to Please be patient, while OpenWrt loads then stop. I put rootfs in mmcblk0p1 with ext2. I use tar jxvf openwrt-xburst-rootfs.tgz[3] /media/MMCBLK0P1 to cp the rootfs to sd card. is there something wrong with rootfs? Not with the rootfs directly but with the toolchain that compiled it. We recently disabled the kernel FPU emulator, so the toolchain must be recompiled (make distclean) to compile applications with software-floating point enabled. Relevant changeset about this is : 16604 thanks for help. [1] http://github.com/lindnermarek/openwrt-x-burst/commits/x-burst [2] http://github.com/lindnermarek/openwrt-x-burst/tree/76e7e9d1590d2f1a742c5dc 96420e22bc4e5d234/target/linux/xburst [3] http://www.openmobilefree.net/other/file/Ben_NanoNote/openwrt-xburst-rootfs .tgz ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Stop at Please be patient, while OpenWrt loads
Florian Fainelli wrote: Le Monday 27 July 2009 19:12:33 Xiangfu Liu, vous avez écrit : Hi Florian, Mirko Florian Fainelli wrote: I run make distclean the configure the Target System to (XBurst JZ47x0 [2.6]) the run make to create the rootfs. kernel. now the error message is: -(the last few lines)-- mmcblk0: mmc0:b368 NCard 1.85 GiB mmcblk0: p1 p2 p3 p4 EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended VFS: Mounted root (ext2 filesystem). Freeing unused kernel memory: 172k freed Please be patient, while OpenWrt loads ... Kernel panic - not syncing: Attempted to kill init! This sounds like something different, please paste the command line that you passed to the kernel. In case it did not help, check that you actually installed a soft-float rootfs on your MMC/SD card. Finally, make sure CONFIG_SOFT_FLOAT=y in your openwrt .config. Thanks Hi $ grep SOFT_FLOAT .config 261:CONFIG_SOFT_FLOAT=y here is the command line: mem=32M console=ttyS0,57600n8 rootfstype=ext2 root=/dev/mmcblk0p1 rw rootdelay=2 -- http://www.qi-hardware.com Best Regards Xiangfu Liu ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] Stop at Please be patient, while OpenWrt loads
Hi there I work on a jz4740 cpu device. there[1] is all the code. your can find the kernel patch at [2] the .24 kernel is work, but the .28 boot to Please be patient, while OpenWrt loads then stop. I put rootfs in mmcblk0p1 with ext2. I use tar jxvf openwrt-xburst-rootfs.tgz[3] /media/MMCBLK0P1 to cp the rootfs to sd card. is there something wrong with rootfs? thanks for help. [1] http://github.com/lindnermarek/openwrt-x-burst/commits/x-burst [2] http://github.com/lindnermarek/openwrt-x-burst/tree/76e7e9d1590d2f1a742c5dc96420e22bc4e5d234/target/linux/xburst [3] http://www.openmobilefree.net/other/file/Ben_NanoNote/openwrt-xburst-rootfs.tgz -- http://www.qi-hardware.com Best Regards Xiangfu Liu NAND Secondary Program Loader U-Boot 2009.06-dirty (Jul 26 2009 - 16:40:30) Board: Qi LB60 (Ingenic XBurst Jz4740 SoC, Speed 252 MHz) DRAM: 32 MB NAND: 2048 MiB Linux version 2.6.28.10-ge8db213 (xian...@openmobilefree.net) (gcc version 4.1.9 CPU revision is: 0ad0024f (Ingenic JZRISC) CPU clock: 252MHz, System clock: 84MHz, Peripheral clock: 84MHz, Memory clock: z Qi Hardware JZ4740 QI_LB60 setup Determined physical RAM map: memory: 0400 @ (usable) User-defined physical RAM map: memory: 0200 @ (usable) Zone PFN ranges: Normal 0x - 0x2000 Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0x - 0x2000 Built 1 zonelists in Zone order, mobility grouping off. Total pages: 8128 Kernel command line: mem=32M console=ttyS0,57600n8 rootfstype=ext2 root=/dev/mm2 Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes. Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes PID hash table entries: 128 (order: 7, 512 bytes) [ cut here ] WARNING: at kernel/time/clockevents.c:175 () Modules linked in: Call Trace:[80024890] 0x80024890 [80024890] 0x80024890 [80041188] 0x80041188 [803df198] 0x803df198 [80041810] 0x80041810 [803debd8] 0x803debd8 [803f2e14] 0x803f2e14 [803f12c8] 0x803f12c8 [803ded54] 0x803ded54 [80067640] 0x80067640 [80069f28] 0x80069f28 [80068764] 0x80068764 [803d95d8] 0x803d95d8 [803d5938] 0x803d5938 [803d50d8] 0x803d50d8 ---[ end trace 4eaa2a86a8e2da22 ]--- Console: colour dummy device 80x25 console [ttyS0] enabled Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Memory: 28252k/32768k available (3186k kernel code, 4516k reserved, 671k data, ) Calibrating delay loop... 250.67 BogoMIPS (lpj=1253376) Mount-cache hash table entries: 512 net_namespace: 288