lede icon indicating copy to clipboard operation
lede copied to clipboard

mvebu平台编译问题

Open fergus-repo opened this issue 9 years ago • 10 comments

你好,

到了最后阶段,出现以下错误:

Image Name: Created: Thu Sep 7 15:02:20 2017 Image Type: ARM Linux Script (uncompressed) Data Size: 848 Bytes = 0.83 kB = 0.00 MB Load Address: 00000000 Entry Point: 00000000 Contents: Image 0: 840 Bytes = 0.82 kB = 0.00 MB rm -f /home/test/lede/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/linux-mvebu/tmp/lede-mvebu-armada-388-clearfog-pro-sdcard.img.gz.boot mkfs.fat -C /home/test/lede/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/linux-mvebu/tmp/lede-mvebu-armada-388-clearfog-pro-sdcard.img.gz.boot 16384 mkfs.fat 4.1 (2017-01-24) mcopy -i /home/test/lede/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/linux-mvebu/tmp/lede-mvebu-armada-388-clearfog-pro-sdcard.img.gz.boot /home/test/lede/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/linux-mvebu/linux-4.4.85/arch/arm/boot/dts/armada-388-clearfog-pro.dtb ::armada-388-clearfog-pro.dtb; mcopy -i /home/test/lede/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/linux-mvebu/tmp/lede-mvebu-armada-388-clearfog-pro-sdcard.img.gz.boot /home/test/lede/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/linux-mvebu/linux-4.4.85/arch/arm/boot/dts/armada-388-clearfog-base.dtb ::armada-388-clearfog-base.dtb; /home/test/lede/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/linux-mvebu/linux-4.4.85/arch/arm/boot/dts/armada-388-clearfog-pro.dtb: No such file or directory /home/test/lede/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/linux-mvebu/linux-4.4.85/arch/arm/boot/dts/armada-388-clearfog-base.dtb: No such file or directory make[5]: *** [/home/test/lede/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/linux-mvebu/tmp/lede-mvebu-armada-388-clearfog-pro-sdcard.img.gz] Error 1 make[5]: Leaving directory /home/test/lede/target/linux/mvebu/image' make[4]: *** [install] Error 2 make[4]: Leaving directory /home/test/lede/target/linux/mvebu' make[3]: *** [install] Error 2 make[3]: Leaving directory /home/test/lede/target/linux' make[2]: *** [target/linux/install] Error 2 make[2]: Leaving directory /home/test/lede' make[1]: *** [/home/test/lede/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/stamp/.target_install] Error 2 make[1]: Leaving directory `/home/test/lede' make: *** [world] Error 2

请问应该怎么解决?

另外发现到了这步,/lede/bin/targets/mvebu/generic/下已经有固件生成,但是刷机后路由器无法启动,网卡获取不了IP地址,是因为前面的错误造成的吗?

谢谢!

fergus-repo avatar Sep 08 '17 07:09 fergus-repo

看到了,缺少 dtd,我来修复下

coolsnowwolf avatar Sep 08 '17 08:09 coolsnowwolf

确实能启动

你那边有 ttl 启动日志么?我看看原因

coolsnowwolf avatar Sep 08 '17 14:09 coolsnowwolf

这个要拆机才行,而且我这边目前没有TTL线。

我试过X86的版本是可以启动的,刚刚看到有人用EA8500编译也能启动,看来问题是mvebu的。

之前是用本地电脑的虚拟机编译,路由器SSR开了白名单模式,明天试试用全局,我想会不会是uboot之类下载不成功的原因?

fergus-repo avatar Sep 08 '17 15:09 fergus-repo

已经拆机,并问朋友借TTL线,过两天提供启动日志

fergus-repo avatar Sep 09 '17 03:09 fergus-repo

目前还是有问题,在哎mvebu 上面,应该是官方某个 trunk 的时候引入的错误

我会另外起个 lede-17.01 正式版的分支,那个没问题

coolsnowwolf avatar Sep 10 '17 14:09 coolsnowwolf

等你的 TTL 信息再看看

coolsnowwolf avatar Sep 10 '17 14:09 coolsnowwolf

大神,我终于拿到TTL信息了, 这个是不能启动的:

BootROM - 1.73 Booting from NAND flash

General initialization - Version: 1.0.0 AVS selection from EFUSE disabled (Skip reading EFUSE values) mvSysEnvIsFlavourReduced: TWSI Read of 'flavor' failed Detected Device ID 6820 High speed PHY - Version: 2.0

Init RD NAS topology Serdes Lane 3 is USB3 Serdes Lane 4 is SGMII board SerDes lanes topology details: | Lane # | Speed| Type | ------------------------------| | 0 | 6 | SATA0 | | 1 | 5 | PCIe0 | | 2 | 6 | SATA1 | | 3 | 5 | USB3 HOST1 | | 4 | 5 | PCIe1 | | 5 | 0 | SGMII2 |

:** Link is Gen1, check the EP capability PCIe, Idx 0: Link upgraded to Gen2 based on client cpabilities :** Link is Gen1, check the EP capability PCIe, Idx 1: remains Gen1 High speed PHY - Ended Successfully DDR3 Training Sequence - Ver TIP-1.46.0 mvSysEnvGetTopologyUpdateInfo: TWSI Read failed DDR3 Training Sequence - Switching XBAR Window to FastPath Window DDR3 Training Sequence - Ended Successfully Not detected suspend to RAM indication BootROM: Image checksum verification PASSED


| / | __ _ _ ____ | | | | |/| |/ _` | '\ \ / / _ \ | | | | | | (| | | \ V / __/ | | || ||_,|| _/ _||| _ _ ____ _ | | | | | __ ) ___ ___ | | | | | || _ \ / _ \ / _ | __| | || || |) | () | () | |_ _/ |____/ _/ ___/ __| ** LOADER **

