____ _ ____ / __ \___ (_)__ ___ / __ \__ _ ___ ___ ____ _ / /_/ / _ \/ / _ \/ _ \ / /_/ / ' \/ -_) _ `/ _ `/ \____/_//_/_/\___/_//_/ \____/_/_/_/\__/\_, /\_,_/ W H A T W I L L Y O U I N V E N T ? /___/" Board: Onion Omega2 APSoC DRAM: 128 MB relocate_code Pointer at: 87f60000 flash manufacture id: c2, device id 20 19 find flash: MX25L25635E *** Warning - bad CRC, using default environment ============================================ Onion Omega2 UBoot Version: 4.3.0.3 -------------------------------------------- ASIC 7628_MP (Port5<->None) DRAM component: 1024 Mbits DDR, width 16 DRAM bus: 16 bit Total memory: 128 MBytes Flash component: SPI Flash Date:Oct 18 2016 Time:17:29:05 ============================================ icache: sets:512, ways:4, linesz:32 ,total:65536 dcache: sets:256, ways:4, linesz:32 ,total:32768 CPU freq = 575 MHZ Estimated memory size = 128 Mbytes Resetting MT7628 PHY. Initializing MT7688 GPIO system. ************************************** * Hold Reset button for more options * ************************************** Boot Linux from Flash NO RESET PRESSED. ## Booting image at bc050000 ... Image Name: MIPS LEDE Linux-4.4.32 Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1345538 Bytes = 1.3 MB Load Address: 80000000 Entry Point: 80000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 80000000) ... ## Giving linux memsize in MB, 128 Starting kernel ... [ 0.000000] Linux version 4.4.32 (root@2272a3272872) (gcc version 5.4.0 (LEDE GCC 5.4.0 r2292+1) ) #0 Wed Nov 23 00:21:47 2016 [ 0.000000] Board has DDR2 [ 0.000000] Analog PMU set to hw control [ 0.000000] Digital PMU set to hw control [ 0.000000] SoC Type: MediaTek MT7688 ver:1 eco:2 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019655 (MIPS 24KEc) [ 0.000000] MIPS: machine is Onion Omega2+ [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 08000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Writing ErrCtl register=0005af80 [ 0.000000] Readback ErrCtl register=0005af80 [ 0.000000] Memory: 125488K/131072K available (3103K kernel code, 141K rwdata, 752K rodata, 156K init, 196K bss, 5584K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:256 [ 0.000000] intc: using register map from devicetree [ 0.000000] CPU Clock: 580MHz [ 0.000000] clocksource_probe: no matching clocksources found [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns [ 0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns [ 0.007522] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216) [ 0.070037] pid_max: default: 32768 minimum: 301 [ 0.074638] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.080979] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.094407] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.104062] pinctrl core: initialized pinctrl subsystem [ 0.109786] NET: Registered protocol family 16 [ 0.135692] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.141167] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.146654] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.153212] i2c-mt7621 10000900.i2c: clock 100KHz, re-start not support [ 0.161027] clocksource: Switched to clocksource MIPS [ 0.167443] NET: Registered protocol family 2 [ 0.172578] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.179270] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.185450] TCP: Hash tables configured (established 1024 bind 1024) [ 0.191653] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.197256] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.203625] NET: Registered protocol family 1 [ 0.214037] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.219962] Crashlog allocated RAM at address 0x3f00000 [ 0.240246] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.245902] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.258139] io scheduler noop registered [ 0.261944] io scheduler deadline registered (default) [ 0.268317] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.276014] console [ttyS0] disabled [ 0.279440] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A [ 0.288219] console [ttyS0] enabled [ 0.288219] console [ttyS0] enabled [ 0.295212] bootconsole [early0] disabled [ 0.295212] bootconsole [early0] disabled [ 0.303971] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A [ 0.313562] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A [ 0.324283] spi-mt7621 10000b00.spi: sys_freq: 193333333 [ 0.334378] m25p80 spi32766.0: using chunked io (size=31) [ 0.339878] m25p80 spi32766.0: mx25l25635e (32768 Kbytes) [ 0.345448] 4 ofpart partitions found on MTD device spi32766.0 [ 0.351374] Creating 4 MTD partitions on "spi32766.0": [ 0.356590] 0x000000000000-0x000000030000 : "u-boot" [ 0.363404] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.370631] 0x000000040000-0x000000050000 : "factory" [ 0.377670] 0x000000050000-0x000002000000 : "firmware" [ 0.425481] 2 uimage-fw partitions found on MTD device firmware [ 0.431539] 0x000000050000-0x000000198842 : "kernel" [ 0.438231] 0x000000198842-0x000002000000 : "rootfs" [ 0.445135] mtd: device 5 (rootfs) set to be root filesystem [ 0.450949] 1 squashfs-split partitions found on MTD device rootfs [ 0.457286] 0x0000006b0000-0x000002000000 : "rootfs_data" [ 0.474397] rt3050-esw 10110000.esw: link changed 0x00 [ 0.482079] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5 [ 0.490683] i2c /dev entries driver [ 0.494877] mt7621_wdt 10000120.watchdog: Initialized [ 0.500240] MTK MSDC device init. [ 0.541173] mtk-sd: MediaTek MT6575 MSDC Driver [ 0.547207] NET: Registered protocol family 10 [ 0.555833] NET: Registered protocol family 17 [ 0.560432] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. [ 0.573289] 8021q: 802.1Q VLAN Support v1.8 [ 0.579810] mtk-linkit bootstrap: Version : [ 0.584312] mtk-linkit bootstrap: Revision : [ 0.593456] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 0.601540] Freeing unused kernel memory: 156K (803e9000 - 80410000) [ 1.630142] init: Console is alive [ 1.633908] init: - watchdog - [ 4.060126] usbcore: registered new interface driver usbfs [ 4.065881] usbcore: registered new interface driver hub [ 4.071411] usbcore: registered new device driver usb [ 4.082639] exFAT: Version 1.2.9 [ 4.125408] SCSI subsystem initialized [ 4.135869] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.144191] ehci-platform: EHCI generic platform driver [ 4.159847] phy phy-10120000.usbphy.0: remote usb device wakeup disabled [ 4.166664] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz [ 4.172007] ehci-platform 101c0000.ehci: EHCI Host Controller [ 4.177866] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1 [ 4.186033] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000 [ 4.211072] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00 [ 4.218594] hub 1-0:1.0: USB hub found [ 4.222834] hub 1-0:1.0: 1 port detected [ 4.231587] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 4.239425] ohci-platform: OHCI generic platform driver [ 4.245070] ohci-platform 101c1000.ohci: Generic Platform OHCI controller [ 4.252041] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2 [ 4.260158] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000 [ 4.326233] hub 2-0:1.0: USB hub found [ 4.330472] hub 2-0:1.0: 1 port detected [ 4.339293] sdhci: Secure Digital Host Controller Interface driver [ 4.345646] sdhci: Copyright(c) Pierre Ossman [ 4.351664] sdhci-pltfm: SDHCI platform and OF driver helper [ 4.361942] usbcore: registered new interface driver usb-storage [ 4.378502] init: - preinit - [ 5.261895] rt3050-esw 10110000.esw: link changed 0x00 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 [ 8.518386] mount_root: jffs2 not ready yet, using temporary tmpfs overlay [ 8.532750] urandom-seed: Seed file not found (/etc/urandom.seed) [ 8.698807] procd: - early - [ 8.702566] procd: - watchdog - [ 9.348075] procd: - ubus - [ 9.552494] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available) [ 9.562226] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available) [ 9.571449] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available) [ 9.581011] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available) [ 9.590264] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available) [ 9.599623] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available) [ 9.609037] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available) [ 9.618648] procd: - init - Please press Enter to activate this console. [ 10.147481] ntfs: driver 2.1.32 [Flags: R/O MODULE]. [ 10.212979] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 10.236054] Ralink/MTK WiFi EEPROM API Build for MT7620. [ 10.278307] WRTnode AP Driver version: 4.1.0.0 [ 10.351661] Linux video capture interface: v2.00 [ 10.394916] hidraw: raw HID events driver (C) Jiri Kosina [ 10.437647] Bluetooth: Core ver 2.21 [ 10.441468] NET: Registered protocol family 31 [ 10.445977] Bluetooth: HCI device and connection manager initialized [ 10.452458] Bluetooth: HCI socket layer initialized [ 10.457409] Bluetooth: L2CAP socket layer initialized [ 10.462573] Bluetooth: SCO socket layer initialized [ 10.470016] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 10.475485] Bluetooth: BNEP filters: protocol multicast [ 10.480795] Bluetooth: BNEP socket layer initialized [ 10.492519] usbcore: registered new interface driver btusb [ 10.502100] usbcore: registered new interface driver cdc_acm [ 10.507852] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 10.519733] Bluetooth: HCI UART driver ver 2.3 [ 10.524320] Bluetooth: HCI UART protocol H4 registered [ 10.529529] Bluetooth: HCI UART protocol BCSP registered [ 10.539120] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 10.545227] Bluetooth: HIDP socket layer initialized [ 10.553511] ip_tables: (C) 2000-2006 Netfilter Core Team [ 10.575715] nf_conntrack version 0.5.0 (1963 buckets, 7852 max) [ 10.605872] Bluetooth: RFCOMM TTY layer initialized [ 10.610855] Bluetooth: RFCOMM socket layer initialized [ 10.616149] Bluetooth: RFCOMM ver 1.11 [ 10.627754] spidev spi32766.1: buggy DT: spidev listed directly in DT [ 10.634373] ------------[ cut here ]------------ [ 10.639072] WARNING: CPU: 0 PID: 470 at drivers/spi/spidev.c:719 init_module+0x6f33c/0x6fdec [spidev]() [ 10.648608] Modules linked in: spidev(+) snd_usbmidi_lib slhc rfcomm nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_raw iptable_mangle iptable_filter ip_tables hidp hid_generic hci_uart crc_ccitt cdc_acm btusb btintel bnep bluetooth snd_soc_simple_card snd_soc_ralink_i2s snd_soc_wm8960 videobuf2_vmalloc videobuf2_memops videobuf2_core hid v4l2_common videodev evdev snd_soc_core ralink_gdma virt_dma mt76x8 ralink_eeprom_api ledtrig_oneshot ledtrig_heartbeat ledtrig_gpio ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables msdos snd_pcm_dmaengine snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore vfat fat ntfs autofs4 nls_utf8 nls_iso8859_1 nls_cp437 regmap_i2c dma_shared_buffer ecb cmac usb_storage sdhci_pltfm sdhci leds_gpio ohci_platform ohci_hcd ledtrig_transient ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache exfat usbcore nls_base usb_common crc16 cryptomgr aead crypto_null crc32c_generic crypto_hash [ 10.753368] CPU: 0 PID: 470 Comm: kmodloader Not tainted 4.4.32 #0 [ 10.759629] Stack : 80380328 00000000 00000001 803d0000 87da6a80 803ccd83 80361c94 000001d6 80413434 0000000a 0000001a 024000c0 80065e4c 8004aa78 80367190 803d0000 00000003 0000000a 80365594 8752fb4c 80065e4c 800489e4 00000000 00000000 00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ... [ 10.795780] Call Trace: [ 10.798314] [<80065e4c>] module_sect_show+0x0/0x18 [ 10.803194] [<8004aa78>] vprintk_default+0x24/0x30 [ 10.808068] [<80065e4c>] module_sect_show+0x0/0x18 [ 10.812936] [<800489e4>] printk+0x2c/0x38 [ 10.817018] [<80025124>] warn_slowpath_common+0xa0/0xd0 [ 10.822340] [<8014956c>] dump_stack+0x14/0x28 [ 10.826759] [<80014574>] show_stack+0x50/0x84 [ 10.831191] [<80025124>] warn_slowpath_common+0xa0/0xd0 [ 10.836498] [<870c233c>] init_module+0x6f33c/0x6fdec [spidev] [ 10.842337] [<870c0000>] 0x870c0000 [ 10.845887] [<800251dc>] warn_slowpath_null+0x18/0x24 [ 10.851032] [<8020d2ac>] of_match_node+0x20/0x44 [ 10.855741] [<870c0000>] 0x870c0000 [ 10.859284] [<870c233c>] init_module+0x6f33c/0x6fdec [spidev] [ 10.865137] [<801bbe28>] devm_kfree+0x20/0x44 [ 10.869567] [<801dcfb4>] spi_drv_probe+0x3c/0x84 [ 10.874276] [<801b8958>] driver_probe_device+0x120/0x288 [ 10.879683] [<80089d34>] kstrdup+0x44/0x8c [ 10.883884] [<801dceb4>] spi_match_device+0x38/0xa8 [ 10.888851] [<801b8b3c>] __driver_attach+0x7c/0xb4 [ 10.893744] [<801b6d60>] next_device+0x10/0x30 [ 10.898261] [<801b8ac0>] __driver_attach+0x0/0xb4 [ 10.903052] [<801b6e1c>] bus_for_each_dev+0x9c/0xac [ 10.908013] [<80303efc>] klist_add_tail+0x24/0x50 [ 10.912792] [<870c0000>] 0x870c0000 [ 10.916334] [<801b6bf0>] bus_get+0x2c/0x50 [ 10.920508] [<801b8050>] bus_add_driver+0xec/0x20c [ 10.925386] [<800ac89c>] exact_match+0x0/0x8 [ 10.929720] [<800acda4>] exact_lock+0x0/0x24 [ 10.934063] [<870c0000>] 0x870c0000 [ 10.937600] [<870c0000>] 0x870c0000 [ 10.941146] [<801b9254>] driver_register+0xa8/0xf8 [ 10.946011] [<87053000>] init_module+0x0/0xdc [spidev] [ 10.951244] [<870c0000>] 0x870c0000 [ 10.954786] [<870c0000>] 0x870c0000 [ 10.958321] [<870c0000>] 0x870c0000 [ 10.961878] [<87053098>] init_module+0x98/0xdc [spidev] [ 10.967181] [<80155138>] kasprintf+0x1c/0x28 [ 10.971543] [<80045400>] __wake_up+0x24/0x48 [ 10.975875] [<87053000>] init_module+0x0/0xdc [spidev] [ 10.981120] [<8000d5c8>] do_one_initcall+0x1e8/0x214 [ 10.986168] [<80045400>] __wake_up+0x24/0x48 [ 10.990502] [<87053000>] init_module+0x0/0xdc [spidev] [ 10.995748] [<800340b8>] call_usermodehelper_exec+0x144/0x160 [ 11.001603] [<80033ba8>] call_usermodehelper_setup+0x38/0xa8 [ 11.007371] [<80065e4c>] module_sect_show+0x0/0x18 [ 11.012269] [<8006706c>] do_init_module+0x74/0x1cc [ 11.017139] [<8009d864>] __vunmap+0xf0/0x114 [ 11.021519] [<80068900>] load_module+0x16c0/0x1b68 [ 11.026384] [<80066438>] unknown_module_param_cb+0x0/0xac [ 11.031881] [<8009dd58>] __vmalloc_node+0x34/0x40 [ 11.036673] [<80068e3c>] SyS_init_module+0x94/0x180 [ 11.041642] [<80068ed8>] SyS_init_module+0x130/0x180 [ 11.046707] [<8000655c>] syscall_common+0x30/0x54 [ 11.051500] [<80008958>] __bzero+0xbc/0x164 [ 11.055740] [ 11.057251] ---[ end trace b91675aca1c67486 ]--- [ 11.069571] usbcore: registered new interface driver ums-alauda [ 11.078686] usbcore: registered new interface driver ums-cypress [ 11.087923] usbcore: registered new interface driver ums-datafab [ 11.096879] usbcore: registered new interface driver ums-freecom [ 11.106054] usbcore: registered new interface driver ums-isd200 [ 11.115275] usbcore: registered new interface driver ums-jumpshot [ 11.124410] usbcore: registered new interface driver ums-karma [ 11.134201] usbcore: registered new interface driver ums-sddr09 [ 11.143335] usbcore: registered new interface driver ums-sddr55 [ 11.152828] usbcore: registered new interface driver ums-usbat [ 11.164977] usbcore: registered new interface driver usbhid [ 11.170640] usbhid: USB HID core driver [ 11.178297] usbcore: registered new interface driver usblp [ 11.192218] usbcore: registered new interface driver usbserial [ 11.198262] usbcore: registered new interface driver usbserial_generic [ 11.205061] usbserial: USB Serial support registered for generic [ 11.223594] Driver for 1-wire Dallas network protocol. [ 11.253532] xt_time: kernel timezone is -0000 [ 11.260168] usbcore: registered new interface driver ch341 [ 11.265948] usbserial: USB Serial support registered for ch341-uart [ 11.274738] usbcore: registered new interface driver cp210x [ 11.280514] usbserial: USB Serial support registered for cp210x [ 11.290107] usbcore: registered new interface driver ftdi_sio [ 11.296163] usbserial: USB Serial support registered for FTDI USB Serial Device [ 11.318442] usbcore: registered new interface driver pl2303 [ 11.324331] usbserial: USB Serial support registered for pl2303 [ 11.335780] PPP generic driver version 2.4.2 [ 11.343426] NET: Registered protocol family 24 [ 11.361156] usbcore: registered new interface driver snd-usb-audio [ 11.378322] usbcore: registered new interface driver uvcvideo [ 11.384221] USB Video Class driver (1.1.1) [ 11.560378] random: jshn: uninitialized urandom read (4 bytes read, 19 bits of entropy available) [ 11.639153] random: jshn: uninitialized urandom read (4 bytes read, 19 bits of entropy available) [ 11.767755] random: jshn: uninitialized urandom read (4 bytes read, 19 bits of entropy available) [ 18.405136] EEPROM:Read from [factory] offset 0x0,length 0x400. It stops at this 18.405136 line and does not respond to any key presses