Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.15.0-rc8-licheepi-nano+ (njatech@ubuntu) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #67 Sun Sep 15 23:05:35 PDT 2019
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] OF: fdt: Machine model: Lichee Pi Nano
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] random: fast init done
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/mtdblock3 rw rootfstype=jffs2
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 56224K/65536K available (5120K kernel code, 220K rwdata, 1064K rodata, 1024K init, 222K bss, 9312K 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 : 0xc4800000 - 0xff800000 ( 944 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (6112 kB)
[ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (1024 kB)
[ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 221 kB)
[ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 223 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000045] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000108] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000654] Console: colour dummy device 80x30
[ 0.000744] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808)
[ 0.070223] pid_max: default: 32768 minimum: 301
[ 0.070540] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.070578] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.071968] CPU: Testing write buffer coherency: ok
[ 0.073537] Setting up static identity map for 0x80100000 - 0x80100058
[ 0.076025] devtmpfs: initialized
[ 0.083216] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.083277] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.083529] pinctrl core: initialized pinctrl subsystem
[ 0.085427] NET: Registered protocol family 16
[ 0.086635] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.088330] cpuidle: using governor menu
[ 0.107733] SCSI subsystem initialized
[ 0.108074] usbcore: registered new interface driver usbfs
[ 0.108221] usbcore: registered new interface driver hub
[ 0.108399] usbcore: registered new device driver usb
[ 0.108790] pps_core: LinuxPPS API ver. 1 registered
[ 0.108816] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.108876] PTP clock support registered
[ 0.110574] clocksource: Switched to clocksource timer
[ 0.135362] NET: Registered protocol family 2
[ 0.136993] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.137066] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.137116] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.137356] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.137415] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.137968] NET: Registered protocol family 1
[ 0.140231] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.142115] Initialise system trusted keyrings
[ 0.142644] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.157809] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.158370] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.172363] Key type asymmetric registered
[ 0.172402] Asymmetric key parser 'x509' registered
[ 0.172594] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.172628] io scheduler noop registered
[ 0.172647] io scheduler deadline registered
[ 0.173394] io scheduler cfq registered (default)
[ 0.173428] io scheduler mq-deadline registered
[ 0.173446] io scheduler kyber registered
[ 0.174540] sun4i-usb-phy 1c13400.phy: Couldn't request ID GPIO
[ 0.184080] suniv-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.343083] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.349396] console [ttyS0] disabled
[ 0.369642] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 23, base_baud = 6250000) is a 16550A
[ 0.808325] console [ttyS0] enabled
[ 0.834289] 1c25400.serial: ttyS1 at MMIO 0x1c25400 (irq = 24, base_baud = 6250000) is a 16550A
[ 0.865579] 1c25800.serial: ttyS2 at MMIO 0x1c25800 (irq = 25, base_baud = 6250000) is a 16550A
[ 0.876395] SCSI Media Changer driver v0.25
[ 0.884232] m25p80 spi0.0: w25q128 (16384 Kbytes)
[ 0.889014] 4 ofpart partitions found on MTD device spi0.0
[ 0.894604] Creating 4 MTD partitions on "spi0.0":
[ 0.899412] 0x000000000000-0x000000070000 : "u-boot"
[ 0.906799] 0x000000070000-0x000000080000 : "dtb"
[ 0.913983] 0x000000080000-0x000000480000 : "kernel"
[ 0.921489] 0x000000480000-0x000001000000 : "rootfs"
[ 0.931597] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.938133] ehci-platform: EHCI generic platform driver
[ 0.943755] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.949976] ohci-platform: OHCI generic platform driver
[ 0.955659] usbcore: registered new interface driver usb-storage
[ 0.962541] i2c /dev entries driver
[ 0.970348] rtc-pcf8563 0-0051: low voltage detected, date/time is not reliable.
[ 0.978371] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
[ 1.040702] sunxi-mmc 1c0f000.mmc: base:0xbaedaa90 irq:19
[ 1.049627] ipip: IPv4 and MPLS over IPv4 tunneling driver
[ 1.056475] Initializing XFRM netlink socket
[ 1.060954] NET: Registered protocol family 17
[ 1.065456] NET: Registered protocol family 15
[ 1.069947] Key type dns_resolver registered
[ 1.076355] Loading compiled-in X.509 certificates
[ 1.091069] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 1.102860] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 1.108650] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[ 1.119290] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.126221] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.133495] usb usb1: Product: MUSB HDRC host driver
[ 1.138459] usb usb1: Manufacturer: Linux 4.15.0-rc8-licheepi-nano+ musb-hcd
[ 1.145541] usb usb1: SerialNumber: musb-hdrc.1.auto
[ 1.152235] hub 1-0:1.0: USB hub found
[ 1.156190] hub 1-0:1.0: 1 port detected
[ 1.163273] rtc-pcf8563 0-0051: low voltage detected, date/time is not reliable.
[ 1.170774] rtc-pcf8563 0-0051: hctosys: unable to read the hardware clock
[ 1.178095] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 1.195693] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 1.202875] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 1.211591] cfg80211: failed to load regulatory.db
[ 1.221553] mmc0: queuing unknown CIS tuple 0x01 (3 bytes)
[ 1.249271] mmc0: queuing unknown CIS tuple 0x1a (5 bytes)
[ 1.265986] mmc0: queuing unknown CIS tuple 0x1b (8 bytes)
[ 1.278479] mmc0: queuing unknown CIS tuple 0x80 (1 bytes)
[ 1.289420] mmc0: queuing unknown CIS tuple 0x81 (1 bytes)
[ 1.300975] mmc0: queuing unknown CIS tuple 0x82 (1 bytes)
[ 1.312434] mmc0: new high speed SDIO card at address 0001
[ 1.355755] random: crng init done
[ 3.406601] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[ 3.415330] devtmpfs: mounted
[ 3.422804] Freeing unused kernel memory: 1024K
Starting syslogd: OK
Starting klogd: OK
Initializing random number generator... done.
Starting ntpd: /etc/init.d/S39ntpd: line 9: /usr/sbin/ntpd: not found
FAIL
Starting udhcpd: /etc/init.d/S39udhcpd: line 9: /usr/sbin/udhcpd: not found
FAIL
Starting network: [ 11.681581] mmc0: card 0001 removed
[ 11.775966] mmc0: queuing unknown CIS tuple 0x01 (3 bytes)
[ 11.793141] mmc0: queuing unknown CIS tuple 0x1a (5 bytes)
[ 11.805994] mmc0: queuing unknown CIS tuple 0x1b (8 bytes)
[ 11.820242] mmc0: queuing unknown CIS tuple 0x80 (1 bytes)
[ 11.834011] mmc0: queuing unknown CIS tuple 0x81 (1 bytes)
[ 11.847252] mmc0: queuing unknown CIS tuple 0x82 (1 bytes)
[ 11.859547] mmc0: new high speed SDIO card at address 0001
Successfully initialized wpa_supplicant
rfkill: Cannot open RFKILL control device
udhcpc: started, v1.29.3
udhcpc: sending discover
[ 22.730843] wlan0: authenticate with b8:f8:83:07:a4:ca
[ 22.736271] wlan0: send auth to b8:f8:83:07:a4:ca (try 1/3)
[ 22.745882] wlan0: authenticated
[ 22.760737] wlan0: associate with b8:f8:83:07:a4:ca (try 1/3)
[ 22.780676] wlan0: RX AssocResp from b8:f8:83:07:a4:ca (capab=0x31 status=0 aid=6)
[ 22.788476] wlan0: associated
udhcpc: sending discover
udhcpc: sending select for 192.168.16.67
udhcpc: lease of 192.168.16.67 obtained, lease time 3600
deleting routers
adding dns 218.2.2.2
adding dns 218.4.4.4
OK
Starting wpa_cli: Selected interface 'wlan0'
OK
[ 25.489044] file system registered
/etc/init.d/S90thttpd: .: line 20: can't open '/etc/rc.subr': No such file or directory
# install_listener('tcp:5037','*smartsocket*')
[ 27.453124] read descriptors
[ 27.456090] read strings
[ 27.458827] g_ffs gadget: g_ffs ready
[ 525.442399] wlan0: deauthenticating from b8:f8:83:07:a4:ca by local choice (Reason: 3=DEAUTH_LEAVING)
[ 525.605901] mmc0: card 0001 removed
[ 525.717189] mmc0: queuing unknown CIS tuple 0x01 (3 bytes)
[ 525.742506] mmc0: queuing unknown CIS tuple 0x1a (5 bytes)
[ 525.764860] mmc0: queuing unknown CIS tuple 0x1b (8 bytes)
[ 525.783052] mmc0: queuing unknown CIS tuple 0x80 (1 bytes)
[ 525.792949] mmc0: queuing unknown CIS tuple 0x81 (1 bytes)
[ 525.810852] mmc0: queuing unknown CIS tuple 0x82 (1 bytes)
[ 525.820275] mmc0: new high speed SDIO card at address 0001
[ 525.851177] esp_dump_var failed, debugfs root removed; var name: esp_msg_level
[ 526.571967] sip_write_memory send buffer failed
[ 526.576528] esp_download_fw Failed to write fw, err: -16
[ 526.581917] download firmware failed
[ 526.585494] esp_init_all failed: -16
[ 526.589060] first error exit
[ 527.601095] sip_detach wrong state 1
[ 527.605218] mmc0: card 0001 removed
[ 527.702166] mmc0: queuing unknown CIS tuple 0x01 (3 bytes)
[ 527.716867] mmc0: queuing unknown CIS tuple 0x1a (5 bytes)
[ 527.725633] mmc0: queuing unknown CIS tuple 0x1b (8 bytes)
[ 527.734705] mmc0: queuing unknown CIS tuple 0x80 (1 bytes)
[ 527.740405] mmc0: new high speed SDIO card at address 0001
[ 527.748088] Unable to handle kernel NULL pointer dereference at virtual address 0000002c
[ 527.756294] pgd = 7e72ea90
[ 527.759008] [0000002c] *pgd=00000000
[ 527.762676] Internal error: Oops: 17 [#1] ARM
[ 527.767030] Modules linked in: g_ffs usb_f_fs libcomposite esp8089
[ 527.773231] CPU: 0 PID: 16 Comm: kworker/0:1 Not tainted 4.15.0-rc8-licheepi-nano+ #67
[ 527.781121] Hardware name: Allwinner suniv Family
[ 527.785862] Workqueue: events_freezable mmc_rescan
[ 527.790792] PC is at esp_sdio_probe+0x54/0x410 [esp8089]
[ 527.796119] LR is at sdio_bus_probe+0xa0/0x118
[ 527.800556] pc : [<bf001110>] lr : [<c042c754>] psr: a0000013
[ 527.806808] sp : c3935df0 ip : c3b3ea24 fp : c3b3e800
[ 527.812020] r10: bf009150 r9 : c3b65808 r8 : bf00b9a4
[ 527.817236] r7 : bf00b07c r6 : c3190ce0 r5 : c3b65800 r4 : c309b200
[ 527.823746] r3 : 00000000 r2 : 00000003 r1 : bf009150 r0 : c3b65800
[ 527.830258] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
[ 527.837374] Control: 0005317f Table: 83064000 DAC: 00000053
[ 527.843113] Process kworker/0:1 (pid: 16, stack limit = 0x95963aa7)
[ 527.849366] Stack: (0xc3935df0 to 0xc3936000)
[ 527.853726] 5de0: 00000000 60000013 00000000 c3b65808
[ 527.861897] 5e00: 00000000 c3b65800 bf00b090 bf009150 00000000 00000000 00000000 c042c754
[ 527.870067] 5e20: c3b65808 c0969c34 00000000 bf00b090 0000000a c037c624 00000000 c3935e70
[ 527.878237] 5e40: c037c7b0 00000001 c0969c10 00000000 00000000 c037ac28 c38e541c c3010c34
[ 527.886408] 5e60: c3b65808 c3b6583c c3b65808 c037c2f0 c3b65808 00000001 c3b65808 c3b65810
[ 527.894579] 5e80: c092b2d0 c3b65808 00000000 c037b8fc c3b65810 c30d4008 c3b65808 c0379d84
[ 527.902750] 5ea0: 00000001 c057fffc c3b65800 c3b65808 c3b65800 c3b65808 c3b3e800 c30d4000
[ 527.910920] 5ec0: 00000000 00000001 c30d4000 c042ca6c 00000000 00000001 c3b3e800 c042bef8
[ 527.919089] 5ee0: 00000000 c3935eeb 00000000 10ffff00 00000000 c3b3ea38 00000000 c3b3e800
[ 527.927260] 5f00: 00061a80 c0631d70 00000000 00000008 c0909218 c0423794 c3b3ea38 c390a840
[ 527.935431] 5f20: c3f6a400 00000000 c0909218 c0129a64 c090922c c090e680 c390a840 c0909218
[ 527.943601] 5f40: ffffe000 c090922c c090e680 c390a858 00000008 c0129cc8 c3914620 00000000
[ 527.951772] 5f60: ffffe000 c38f9f40 c3914620 00000000 c3934000 c390a840 c0129c78 c383bee4
[ 527.959941] 5f80: c38f9f58 c012ec54 c3934000 c3914620 c012eb38 00000000 00000000 00000000
[ 527.968109] 5fa0: 00000000 00000000 00000000 c0107dc0 00000000 00000000 00000000 00000000
[ 527.976276] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 527.984444] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 98911800 1a959a95
[ 527.992750] [<bf001110>] (esp_sdio_probe [esp8089]) from [<c042c754>] (sdio_bus_probe+0xa0/0x118)
[ 528.001636] [<c042c754>] (sdio_bus_probe) from [<c037c624>] (driver_probe_device+0x250/0x334)
[ 528.010175] [<c037c624>] (driver_probe_device) from [<c037ac28>] (bus_for_each_drv+0x48/0x94)
[ 528.018698] [<c037ac28>] (bus_for_each_drv) from [<c037c2f0>] (__device_attach+0xac/0x114)
[ 528.026951] [<c037c2f0>] (__device_attach) from [<c037b8fc>] (bus_probe_device+0x84/0x8c)
[ 528.035122] [<c037b8fc>] (bus_probe_device) from [<c0379d84>] (device_add+0x370/0x58c)
[ 528.043046] [<c0379d84>] (device_add) from [<c042ca6c>] (sdio_add_func+0x58/0x70)
[ 528.050531] [<c042ca6c>] (sdio_add_func) from [<c042bef8>] (mmc_attach_sdio+0x250/0x324)
[ 528.058635] [<c042bef8>] (mmc_attach_sdio) from [<c0423794>] (mmc_rescan+0x324/0x3d0)
[ 528.066484] [<c0423794>] (mmc_rescan) from [<c0129a64>] (process_one_work+0x1d8/0x3ec)
[ 528.074407] [<c0129a64>] (process_one_work) from [<c0129cc8>] (worker_thread+0x50/0x5b8)
[ 528.082499] [<c0129cc8>] (worker_thread) from [<c012ec54>] (kthread+0x11c/0x134)
[ 528.089903] [<c012ec54>] (kthread) from [<c0107dc0>] (ret_from_fork+0x14/0x34)
[ 528.097124] Code: e5946004 e5883000 e5963004 e5862014 (e593302c)
[ 528.103369] ---[ end trace 215fc29dc0b199e9 ]---
离线
这个我测试了 https://github.com/al177/esp8089.git ,半天没问题,有人一起测试测试吗?
离线
esp8089_20191009-1512.rar
貌似把firmware做成头文件了。
离线
经测试,还是会崩掉,我添加一些log看看到底原因在哪
离线