BIT5 下载最新openwrt18固件无法挂在文件系统
-
大家好,如题所示,clone github最新openwrt18版本编译产生bit5固件,烧写后无法挂载文件系统,log如下:
[ 0.244967] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.264229] io scheduler noop registered [ 0.267960] io scheduler deadline registered (default) [ 0.273917] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled [ 0.281229] console [ttyS0] disabled [ 0.284666] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A [ 0.293406] console [ttyS0] enabled [ 0.293406] console [ttyS0] enabled [ 0.300396] bootconsole [early0] disabled [ 0.300396] bootconsole [early0] disabled [ 0.309154] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A [ 0.318733] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A [ 0.328239] cacheinfo: Failed to find cpu0 device node [ 0.333491] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 0.340474] spi-mt7621 10000b00.spi: sys_freq: 193333333 [ 0.362463] m25p80 spi0.0: w25q256 (32768 Kbytes) [ 0.367290] 4 fixed-partitions partitions found on MTD device spi0.0 [ 0.373758] Creating 4 MTD partitions on "spi0.0": [ 0.378626] 0x000000000000-0x000000030000 : "u-boot" [ 0.384600] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.390795] 0x000000040000-0x000000050000 : "factory" [ 0.396838] 0x000000050000-0x000002000000 : "firmware" [ 0.403915] libphy: Fixed MDIO Bus: probed [ 0.421029] rt3050-esw 10110000.esw: link changed 0x00 [ 0.427896] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5 [ 0.438132] NET: Registered protocol family 10 [ 0.446736] Segment Routing with IPv6 [ 0.450569] NET: Registered protocol family 17 [ 0.455207] 8021q: 802.1Q VLAN Support v1.8 [ 0.462299] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6 [ 0.469897] Please append a correct "root=" boot option; here are the available partitions: [ 0.478440] 1f00 192 mtdblock0 [ 0.478446] (driver?) [ 0.485095] 1f01 64 mtdblock1 [ 0.485100] (driver?) [ 0.491743] 1f02 64 mtdblock2 [ 0.491748] (driver?) [ 0.498378] 1f03 32448 mtdblock3 [ 0.498382] (driver?) [ 0.505027] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 0.514335] Rebooting in 1 seconds..
在下做了如下修改:
1、复制/dts/WIDORA-NEO-32M.dts为/dts/WIDORA-BIT5-32M.dts
并修改内存大小为reg<0x0,0x40000000>/ { compatible = "widora,bit5-32m", "widora,bit5", "mediatek,mt7628an-soc"; model = "Widora-BIT5 (32M)"; memory@0 { device_type = "memory"; reg = <0x0 0x4000000>; }; };
增加板卡信息到02-network和mt76x8.mk,然后进入menuconfig后选择bit5并编译产生固件,
固件大小为8.1M
通过widora得网页uboot更新firware。上传dts。。。
WIDORA-BIT5-32M.dts
还请各位指点迷津,在此感谢各位!
-
@liquanqing
这样,你clone下来后直接选择NEO,将NEO的DTS里内存修改为64M后编译试一下。
1806之前在NEO上正常。
-
已解决,配置设置错误导致