U-Boot 2013.01 (Apr 08 2016 - 15:47:50) Marvell version: 2015_T1.QA.0p16

Boot version : v0.0.4

Board: RD-NAS-88F6820-DDR3 SoC: MV88F6820 Rev A0 running 2 CPUs CPU: ARM Cortex A9 MPCore (Rev 1) LE CPU 0 CPU @ 1866 [MHz] L2 @ 933 [MHz] TClock @ 200 [MHz] DDR3 @ 933 [MHz] DDR3 32 Bit Width,FastPath Memory Access, DLB Enabled, ECC Disabled DRAM: 512 MiB NAND: 256 MiB MMC: mv_sdh: 0 DEVINFO offset == 0x7e0000 U-ENV offset == 0x200000 U-ENV offset == 0x200000 S-ENV offset == 0x220000

auto_recovery

[u_env] get auto_recovery == yes [u_env] get auto_recovery == yes [u_env] get boot_part == 1 [u_env] get boot_part_ready == 3 auto_recovery enabled:1, boot_part:1, boot_part_ready:3

S-ENV offset == 0x220000 [boot_count_read] block:0x220000, size:128KB, records:64 [boot_count_read_record] boot_count:1, next_record:50

[boot_count_write] erase:0, auto_recovery->block_offset:0x220000 offset=0x239000

Updating boot_count ... [boot_count_write] offset:0x239000 , length:2048 done

PCI-e 0 (IF 0 - bus 0) Root Complex Interface, Detected Link X1, GEN 2.0 PCI-e 1 (IF 1 - bus 1) Root Complex Interface, Detected Link X1, GEN 1.1 USB2.0 0: Host Mode USB3.0 1: Host Mode USB3.0 0: Host Mode

Map: Code: 0x1feab000:0x1ff75a20 BSS: 0x1ffef164 Stack: 0x1f9aaf20 Heap: 0x1f9ab000:0x1feab000 U-ENV offset == 0x200000 U-ENV offset == 0x200000 U-Boot Environment: 0x00200000:0x00220000 (NAND)

