加入Python、Multimedia的一些lib之后



  • 在加入Pyhton与Multimedia的一些lib之后,
    编译好后,
    openwrt-ramips-mt7688-Widora-squashfs-sysupgrade.bin不会出现在
    ~/openwrt_widora/bin/ramips 目录下,
    但可以在
    ~/openwrt_widora/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7688目录下找到,

    找到后, 发现openwrt-ramips-mt7688-Widora-squashfs-sysupgrade.bin大小为20.1MB,
    使用tftp烧入Widora,开机后出现

    [ 0.430000] spi-mt7621 10000b00.spi: sys_freq: 193333333
    [ 0.440000] m25p80 spi32766.0: found w25q256, expected w25q128
    [ 0.440000] m25p80 spi32766.0: w25q256 (32768 Kbytes)
    [ 0.450000] m25p80 spi32766.0: using chunked io
    [ 0.450000] 4 ofpart partitions found on MTD device spi32766.0
    [ 0.460000] Creating 4 MTD partitions on "spi32766.0":
    [ 0.470000] 0x000000000000-0x000000030000 : "u-boot"
    [ 0.470000] 0x000000030000-0x000000040000 : "u-boot-env"
    [ 0.480000] 0x000000040000-0x000000050000 : "factory"
    [ 0.480000] 0x000000050000-0x000001000000 : "firmware"
    [ 0.520000] 2 uimage-fw partitions found on MTD device firmware
    [ 0.520000] 0x000000050000-0x000000169c39 : "kernel"
    [ 0.530000] 0x000000169c39-0x000001000000 : "rootfs"
    [ 0.540000] mtd: device 5 (rootfs) set to be root filesystem
    [ 0.540000] mtdsplit: squashfs has invalid size in "rootfs"
    [ 0.550000] Dedicated partitioner didn't create "rootfs_data" partition, please fill a bug report!
    [ 0.560000] mtd: partition "rootfs_data" created automatically, ofs=0x13a0000, len=0xffc60000
    [ 0.570000] 0x0000013a0000-0x000101000000 : "rootfs_data"
    [ 0.570000] mtd: partition "rootfs_data" extends beyond the end of device "spi32766.0" -- size truncated to 0xc60000
    [ 0.600000] ralink_soc_eth 10100000.ethernet eth0: ralink at 0xb0100000, irq 5
    [ 0.600000] mt7621_wdt 10000120.watchdog: Initialized
    [ 0.610000] TCP: cubic registered
    [ 0.610000] NET: Registered protocol family 17
    [ 0.620000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
    [ 0.630000] 8021q: 802.1Q VLAN Support v1.8
    [ 0.640000] jffs2: Flash size not aligned to erasesize, reducing to 14912KiB
    [ 0.650000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0x7368 instead
    [ 0.660000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0x0a6b instead
    [ 0.670000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0x7e7d instead
    [ 0.680000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000010: 0x0084 instead
    [ 0.690000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000014: 0x0004 instead
    [ 0.700000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000018: 0x06c0 instead
    [ 0.710000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000001c: 0x0004 instead
    [ 0.710000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000020: 0x1ac0 instead
    [ 0.720000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000028: 0x214a instead
    [ 0.730000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000030: 0x2142 instead
    [ 0.740000] jffs2: Further such events for this erase block will not be printed
    [ 0.750000] jffs2: Empty flash at 0x00000038 ends at 0x00000040
    [ 0.810000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010000: 0x3e8d instead
    [ 0.820000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010004: 0xf442 instead
    [ 0.820000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010008: 0xc589 instead
    [ 0.830000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001000c: 0xdfe5 instead
    [ 0.840000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010010: 0x87c4 instead
    [ 0.850000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010014: 0x7f1e instead
    [ 0.860000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010018: 0x614c instead
    [ 0.870000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001001c: 0xd71c instead
    [ 0.880000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010020: 0x8743 instead
    [ 0.890000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010024: 0x9910 instead
    .
    .
    .
    [ 2.620000] jffs2: Old JFFS2 bitmask found at 0x000c2a98
    .
    .
    [ 3.100000] jffs2: Old JFFS2 bitmask found at 0x000f454c
    [ 3.100000] jffs2: You cannot use older JFFS2 filesystems with newer kernels
    .
    .
    [ 3.410000] jffs2: Old JFFS2 bitmask found at 0x00110f44
    [ 3.410000] jffs2: You cannot use older JFFS2 filesystems with newer kernels
    [ 3.430000] jffs2: Old JFFS2 bitmask found at 0x00113fb0
    [ 3.430000] jffs2: You cannot use older JFFS2 filesystems with newer kernels
    [ 3.450000] jffs2: Old JFFS2 bitmask found at 0x00117ef0
    [ 3.460000] jffs2: You cannot use older JFFS2 filesystems with newer kernels
    .
    .
    .
    .
    .
    [ 37.190000] jffs2: Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
    [ 37.200000] jffs2: empty_blocks 0, bad_blocks 0, c->nr_blocks 233
    [ 37.210000] VFS: Cannot open root device "(null)" or unknown-block(31,5): error -5
    [ 37.220000] Please append a correct "root=" boot option; here are the available partitions:
    [ 37.230000] 1f00 192 mtdblock0 (driver?)
    [ 37.230000] 1f01 64 mtdblock1 (driver?)
    [ 37.240000] 1f02 64 mtdblock2 (driver?)
    [ 37.240000] 1f03 16064 mtdblock3 (driver?)
    [ 37.250000] 1f04 1127 mtdblock4 (driver?)
    [ 37.250000] 1f05 14936 mtdblock5 (driver?)
    [ 37.260000] 1f06 12672 mtdblock6 (driver?)
    [ 37.260000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,5)
    [ 37.260000] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,5)

    请问这是要改哪里?


  • administrators

    menuconfig中选择widora32而不是widora试试



  • 是的, 改成Widora32M后, 就可以顺利开机,
    Python已经有了,
    谢谢



  • 此回复已被删除!