qca9533 openwrt 启动信息
2018-05-17 本文已影响0人
hades2013
QQ图片20180517100932.png
第一次编译的固件,失败!
Boot and Recovery Environment for Embedded Devices
Copyright (C) 2018 HackPascal <hackpascal@gmail.com>
Build date 2018-03-23 [git-994feec]
Version 1.1 (r1211)
DRAM: 32MB
Platform: Qualcomm Atheros QCA953X rev 2
Board: Generic board
Clocks: CPU: 550MHz, DDR: 400MHz, AHB: 200MHz, Ref: 25MHz
Flash: Macronix MX25L6435E (8MB) on ath79-spi
ag71xx-eth: MAC address is invalid, using default settings.
ag71xx-eth: Using MAC address 00:13:74:00:00:01
Waiting for auto-negotiation complete ... OK
eth0: Atheros AR8228/AR8229 rev 1
Network started on eth0, inet addr 192.168.1.1, netmask 255.255.255.0
Press any key to interrupt autoboot ... 2
Autoboot aborted due to button press.
Starting breed built-in shell
breed>
breed>
breed>
breed> boot
Usage:
boot mem <addr> - Boot from memory address or memory-mapped address
boot flash [bank <n>] <addr> - Boot from flash
boot linux <addr> - Boot linux kernel at <addr>
boot raw <addr> - Disable interrupts and jump to <addr>
boot breed <addr> - Boot given breed file at <addr>
breed> boot flash
Usage:
boot mem <addr> - Boot from memory address or memory-mapped address
boot flash [bank <n>] <addr> - Boot from flash
boot linux <addr> - Boot linux kernel at <addr>
boot raw <addr> - Disable interrupts and jump to <addr>
boot breed <addr> - Boot given breed file at <addr>
breed> reboot
Unrecognised command: reboot
Type 'help' to get available commands.
breed> ps
Unrecognised command: ps
Type 'help' to get available commands.
breed> help
Available commands:
about - About this bootloader
abstatus - Interrupt status of autoboot
arp - Display ARP table
autoboot - Detect firmware type and boot automatically
boot - Boot firmware
btntst - Test GPIO of buttons
dhcp - Display DHCP leases
env - Environment variables utility
envconf - Configure environment variable block
exit - Exit from telnet
flash - Flash utility
gpio - GPIO utilities
help - Show available commands
mdio - MDIO utility
mem - Memory operation utilities
net - Network control
netstat - Display network state
reset - Restart device
setbrg - Set baudrate
spi - SPI utility
sysinfo - Display system information
thread - Display all threads
wget - Retrieval file through HTTP
breed> autoboot
Trying to boot firmware from 0x9f680000 ...
U-Boot firmware image header detected.
Image Name: MIPS OpenWrt Linux-3.3.8
Data Size: 1026203 Bytes
Load Address: 80060000
Entry Point: 80060000
Uncompressing data (LZMA) ... done.
Flushing cache ... done.
Starting kernel at 0x80060000...
[ 0.000000] Linux version 3.3.8 (hades@hades) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Wed May 16 16:16:25 CST 2018
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Qualcomm Atheros QCA9531 rev 2
[ 0.000000] Clocks: CPU:550.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x00000000 -> 0x00002000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] Early memory PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00002000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: board=AP143 console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,6336k(rootfs),1472k(kernel),64k(art),7744k@0x50000(firmware) rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Writing ErrCtl register=00037fd0
[ 0.000000] Readback ErrCtl register=00037fd0
[ 0.000000] Memory: 28936k/32768k available (2169k kernel code, 3832k reserved, 563k data, 176k init, 0k highmem)
[ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:83
[ 0.000000] Calibrating delay loop... 366.18 BogoMIPS (lpj=1830912)
[ 0.060000] pid_max: default: 32768 minimum: 301
[ 0.060000] Mount-cache hash table entries: 512
[ 0.070000] Initialized recycle list for cpu 0.
[ 0.070000] NET: Registered protocol family 16
[ 0.080000] gpiochip_add: registered GPIOs 0 to 17 on device: ath79
[ 0.080000] MIPS: machine is Qualcomm Atheros AP143 reference board
[ 0.090000] ar71xx: invalid MDIO id 1
[ 0.500000] bio: create slab <bio-0> at 0
[ 0.510000] Switching to clocksource MIPS
[ 0.520000] NET: Registered protocol family 2
[ 0.520000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.520000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.530000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.530000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.540000] TCP reno registered
[ 0.540000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.550000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.560000] NET: Registered protocol family 1
[ 0.580000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.580000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.590000] msgmni has been set to 56
[ 0.600000] io scheduler noop registered
[ 0.600000] io scheduler deadline registered (default)
[ 0.610000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.640000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[ 0.640000] console [ttyS0] enabled, bootconsole disabled
[ 0.640000] console [ttyS0] enabled, bootconsole disabled
[ 0.660000] m25p80 spi0.0: found mx25l6405d, expected m25p80
[ 0.660000] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[ 0.670000] 6 cmdlinepart partitions found on MTD device spi0.0
[ 0.670000] Creating 6 MTD partitions on "spi0.0":
[ 0.680000] 0x000000000000-0x000000040000 : "u-boot"
[ 0.690000] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.690000] 0x000000050000-0x000000680000 : "rootfs"
[ 0.700000] mtd: partition "rootfs" set to be root filesystem
[ 0.710000] mtd: partition "rootfs_data" created automatically, ofs=60000, len=620000
[ 0.710000] 0x000000060000-0x000000680000 : "rootfs_data"
[ 0.720000] 0x000000680000-0x0000007f0000 : "kernel"
[ 0.730000] 0x0000007f0000-0x000000800000 : "art"
[ 0.730000] 0x000000050000-0x0000007e0000 : "firmware"
[ 0.770000] ag71xx_mdio: probed
[ 0.900000] ag71xx_mdio: probed
[ 0.910000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[ 1.470000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY]
[ 1.480000] eth1: Atheros AG71xx at 0xba000000, irq 5
[ 2.030000] eth1: Found an AR934X built-in switch
[ 3.070000] TCP cubic registered
[ 3.070000] NET: Registered protocol family 17
[ 3.080000] 8021q: 802.1Q VLAN Support v1.8
[ 3.080000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 3.090000] Freeing unused kernel memory: 176k freed
[ 3.100000] Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
qsdk 修改后再次编译,
Boot and Recovery Environment for Embedded Devices
Copyright (C) 2018 HackPascal <hackpascal@gmail.com>
Build date 2018-03-23 [git-994feec]
Version 1.1 (r1211)
DRAM: 32MB
Platform: Qualcomm Atheros QCA953X rev 2
Board: Generic board
Clocks: CPU: 550MHz, DDR: 400MHz, AHB: 200MHz, Ref: 25MHz
Flash: Macronix MX25L6435E (8MB) on ath79-spi
ag71xx-eth: MAC address is invalid, using default settings.
ag71xx-eth: Using MAC address 00:13:74:00:00:01
Waiting for auto-negotiation complete ... OK
eth0: Atheros AR8228/AR8229 rev 1
Network started on eth0, inet addr 192.168.1.1, netmask 255.255.255.0
Press any key to interrupt autoboot ... 2
Autoboot aborted due to button press.
Starting breed built-in shell
breed> Upgrade completed.
Rebooting in 2 seconds ...
Resetting ...
Boot and Recovery Environment for Embedded Devices
Copyright (C) 2018 HackPascal <hackpascal@gmail.com>
Build date 2018-03-23 [git-994feec]
Version 1.1 (r1211)
DRAM: 32MB
Platform: Qualcomm Atheros QCA953X rev 2
Board: Generic board
Clocks: CPU: 550MHz, DDR: 400MHz, AHB: 200MHz, Ref: 25MHz
Flash: Macronix MX25L6435E (8MB) on ath79-spi
ag71xx-eth: MAC address is invalid, using default settings.
ag71xx-eth: Using MAC address 00:13:74:00:00:01
Waiting for auto-negotiation complete ... OK
eth0: Atheros AR8228/AR8229 rev 1
Network started on eth0, inet addr 192.168.1.1, netmask 255.255.255.0
Press any key to interrupt autoboot ... 2
Autoboot aborted due to button press.
Starting breed built-in shell
breed> autoboot
Trying to boot firmware from 0x9f680000 ...
U-Boot firmware image header detected.
Image Name: MIPS OpenWrt Linux-3.3.8
Data Size: 954963 Bytes
Load Address: 80060000
Entry Point: 80060000
Uncompressing data (LZMA) ... done.
Flushing cache ... done.
Starting kernel at 0x80060000...
[ 0.000000] Linux version 3.3.8 (hades@hades) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r40331) ) #1 Fri May 18 10:33:12 CST 2018
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Qualcomm Atheros QCA9531 rev 2
[ 0.000000] Clocks: CPU:550.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x00000000 -> 0x00002000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] Early memory PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00002000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: board=AP143 console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,6336k(rootfs),1472k(kernel),64k(art),7744k@0x50000(firmware) rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Writing ErrCtl register=00017fd0
[ 0.000000] Readback ErrCtl register=00017fd0
[ 0.000000] Memory: 28992k/32768k available (2191k kernel code, 3776k reserved, 437k data, 220k init, 0k highmem)
[ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:83
[ 0.000000] Calibrating delay loop... 366.18 BogoMIPS (lpj=1830912)
[ 0.060000] pid_max: default: 32768 minimum: 301
[ 0.060000] Mount-cache hash table entries: 512
[ 0.070000] Initialized recycle list for cpu 0.
[ 0.070000] NET: Registered protocol family 16
[ 0.080000] gpiochip_add: registered GPIOs 0 to 17 on device: ath79
[ 0.090000] MIPS: machine is Qualcomm Atheros AP143 reference board
[ 0.100000] ar71xx: invalid MDIO id 1
[ 0.510000] bio: create slab <bio-0> at 0
[ 0.520000] Switching to clocksource MIPS
[ 0.530000] NET: Registered protocol family 2
[ 0.530000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.530000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.540000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.540000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.550000] TCP reno registered
[ 0.550000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.560000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.570000] NET: Registered protocol family 1
[ 0.590000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.590000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.600000] msgmni has been set to 56
[ 0.610000] io scheduler noop registered
[ 0.610000] io scheduler deadline registered (default)
[ 0.620000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.650000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[ 0.650000] console [ttyS0] enabled, bootconsole disabled
[ 0.650000] console [ttyS0] enabled, bootconsole disabled
[ 0.670000] m25p80 spi0.0: found mx25l6405d, expected m25p80
[ 0.670000] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[ 0.680000] 6 cmdlinepart partitions found on MTD device spi0.0
[ 0.690000] Creating 6 MTD partitions on "spi0.0":
[ 0.690000] 0x000000000000-0x000000040000 : "u-boot"
[ 0.700000] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.700000] 0x000000050000-0x000000680000 : "rootfs"
[ 0.710000] mtd: partition "rootfs" set to be root filesystem
[ 0.720000] mtd: partition "rootfs_data" created automatically, ofs=260000, len=420000
[ 0.730000] 0x000000260000-0x000000680000 : "rootfs_data"
[ 0.730000] 0x000000680000-0x0000007f0000 : "kernel"
[ 0.740000] 0x0000007f0000-0x000000800000 : "art"
[ 0.750000] 0x000000050000-0x0000007e0000 : "firmware"
[ 0.780000] ag71xx_mdio: probed
[ 0.910000] ag71xx_mdio: probed
[ 0.920000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[ 1.480000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY]
[ 1.490000] eth1: Atheros AG71xx at 0xba000000, irq 5
[ 2.050000] eth1: Found an AR934X built-in switch
[ 3.080000] TCP cubic registered
[ 3.080000] NET: Registered protocol family 17
[ 3.090000] 8021q: 802.1Q VLAN Support v1.8
[ 3.090000] ### of_selftest(): No testcase data in device tree; not running tests
[ 3.100000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 3.110000] Freeing unused kernel memory: 220k freed
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
jffs2 not ready yet; using ramdisk
- init -
[ 9.850000] Loading modules backported from Linux version master-2013-06-27-0-gdcfa6d5
[ 9.850000] Backport generated by backports.git backports-20130617-4-ge3220f5
[ 9.890000] cfg80211: Calling CRDA to update world regulatory domain
[ 9.890000] cfg80211: World regulatory domain updated:
[ 9.900000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 9.910000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 9.920000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 9.920000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 9.930000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[ 9.940000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[ 9.950000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
[ 10.180000] SCSI subsystem initialized
[ 10.330000] usbcore: registered new interface driver usbfs
[ 10.330000] usbcore: registered new interface driver hub
[ 10.340000] usbcore: registered new device driver usb
[ 10.950000] Button Hotplug driver version 0.4.1
[ 11.050000] PPP generic driver version 2.4.2
[ 11.150000] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[ 11.270000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 11.370000] NET: Registered protocol family 24
[ 11.400000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 11.400000] ehci-platform ehci-platform.0: Generic Platform EHCI Controller
[ 11.410000] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[ 11.450000] ehci-platform ehci-platform.0: irq 3, io mem 0x1b000000
[ 11.470000] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[ 11.470000] hub 1-0:1.0: USB hub found
[ 11.480000] hub 1-0:1.0: 1 port detected
[ 11.500000] nf_conntrack version 0.5.0 (456 buckets, 1824 max)
[ 11.770000] Initializing USB Mass Storage driver...
[ 11.780000] usbcore: registered new interface driver usb-storage
[ 11.780000] USB Mass Storage support registered.
Please press Enter to activate this console.
BusyBox v1.19.4 (2018-05-17 18:29:38 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
MM NM MMMMMMM M M
$MMMMM MMMMM MMMMMMMMMMM MMM MMM
MMMMMMMM MM MMMMM. MMMMM:MMMMMM: MMMM MMMMM
MMMM= MMMMMM MMM MMMM MMMMM MMMM MMMMMM MMMM MMMMM'
MMMM= MMMMM MMMM MM MMMMM MMMM MMMM MMMMNMMMMM
MMMM= MMMM MMMMM MMMMM MMMM MMMM MMMMMMMM
MMMM= MMMM MMMMMM MMMMM MMMM MMMM MMMMMMMMM
MMMM= MMMM MMMMM, NMMMMMMMM MMMM MMMM MMMMMMMMMMM
MMMM= MMMM MMMMMM MMMMMMMM MMMM MMMM MMMM MMMMMM
MMMM= MMMM MM MMMM MMMM MMMM MMMM MMMM MMMM
MMMM$ ,MMMMM MMMMM MMMM MMM MMMM MMMMM MMMM MMMM
MMMMMMM: MMMMMMM M MMMMMMMMMMMM MMMMMMM MMMMMMM
MMMMMM MMMMN M MMMMMMMMM MMMM MMMM
MMMM M MMMMMMM M M
M
---------------------------------------------------------------
For those about to rock... (Attitude Adjustment, r40331)
---------------------------------------------------------------
root@OpenWrt:/# [ 17.080000] device eth1 entered promiscuous mode
[ 17.680000] eth1: link up (1000Mbps/Full duplex)
[ 17.680000] br-lan: port 1(eth1) entered forwarding state
[ 17.690000] br-lan: port 1(eth1) entered forwarding state
[ 19.690000] br-lan: port 1(eth1) entered forwarding state
root@OpenWrt:/# [ 31.740000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 31.740000] jffs2_build_filesystem(): unlocking the mtd device... done.
[ 31.750000] jffs2_build_filesystem(): erasing all blocks after the end marker...