Board configuration detected: mvEthE6171SwitchBasicInit init Net:

port Interface PHY address
egiga0 RGMII 0x01
egiga1 SGMII 0x00
egiga2 SGMII In-Band
egiga0 [PRIME], egiga1, egiga2
auto_recovery_check changes bootcmd: run nandboot
Hit any key to stop autoboot: 0

NAND read: device 0 offset 0xa00000, size 0x600000 6291456 bytes read: OK

Booting kernel from Legacy Image at 02000000 ...

Image Name: ARM LEDE Linux-4.4.85 Created: 2017-09-07 15:02:20 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2333374 Bytes = 2.2 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK

Starting kernel ...

卡在kenel这就不动了,等了两三分钟,没有后续的信息出来

fergus-repo avatar Sep 10 '17 15:09 fergus-repo

这个是用LEDE官方源码编译的,启动正常:

▒▒EFUSE disabled (Skip reading EFUSE values) mvSysEnvIsFlavourReduced: TWSI Read of 'flavor' failed Detected Device ID 6820 High speed PHY - Version: 2.0

Init RD NAS topology Serdes Lane 3 is USB3 Serdes Lane 4 is SGMII board SerDes lanes topology details: | Lane # | Speed| Type | ------------------------------| | 0 | 6 | SATA0 | | 1 | 5 | PCIe0 | | 2 | 6 | SATA1 | | 3 | 5 | USB3 HOST1 | | 4 | 5 | PCIe1 | | 5 | 0 | SGMII2 |

:** Link is Gen1, check the EP capability PCIe, Idx 0: Link upgraded to Gen2 based on client cpabilities :** Link is Gen1, check the EP capability PCIe, Idx 1: remains Gen1 High speed PHY - Ended Successfully DDR3 Training Sequence - Ver TIP-1.46.0 mvSysEnvGetTopologyUpdateInfo: TWSI Read failed DDR3 Training Sequence - Switching XBAR Window to FastPath Window DDR3 Training Sequence - Ended Successfully Not detected suspend to RAM indication BootROM: Image checksum verification PASSED


| / | __ _ _ ____ | | | | |/| |/ _` | '\ \ / / _ \ | | | | | | (| | | \ V / __/ | | || ||_,|| _/ _||| _ _ ____ _ | | | | | __ ) ___ ___ | | | | | || _ \ / _ \ / _ | __| | || || |) | () | () | |_ _/ |____/ _/ ___/ __| ** LOADER **

U-Boot 2013.01 (Apr 08 2016 - 15:47:50) Marvell version: 2015_T1.QA.0p16

Boot version : v0.0.4

Board: RD-NAS-88F6820-DDR3 SoC: MV88F6820 Rev A0 running 2 CPUs CPU: ARM Cortex A9 MPCore (Rev 1) LE CPU 0 CPU @ 1866 [MHz] L2 @ 933 [MHz] TClock @ 200 [MHz] DDR3 @ 933 [MHz] DDR3 32 Bit Width,FastPath Memory Access, DLB Enabled, ECC Disabled DRAM: 512 MiB NAND: 256 MiB MMC: mv_sdh: 0 DEVINFO offset == 0x7e0000 U-ENV offset == 0x200000 U-ENV offset == 0x200000 S-ENV offset == 0x220000

auto_recovery

[u_env] get auto_recovery == yes [u_env] get auto_recovery == yes [u_env] get boot_part == 2 [u_env] get boot_part_ready == 3 auto_recovery enabled:1, boot_part:2, boot_part_ready:3

S-ENV offset == 0x220000 [boot_count_read] block:0x220000, size:128KB, records:64 [boot_count_read_record] boot_count:0, next_record:45

[boot_count_write] erase:0, auto_recovery->block_offset:0x220000 offset=0x236800

Updating boot_count ... [boot_count_write] offset:0x236800 , length:2048 done

PCI-e 0 (IF 0 - bus 0) Root Complex Interface, Detected Link X1, GEN 2.0 PCI-e 1 (IF 1 - bus 1) Root Complex Interface, Detected Link X1, GEN 1.1 USB2.0 0: Host Mode USB3.0 1: Host Mode USB3.0 0: Host Mode

Map: Code: 0x1feab000:0x1ff75a20 BSS: 0x1ffef164 Stack: 0x1f9aaf20 Heap: 0x1f9ab000:0x1feab000 U-ENV offset == 0x200000 U-ENV offset == 0x200000 U-Boot Environment: 0x00200000:0x00220000 (NAND)

Board configuration detected: mvEthE6171SwitchBasicInit init Net:

port Interface PHY address
egiga0 RGMII 0x01
egiga1 SGMII 0x00
egiga2 SGMII In-Band
egiga0 [PRIME], egiga1, egiga2
auto_recovery_check changes bootcmd: run altnandboot
Hit any key to stop autoboot: 0

NAND read: device 0 offset 0x5a00000, size 0x600000 6291456 bytes read: OK

Booting kernel from Legacy Image at 02000000 ...

Image Name: ARM LEDE Linux-4.4.86 Created: 2017-09-07 6:11:49 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2318668 Bytes = 2.2 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.4.86 (test@ubuntu) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3507-a7506c0) ) #0 SMP Thu Sep 7 06:11:49 2017 [ 0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine model: Linksys WRT3200ACM [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] PERCPU: Embedded 12 pages/cpu @dfbcf000 s17984 r8192 d22976 u49152 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 [ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mtdblock8 ro rootdelay=1 rootfstype=jffs2 earlyprintk mtdparts=armada-nand:2048K(uboot)ro,128K(u_env),256K(s_env),256K@8064K(devinfo),1920K@8320K(sysdiag),80m@10m(kernel),74m@16m(rootfs),80m@90m(alt_kernel),74m@96m(alt_rootfs),160m@10m(ubifs),-@170m(syscfg) [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 512512K/524288K available (4653K kernel code, 183K rwdata, 1640K rodata, 264K init, 296K bss, 11776K reserved, 0K cma-reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc062da24 (6295 kB) [ 0.000000] .init : 0xc062e000 - 0xc0670000 ( 264 kB) [ 0.000000] .data : 0xc0670000 - 0xc069dcb4 ( 184 kB) [ 0.000000] .bss : 0xc069dcb4 - 0xc06e80ac ( 297 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9 [ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9 [ 0.000000] L2C-310 D prefetch enabled, offset 1 lines [ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled [ 0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB [ 0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001 [ 0.000000] Selected CPU frequency (16) unsupported [ 0.000000] Switching to timer-based delay loop, resolution 40ns [ 0.000002] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns [ 0.000008] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns [ 0.000103] Calibrating local timer... 933.12MHz. [ 0.060025] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000) [ 0.060030] pid_max: default: 32768 minimum: 301 [ 0.060066] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.060070] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.060250] CPU: Testing write buffer coherency: ok [ 0.060338] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.060362] Setting up static identity map for 0x8280 - 0x82d8 [ 0.060427] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4 [ 0.060491] mvebu-pmsu: Initializing Power Management Service Unit [ 0.060827] Booting CPU 1 [ 0.060980] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.061003] Brought up 2 CPUs [ 0.061009] SMP: Total of 2 processors activated (100.00 BogoMIPS). [ 0.061011] CPU: All CPU(s) started in SVC mode. [ 0.062622] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 [ 0.062690] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.062699] futex hash table entries: 512 (order: 3, 32768 bytes) [ 0.062752] pinctrl core: initialized pinctrl subsystem [ 0.063037] NET: Registered protocol family 16 [ 0.063474] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.090032] cpuidle: using governor ladder [ 0.092214] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling [ 0.092221] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling [ 0.110433] reg-fixed-voltage xhci0-vbus: could not find pctldev for node /soc/internal-regs/pinctrl@18000/xhci0-vbus-pins, deferring probe [ 0.110569] SCSI subsystem initialized [ 0.110818] usbcore: registered new interface driver usbfs [ 0.110841] usbcore: registered new interface driver hub [ 0.110860] usbcore: registered new device driver usb [ 0.111319] clocksource: Switched to clocksource armada_370_xp_clocksource [ 0.111679] NET: Registered protocol family 2 [ 0.111865] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.111887] TCP bind hash table entries: 4096 (order: 3, 32768 bytes) [ 0.111914] TCP: Hash tables configured (established 4096 bind 4096) [ 0.111934] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.111945] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.112012] NET: Registered protocol family 1 [ 0.113192] Crashlog allocated RAM at address 0x3f00000 [ 0.115909] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.115916] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.116830] io scheduler noop registered [ 0.116837] io scheduler deadline registered (default) [ 0.117188] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver [ 0.117460] irq: Cannot allocate irq_descs @ IRQ45, assuming pre-allocated [ 0.117582] irq: Cannot allocate irq_descs @ IRQ77, assuming pre-allocated [ 0.117832] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00 [ 0.117838] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff] [ 0.117842] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff] [ 0.117846] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.118005] PCI: bus0: Fast back to back transfers disabled [ 0.118009] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 0.118014] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 0.118214] PCI: bus1: Fast back to back transfers disabled [ 0.118448] PCI: bus2: Fast back to back transfers disabled [ 0.118495] pci 0000:00:01.0: BAR 8: assigned [mem 0xe0000000-0xe02fffff] [ 0.118500] pci 0000:00:02.0: BAR 8: assigned [mem 0xe0400000-0xe06fffff] [ 0.118506] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe01fffff 64bit pref] [ 0.118515] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0200000-0xe02fffff 64bit pref] [ 0.118522] pci 0000:00:01.0: PCI bridge to [bus 01] [ 0.118527] pci 0000:00:01.0: bridge window [mem 0xe0000000-0xe02fffff] [ 0.118533] pci 0000:02:00.0: BAR 0: assigned [mem 0xe0400000-0xe05fffff 64bit pref] [ 0.118542] pci 0000:02:00.0: BAR 2: assigned [mem 0xe0600000-0xe06fffff 64bit pref] [ 0.118551] pci 0000:00:02.0: PCI bridge to [bus 02] [ 0.118555] pci 0000:00:02.0: bridge window [mem 0xe0400000-0xe06fffff] [ 0.118639] mv_xor f1060800.xor: Marvell shared XOR driver [ 0.151705] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr ) [ 0.151786] mv_xor f1060900.xor: Marvell shared XOR driver [ 0.191676] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr ) [ 0.191805] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 0.192039] console [ttyS0] disabled [ 0.212098] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 21, base_baud = 12500000) is a 16550A [ 0.939087] console [ttyS0] enabled [ 0.944473] loop: module loaded [ 0.947847] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode [ 0.956951] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs [ 0.966284] scsi host0: ahci-mvebu [ 0.969824] scsi host1: ahci-mvebu [ 0.973325] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 41 [ 0.981274] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 41 [ 0.989599] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device [ 0.997358] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xda [ 1.003743] nand: AMD/Spansion S34ML02G2 [ 1.007681] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128 [ 1.015373] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048 [ 1.022551] Bad block table found at page 131008, version 0x01 [ 1.028737] Bad block table found at page 130944, version 0x01 [ 1.034855] 11 ofpart partitions found on MTD device pxa3xx_nand-0 [ 1.041060] Creating 11 MTD partitions on "pxa3xx_nand-0": [ 1.046578] 0x000000000000-0x000000200000 : "u-boot" [ 1.051852] 0x000000200000-0x000000220000 : "u_env" [ 1.056972] 0x000000220000-0x000000260000 : "s_env" [ 1.062123] 0x0000007e0000-0x000000820000 : "devinfo" [ 1.067418] 0x000000820000-0x000000a00000 : "sysdiag" [ 1.072734] 0x000000a00000-0x000005a00000 : "kernel1" [ 1.078087] 0x000001000000-0x000005a00000 : "rootfs1" [ 1.083455] 0x000005a00000-0x00000aa00000 : "kernel2" [ 1.088794] 0x000006000000-0x00000aa00000 : "ubi" [ 1.093774] 0x00000aa00000-0x000010000000 : "syscfg" [ 1.099014] 0x000000260000-0x000000820000 : "unused_area" [ 1.105066] libphy: Fixed MDIO Bus: probed [ 1.109313] libphy: orion_mdio_bus: probed [ 1.113572] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled [ 1.122257] mvneta f1034000.ethernet eth0: Using random mac address 6a:9e:d9:2e:7f:d8 [ 1.131080] mvneta f1070000.ethernet eth1: Using hardware mac address 60:38:e0:b4:a9:e0 [ 1.139181] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.145743] ehci-pci: EHCI PCI platform driver [ 1.150232] ehci-platform: EHCI generic platform driver [ 1.155563] ehci-orion: EHCI orion driver [ 1.159647] orion-ehci f1058000.usb: EHCI Host Controller [ 1.165084] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1 [ 1.172737] orion-ehci f1058000.usb: irq 36, io mem 0xf1058000 [ 1.191314] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00 [ 1.197472] hub 1-0:1.0: USB hub found [ 1.201247] hub 1-0:1.0: 1 port detected [ 1.205538] usbcore: registered new interface driver usb-storage [ 1.211702] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0 [ 1.219336] i2c /dev entries driver [ 1.234261] orion_wdt: Initial timeout 171 sec [ 1.238848] sdhci: Secure Digital Host Controller Interface driver [ 1.245060] sdhci: Copyright(c) Pierre Ossman [ 1.249614] sdhci-pxav3 f10d8000.sdhci: No vmmc regulator found [ 1.255564] sdhci-pxav3 f10d8000.sdhci: No vqmmc regulator found [ 1.301340] mmc0: SDHCI controller on f10d8000.sdhci [f10d8000.sdhci] using ADMA [ 1.308851] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.317835] marvell-cesa f1090000.crypto: CESA device successfully registered [ 1.325486] NET: Registered protocol family 10 [ 1.330349] NET: Registered protocol family 17 [ 1.334840] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. [ 1.341325] ata1: SATA link down (SStatus 0 SControl 300) [ 1.341346] ata2: SATA link down (SStatus 0 SControl 300) [ 1.358342] 8021q: 802.1Q VLAN Support v1.8 [ 1.362603] Registering SWP/SWPB emulation handler [ 1.368137] xhci-hcd f10f8000.usb3: xHCI Host Controller [ 1.373495] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 2 [ 1.381095] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010 [ 1.389686] xhci-hcd f10f8000.usb3: irq 44, io mem 0xf10f8000 [ 1.395706] hub 2-0:1.0: USB hub found [ 1.399481] hub 2-0:1.0: 1 port detected [ 1.401366] mmc0: new high speed SDIO card at address 0001 [ 1.409049] xhci-hcd f10f8000.usb3: xHCI Host Controller [ 1.414404] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3 [ 1.421944] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM. [ 1.430248] hub 3-0:1.0: USB hub found [ 1.434028] hub 3-0:1.0: 1 port detected [ 1.438276] UBI: auto-attach mtd8 [ 1.441445] ubi0: attaching mtd8 [ 1.642117] ubi0: scanning is finished [ 1.650193] ubi0: attached mtd8 (name "ubi", size 74 MiB) [ 1.655624] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes [ 1.662531] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 [ 1.669344] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 1.676336] ubi0: good PEBs: 592, bad PEBs: 0, corrupted PEBs: 0 [ 1.682369] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128 [ 1.689618] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 592860131 [ 1.698702] ubi0: available PEBs: 0, total reserved PEBs: 592, PEBs reserved for bad PEB handling: 40 [ 1.707973] ubi0: background thread "ubi_bgt0d" started, PID 633 [ 1.714345] block ubiblock0_0: created from ubi0:0(rootfs) [ 1.719853] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem [ 1.727041] mvsw61xx 10.mvsw61xx: Found MV88E6352 at f1072004.mdio-mi:10 [ 1.733778] mvsw61xx 10.mvsw61xx: Using direct addressing [ 1.746065] armada38x-rtc f10a3800.rtc: setting system clock to 2053-11-26 10:35:43 UTC (2647766143) [ 1.755852] Waiting 1 sec before mounting root device... [ 2.762923] VFS: Mounted root (squashfs filesystem) readonly on device 254:0. [ 2.770203] Freeing unused kernel memory: 264K [ 3.003325] init: Console is alive [ 3.006794] init: - watchdog - [ 3.189128] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 3.212051] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 3.221383] init: - preinit - [ 3.343147] random: nonblocking pool is initialized [ 3.578134] mvneta f1034000.ethernet eth0: configuring for fixed link mode [ 3.585393] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 3.591274] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off [ 3.599186] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 6.678273] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 733 [ 6.706311] UBIFS (ubi0:1): recovery needed [ 6.775692] UBIFS (ubi0:1): recovery completed [ 6.780177] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data" [ 6.788047] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 6.798006] UBIFS (ubi0:1): FS size: 65519616 bytes (62 MiB, 516 LEBs), journal size 3301376 bytes (3 MiB, 26 LEBs) [ 6.808486] UBIFS (ubi0:1): reserved for root: 3094652 bytes (3022 KiB) [ 6.815130] UBIFS (ubi0:1): media format: w4/r0 (latest is w4/r0), UUID 389CD679-723E-4506-813F-D0451F8621A3, small LPT model [ 6.831271] mount_root: switching to ubifs overlay [ 6.873083] ubi1: attaching mtd9 [ 7.103929] ubi1: scanning is finished [ 7.112137] ubi1: attached mtd9 (name "syscfg", size 86 MiB) [ 7.117819] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes [ 7.124730] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 [ 7.131548] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 7.138536] ubi1: good PEBs: 680, bad PEBs: 8, corrupted PEBs: 0 [ 7.144568] ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128 [ 7.151822] ubi1: max/mean erase counter: 143/111, WL threshold: 4096, image sequence number: 663994417 [ 7.161252] ubi1: available PEBs: 0, total reserved PEBs: 680, PEBs reserved for bad PEB handling: 32 [ 7.170514] ubi1: background thread "ubi_bgt1d" started, PID 745 UBI device number 1, total 680 LEBs (86343680 by[ 7.179936] UBIFS (ubi1:0): background thread "ubifs_bgt1_0" started, PID 749 tes, 82.3 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB) [ 7.208902] UBIFS (ubi1:0): recovery needed [ 7.278609] UBIFS (ubi1:0): recovery completed [ 7.283104] UBIFS (ubi1:0): UBIFS: mounted UBI device 1, volume 0, name "syscfg" [ 7.290530] UBIFS (ubi1:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 7.300488] UBIFS (ubi1:0): FS size: 80375808 bytes (76 MiB, 633 LEBs), journal size 4063232 bytes (3 MiB, 32 LEBs) [ 7.310968] UBIFS (ubi1:0): reserved for root: 3796347 bytes (3707 KiB) [ 7.317612] UBIFS (ubi1:0): media format: w4/r0 (latest is w4/r0), UUID 117B0AF6-2198-4F77-8267-68AB46DB9624, small LPT model [ 7.330581] urandom-seed: Seeding with /etc/urandom.seed [ 7.367263] procd: - early - [ 7.370177] procd: - watchdog - [ 7.960819] procd: - watchdog - [ 7.964056] procd: - ubus - [ 8.018840] procd: - init - Please press Enter to activate this console. [ 8.101652] kmodloader: loading kernel modules from /etc/modules.d/* [ 8.109080] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 8.116227] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f [ 8.124284] Backport generated by backports.git backports-20160324-13-g24da7d3c [ 8.138832] <<Marvell Mac80211 Wireless PCIE Network Driver version 10.3.4.0-20170606>> [ 8.146905] pci 0000:00:01.0: enabling device (0140 -> 0142) [ 11.240022] ieee80211 phy0: firmware version: 0x9030007 [ 11.599323] ieee80211 phy0: firmware region code: 10 [ 11.629210] ieee80211 phy0: 2G disabled, 5G enabled [ 11.634145] ieee80211 phy0: 4 TX antennas, 4 RX antennas [ 11.639555] pci 0000:00:02.0: enabling device (0140 -> 0142) [ 13.015336] ieee80211 phy1: firmware version: 0x9030007 [ 13.376310] ieee80211 phy1: firmware region code: 10 [ 13.400229] ieee80211 phy1: 2G enabled, 5G disabled [ 13.405172] ieee80211 phy1: 4 TX antennas, 4 RX antennas [ 13.411496] ip_tables: (C) 2000-2006 Netfilter Core Team [ 13.420127] mwifiex: rx work enabled, cpus 2 [ 13.426716] nf_conntrack version 0.5.0 (8012 buckets, 32048 max) [ 13.534337] xt_time: kernel timezone is -0000 [ 13.540516] PPP generic driver version 2.4.2 [ 13.545788] NET: Registered protocol family 24 [ 13.551353] kmodloader: done loading kernel modules from /etc/modules.d/* [ 13.994576] mwifiex_sdio mmc0:0001:1: info: FW download over, size 391772 bytes [ 14.331498] mwifiex_sdio mmc0:0001:1: WLAN FW is active [ 14.368381] mwifiex_sdio mmc0:0001:1: CMD_RESP: cmd 0x242 error, result=0x2 [ 14.375414] mwifiex_sdio mmc0:0001:1: mwifiex_process_cmdresp: cmd 0x242 failed during initialization [ 14.390561] mvneta f1034000.ethernet eth0: configuring for fixed link mode [ 14.397649] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off [ 14.403581] mwifiex_sdio mmc0:0001:1: info: MWIFIEX VERSION: mwifiex 1.0 (15.68.7.p5) [ 14.403584] mwifiex_sdio mmc0:0001:1: driver_version = mwifiex 1.0 (15.68.7.p5) [ 14.421112] device eth0 entered promiscuous mode [ 14.429727] br-lan: port 1(eth0) entered forwarding state [ 14.435191] br-lan: port 1(eth0) entered forwarding state [ 14.448042] mvneta f1070000.ethernet eth1: configuring for fixed link mode [ 14.455486] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready [ 14.461616] mvneta f1070000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off [ 14.469520] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready [ 15.256504] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready [ 15.545505] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 15.551596] device wlan1 entered promiscuous mode [ 15.556355] br-lan: port 2(wlan1) entered forwarding state [ 15.561886] br-lan: port 2(wlan1) entered forwarding state [ 15.567510] br-lan: port 2(wlan1) entered disabled state [ 15.573191] device wlan0 entered promiscuous mode [ 15.788325] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 15.794755] br-lan: port 2(wlan1) entered forwarding state [ 15.800279] br-lan: port 2(wlan1) entered forwarding state [ 16.337393] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 16.343823] br-lan: port 3(wlan0) entered forwarding state [ 16.349344] br-lan: port 3(wlan0) entered forwarding state [ 16.431323] br-lan: port 1(eth0) entered forwarding state [ 17.791307] br-lan: port 2(wlan1) entered forwarding state [ 18.341309] br-lan: port 3(wlan0) entered forwarding state

fergus-repo avatar Sep 10 '17 15:09 fergus-repo

刚刚编译了7.4的版本,可以正常启动了,准备愉快的玩耍~~ 感谢!

fergus-repo avatar Sep 12 '17 04:09 fergus-repo

已修复

coolsnowwolf avatar Sep 12 '17 13:09 coolsnowwolf