DIY Omega2 Pro - Try it before buy
-
Split over two posts due to post size limitations.
There is an official comparison between Omega2 Pro and Omega2+ here. Let's refine that nice table ;-).
-
Memory
-- Omega2 Pro 512 MB so-called effective (???) RAM - it's 128 MB RAM plus 384 MB eMMC Swap in reality
-- Omega2+ 128 MB RAM but we also can add 384 MB Swap eg. on a USB memory stick (or even on a MicroSD card)
See also Extending the Omega’s Available Memory
BTW This was Onion's opinion about that Swap File:
"This isn’t exactly equivalent to adding more RAM because memory is much, much faster than storage."
And this is not the most important difference between the RAM (Random Access Memory) and the Swap File / Partition - I think. -
Storage
-- Omega2 Pro 8 GB eMMC
-- Omega2+ 32 MB but we can add also a 8 (16, 32, ...) GB MicroSD Card
See also Using a MicroSD Card and Booting from External Storage -
Battery Management
-- Omega2 Pro LiPo (use and charge)
-- Omega2+ None
Let's talk about Omega2 Pro's on board "Power Dock" later.
The rest of data are correct.
"Think of the Omega2 Pro as an Omega2+ built into a Dock that combines the Expansion Dock, Power Dock 2, and 8 GB of storage." wrote Onion. This is true - although one can thinks of it as a fairly dumb Omega2S+ breakout board.
They say Omega2 Pro is the most powerful Omega yet - so we should try to proof this concept.
Let's start with an Omega2+, FW v0.2.2 b202 for example, sitting on any Dock that has Serial Console (an Expansion Dock would be the best choice because of the same Expansion Header) and an 8 GB microSD card is inserted of course.
Let's start with the usual Manual Firmware Installation commands on the Serial Console.
cd /tmp
wget <FIRMWARE LINK ADDRESS>
sysupgrade -i --force <FIRMWARE FILE NAME>
# '--force' is mandatory '-i' is notBe patient! @Lazar-Demin wrote here:
The full firmware upgrade process may take up to 5 minutes and your Omega2 Pro will reboot twice!
The first reboot will happen after the firmware has been updated, then once the device initializes, it will configure everything to run from the eMMC storage, after which it will reboot again. This will only happen on the first boot after an upgrade.Serial Console log part 1/1
BusyBox v1.25.1 () built-in shell (ash) ____ _ ____ / __ \___ (_)__ ___ / __ \__ _ ___ ___ ____ _ / /_/ / _ \/ / _ \/ _ \ / /_/ / ' \/ -_) _ `/ _ `/ \____/_//_/_/\___/_//_/ \____/_/_/_/\__/\_, /\_,_/ W H A T W I L L Y O U I N V E N T ? /___/ ----------------------------------------------------- Ω-ware: 0.2.2 b202 ----------------------------------------------------- root@Omega-99A5:/# cd /tmp root@Omega-99A5:/tmp# wget http://repo.onioniot.com.s3.amazonaws.com/omega2/images/omega2pro-v0.3.1-b214.bin --2019-02-19 10:43:59-- http://repo.onioniot.com.s3.amazonaws.com/omega2/images/omega2pro-v0.3.1-b214.bin Resolving repo.onioniot.com.s3.amazonaws.com... 52.216.133.3 Connecting to repo.onioniot.com.s3.amazonaws.com|52.216.133.3|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 9699511 (9.2M) [application/octet-stream] Saving to: 'omega2pro-v0.3.1-b214.bin' omega2pro-v0.3.1-b2 100%[===================>] 9.25M 1.53MB/s in 7.9s 2019-02-19 10:44:08 (1.17 MB/s) - 'omega2pro-v0.3.1-b214.bin' saved [9699511/9699511] root@Omega-99A5:/tmp# sysupgrade -i --force omega2pro-v0.3.1-b214.bin Device omega2p not supported by this image Supported devices: omega2pro Image check 'fwtool_check_image' failed but --force given - will update anyway! Keep config files over reflash (Y/n): n killall: watchdog: no process killed Sending TERM to remaining processes ... netifd odhcpd uhttpd onion-helper avahi-daemon mosquitto ntpd shellinaboxd ap_client dnsmasq ubusd logd rpcd mountd Sending KILL to remaining processes ... Switching to ramdisk... Performing system upgrade... Unlocking firmware ... Writing from <stdin> to firmware ... Upgrade completed Reboot (Y/n): Y Rebooting system... umount: can't unmount /dev: Resource busy umount: can't unmount /tmp: Resource busy [ 4283.190711] Removing MTD device #6 (rootfs_data) with use count 1 [ 4283.224689] reboot: Restarting system ____ _ ____ / __ \___ (_)__ ___ / __ \__ _ ___ ___ ____ _ / /_/ / _ \/ / _ \/ _ \ / /_/ / ' \/ -_) _ `/ _ `/ \____/_//_/_/\___/_//_/ \____/_/_/_/\__/\_, /\_,_/ 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 ****************************** Software System Reset Occurred ****************************** flash manufacture id: c2, device id 20 19 find flash: MX25L25635E ============================================ 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 OpenWrt Linux-4.14.81 Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1572303 Bytes = 1.5 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.14.81 (jenkins@f2c5b085c3c5) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r0+7428-2af79b2e09)) #0 Fri Feb 1 01:17:10 2019 [ 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 Pro [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 04000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 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] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] random: get_random_bytes called from start_kernel+0x8c/0x474 with crng_init=0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 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] Writing ErrCtl register=000710b0 [ 0.000000] Readback ErrCtl register=000710b0 [ 0.000000] Memory: 59740K/65536K available (3613K kernel code, 198K rwdata, 900K rodata, 208K init, 202K bss, 5796K 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] timer_probe: no matching timers 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.007538] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216) [ 0.073499] pid_max: default: 32768 minimum: 301 [ 0.078196] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.084542] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.098669] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.108164] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.114110] pinctrl core: initialized pinctrl subsystem [ 0.119694] NET: Registered protocol family 16 [ 0.152894] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.158504] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.164115] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.170593] i2c-mt7621 10000900.i2c: clock 100 kHz [ 0.180044] clocksource: Switched to clocksource MIPS [ 0.186304] NET: Registered protocol family 2 [ 0.191485] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.198176] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.204362] TCP: Hash tables configured (established 1024 bind 1024) [ 0.210610] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.216211] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.222585] NET: Registered protocol family 1 [ 0.230556] Crashlog allocated RAM at address 0x3f00000 [ 0.237117] workingset: timestamp_bits=30 max_order=14 bucket_order=0 [ 0.249345] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.254970] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.274814] io scheduler noop registered [ 0.278545] io scheduler deadline registered (default) [ 0.284560] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled [ 0.291936] console [ttyS0] disabled [ 0.295372] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A [ 0.304146] console [ttyS0] enabled [ 0.304146] console [ttyS0] enabled [ 0.311139] bootconsole [early0] disabled [ 0.311139] bootconsole [early0] disabled [ 0.319883] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A [ 0.329207] rt2880-pinmux pinctrl: pin io20 already requested by pinctrl; cannot claim for 10000e00.uart2 [ 0.338970] rt2880-pinmux pinctrl: pin-20 (10000e00.uart2) status -22 [ 0.345519] rt2880-pinmux pinctrl: could not request pin 20 (io20) from group uart2 on device rt2880-pinmux [ 0.355495] of_serial 10000e00.uart2: Error applying setting, reverse things back [ 0.363419] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A [ 0.372928] cacheinfo: Failed to find cpu0 device node [ 0.378141] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 0.385149] spi-mt7621 10000b00.spi: sys_freq: 193333333 [ 0.396309] m25p80 spi0.0: mx25l25635e (32768 Kbytes) [ 0.401551] 4 fixed-partitions partitions found on MTD device spi0.0 [ 0.407992] Creating 4 MTD partitions on "spi0.0": [ 0.412870] 0x000000000000-0x000000030000 : "u-boot" [ 0.418859] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.425173] 0x000000040000-0x000000050000 : "factory" [ 0.431213] 0x000000050000-0x000001000000 : "firmware" [ 0.473151] 2 uimage-fw partitions found on MTD device firmware [ 0.479177] 0x000000050000-0x0000001cfe0f : "kernel" [ 0.485204] 0x0000001cfe0f-0x000001000000 : "rootfs" [ 0.491109] mtd: device 5 (rootfs) set to be root filesystem [ 0.498321] 1 squashfs-split partitions found on MTD device rootfs [ 0.504668] 0x000000970000-0x000001000000 : "rootfs_data" [ 0.512078] libphy: Fixed MDIO Bus: probed [ 0.525011] rt3050-esw 10110000.esw: link changed 0x00 [ 0.534610] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5 [ 0.543312] i2c /dev entries driver [ 0.548666] NET: Registered protocol family 10 [ 0.557501] Segment Routing with IPv6 [ 0.561406] NET: Registered protocol family 17 [ 0.565970] 8021q: 802.1Q VLAN Support v1.8 [ 0.579627] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 0.587992] Freeing unused kernel memory: 208K [ 0.592534] This architecture does not have kernel memory protection. [ 1.508644] init: Console is alive [ 1.512441] init: - watchdog - [ 2.239148] random: fast init done [ 5.015305] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 5.314273] usbcore: registered new interface driver usbfs [ 5.319941] usbcore: registered new interface driver hub [ 5.325519] usbcore: registered new device driver usb [ 5.337177] exFAT: Version 1.2.9 [ 5.375154] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 5.391485] SCSI subsystem initialized [ 5.400959] ehci-platform: EHCI generic platform driver [ 5.416630] phy phy-10120000.usbphy.0: remote usb device wakeup disabled [ 5.423446] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz [ 5.428760] ehci-platform 101c0000.ehci: EHCI Host Controller [ 5.434652] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1 [ 5.442843] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000 [ 5.470095] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00 [ 5.477552] hub 1-0:1.0: USB hub found [ 5.481865] hub 1-0:1.0: 1 port detected [ 5.491799] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 5.499638] ohci-platform: OHCI generic platform driver [ 5.505327] ohci-platform 101c1000.ohci: Generic Platform OHCI controller [ 5.512298] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2 [ 5.520430] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000 [ 5.595113] hub 2-0:1.0: USB hub found [ 5.599391] hub 2-0:1.0: 1 port detected [ 5.618300] MTK MSDC device init. [ 5.680282] mtk-sd: MediaTek MT6575 MSDC Driver [ 5.691860] sdhci: Secure Digital Host Controller Interface driver [ 5.698155] sdhci: Copyright(c) Pierre Ossman [ 5.704246] sdhci-pltfm: SDHCI platform and OF driver helper [ 5.716239] usbcore: registered new interface driver usb-storage [ 5.728156] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 5.746056] init: - preinit - [ 5.770185] mmc0: new high speed SDHC card at address 0002 [ 5.784752] mmcblk0: mmc0:0002 00000 7.32 GiB [ 5.796606] mmcblk0: p1 [ 7.159505] 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 [ 7.359745] random: procd: uninitialized urandom read (4 bytes read) [ 10.603210] mount_root: loading kmods from internal overlay [ 10.674799] kmodloader: loading kernel modules from //etc/modules-boot.d/* [ 10.688217] kmodloader: done loading kernel modules from //etc/modules-boot.d/* [ 11.792373] block: attempting to load /etc/config/fstab [ 11.803098] block: unable to load configuration (fstab: Entry not found) [ 11.809973] block: no usable configuration [ 11.815166] mount_root: jffs2 not ready yet, using temporary tmpfs overlay [ 11.891300] urandom-seed: Seed file not found (/etc/urandom.seed) [ 12.103727] procd: - early - [ 12.106771] procd: - watchdog - [ 12.777774] procd: - watchdog - [ 12.781312] procd: - ubus - [ 12.878398] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.080090] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.087049] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.094555] procd: - init - Please press Enter to activate this console. [ 13.652250] kmodloader: loading kernel modules from /etc/modules.d/* [ 13.822293] RPC: Registered named UNIX socket transport module. [ 13.828306] RPC: Registered udp transport module. [ 13.833137] RPC: Registered tcp transport module. [ 13.837905] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 13.856449] ntfs: driver 2.1.32 [Flags: R/O MODULE]. [ 13.947301] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 14.613784] [ 14.613784] [ 14.613784] === pAd = c062b000, size = 1178064 === [ 14.613784] [ 14.625094] mt7628_init(FW(8a00), HW(8a01), CHIPID(7628)) [ 14.674267] Linux video capture interface: v2.00 [ 14.691868] hidraw: raw HID events driver (C) Jiri Kosina [ 14.721339] ledchain: pwm_base=0xB0005000 [ 14.725555] ledchain: Device: /dev/ledchain2 [ 14.729883] ledchain: - PWM channel : 2 [ 14.734101] ledchain: - PWM buffer size: 12 [ 14.738339] ledchain: - Number of LEDs : 1 [ 14.742497] ledchain: - Inverted : 0 [ 14.746646] ledchain: - LED type : WS2812 [ 14.751259] ledchain: - Max retries : 3 [ 14.786818] Bluetooth: Core ver 2.22 [ 14.790637] NET: Registered protocol family 31 [ 14.795144] Bluetooth: HCI device and connection manager initialized [ 14.801631] Bluetooth: HCI socket layer initialized [ 14.806589] Bluetooth: L2CAP socket layer initialized [ 14.811786] Bluetooth: SCO socket layer initialized [ 14.819632] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 14.825100] Bluetooth: BNEP filters: protocol multicast [ 14.830426] Bluetooth: BNEP socket layer initialized [ 14.843137] usbcore: registered new interface driver btusb [ 14.853443] usbcore: registered new interface driver cdc_acm [ 14.859194] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 14.871882] Bluetooth: HCI UART driver ver 2.3 [ 14.876401] Bluetooth: HCI UART protocol H4 registered [ 14.881668] Bluetooth: HCI UART protocol BCSP registered [ 14.891710] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 14.897740] Bluetooth: HIDP socket layer initialized [ 14.908834] ip_tables: (C) 2000-2006 Netfilter Core Team [ 14.936843] nf_conntrack version 0.5.0 (1024 buckets, 4096 max) [ 15.035480] rt2880-pinmux pinctrl: pin io18 already requested by pinctrl; cannot claim for 10005000.pwm [ 15.045095] rt2880-pinmux pinctrl: pin-18 (10005000.pwm) status -22 [ 15.051471] rt2880-pinmux pinctrl: could not request pin 18 (io18) from group pwm0 on device rt2880-pinmux [ 15.061370] mtk-pwm 10005000.pwm: Error applying setting, reverse things back [ 15.075927] Bluetooth: RFCOMM TTY layer initialized [ 15.080966] Bluetooth: RFCOMM socket layer initialized [ 15.086206] Bluetooth: RFCOMM ver 1.11 [ 15.107242] usbcore: registered new interface driver ums-alauda [ 15.116513] usbcore: registered new interface driver ums-cypress [ 15.126019] usbcore: registered new interface driver ums-datafab [ 15.135271] usbcore: registered new interface driver ums-freecom [ 15.144694] usbcore: registered new interface driver ums-isd200 [ 15.154244] usbcore: registered new interface driver ums-jumpshot [ 15.163627] usbcore: registered new interface driver ums-karma [ 15.173795] usbcore: registered new interface driver ums-sddr09 [ 15.183207] usbcore: registered new interface driver ums-sddr55 [ 15.193061] usbcore: registered new interface driver ums-usbat [ 15.206397] usbcore: registered new interface driver usbhid [ 15.212121] usbhid: USB HID core driver [ 15.220536] usbcore: registered new interface driver usblp [ 15.236206] usbcore: registered new interface driver usbserial [ 15.242300] usbcore: registered new interface driver usbserial_generic [ 15.249006] usbserial: USB Serial support registered for generic [ 15.268753] Driver for 1-wire Dallas network protocol. [ 15.298151] xt_time: kernel timezone is -0000 [ 15.305128] usbcore: registered new interface driver ch341 [ 15.310893] usbserial: USB Serial support registered for ch341-uart [ 15.320389] usbcore: registered new interface driver cp210x [ 15.326144] usbserial: USB Serial support registered for cp210x [ 15.336203] usbcore: registered new interface driver ftdi_sio [ 15.342230] usbserial: USB Serial support registered for FTDI USB Serial Device [ 15.363703] usbcore: registered new interface driver pl2303 [ 15.369458] usbserial: USB Serial support registered for pl2303 [ 15.381548] PPP generic driver version 2.4.2 [ 15.389328] NET: Registered protocol family 24 [ 15.409104] usbcore: registered new interface driver snd-usb-audio [ 15.432805] usbcore: registered new interface driver uvcvideo [ 15.438641] USB Video Class driver (1.1.1) [ 15.449888] usbcore: registered new interface driver option [ 15.455732] usbserial: USB Serial support registered for GSM modem (1-port) [ 15.468384] kmodloader: done loading kernel modules from /etc/modules.d/* [ 15.895399] urandom_read: 5 callbacks suppressed [ 15.895409] random: jshn: uninitialized urandom read (4 bytes read) [ 26.704718] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: [ 31.691736] IPv6: ADDRCONF(NETDEV_UP): br-wlan: link is not ready [ 32.583116] [ 32.583116] _ _____ ___ ___ _________ ___ ____ [ 32.583116] | | /| / / _ | / _ \/ _ \ / ___/ __ \/ _ \/ __/ V1.1 [ 32.583116] | |/ |/ / __ |/ , _/ ___/ / /__/ /_/ / , _/ _/ [ 32.583116] |__/|__/_/ |_/_/|_/_/ \___/\____/_/|_/___/ [ 32.583116] Onion Enhanced MT7688 WiFi Driver [ 32.583116] [ 32.931438] DMA Scheduler Mode=0(LMAC) [ 32.935271] efuse_probe: efuse = 10000012 [ 32.939387] 1. Phy Mode = 14 [ 33.228584] 2. Phy Mode = 14 [ 33.231629] 3. Phy Mode = 14 [ 33.260538] WTBL Segment 1 info: [ 33.263916] MemBaseAddr/FID:0x28000/0 [ 33.267803] EntrySize/Cnt:32/128 [ 33.271338] WTBL Segment 2 info: [ 33.274698] MemBaseAddr/FID:0x40000/0 [ 33.278584] EntrySize/Cnt:64/128 [ 33.282054] WTBL Segment 3 info: [ 33.285412] MemBaseAddr/FID:0x42000/64 [ 33.289384] EntrySize/Cnt:64/128 [ 33.292840] WTBL Segment 4 info: [ 33.296199] MemBaseAddr/FID:0x44000/128 [ 33.300272] EntrySize/Cnt:32/128 [ 46.959013] br-wlan: port 1(ra0) entered blocking state [ 46.964427] br-wlan: port 1(ra0) entered disabled state [ 46.970180] device ra0 entered promiscuous mode [ 46.974951] br-wlan: port 1(ra0) entered blocking state [ 46.980287] br-wlan: port 1(ra0) entered forwarding state [ 46.987015] IPv6: ADDRCONF(NETDEV_CHANGE): br-wlan: link becomes ready [ 54.701416] device ra0 left promiscuous mode [ 54.705890] br-wlan: port 1(ra0) entered disabled state [ 55.745135] IPv6: ADDRCONF(NETDEV_UP): br-wlan: link is not ready [ 56.484546] IPv6: ADDRCONF(NETDEV_UP): ra0: link is not ready [ 56.744393] IPv6: ADDRCONF(NETDEV_CHANGE): ra0: link becomes ready [ 57.766877] br-wlan: port 1(ra0) entered blocking state [ 57.772262] br-wlan: port 1(ra0) entered disabled state [ 57.777917] device ra0 entered promiscuous mode [ 57.782751] br-wlan: port 1(ra0) entered blocking state [ 57.788055] br-wlan: port 1(ra0) entered forwarding state [ 57.795066] IPv6: ADDRCONF(NETDEV_CHANGE): br-wlan: link becomes ready [ 76.435216] random: crng init done [ 123.007213] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0 [ 123.023099] jffs2_build_filesystem(): unlocking the mtd device... [ 123.023111] done. [ 123.031488] jffs2_build_filesystem(): erasing all blocks after the end marker... [ 159.814105] done. [ 159.823726] jffs2: notice: (2148) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. [ 160.379402] overlayfs: upper fs does not support tmpfile. > Omega2 Pro initializing... [ 237.302803] br-wlan: port 1(ra0) entered disabled state [ 237.473942] device ra0 left promiscuous mode [ 237.478390] br-wlan: port 1(ra0) entered disabled state [ 242.498317] Removing MTD device #6 (rootfs_data) with use count 1 [ 242.518139] reboot: Restarting system
-
-
Serial Console log part 2/1
____ _ ____ / __ \___ (_)__ ___ / __ \__ _ ___ ___ ____ _ / /_/ / _ \/ / _ \/ _ \ / /_/ / ' \/ -_) _ `/ _ `/ \____/_//_/_/\___/_//_/ \____/_/_/_/\__/\_, /\_,_/ 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 ****************************** Software System Reset Occurred ****************************** flash manufacture id: c2, device id 20 19 find flash: MX25L25635E ============================================ 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 OpenWrt Linux-4.14.81 Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1572303 Bytes = 1.5 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.14.81 (jenkins@f2c5b085c3c5) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r0+7428-2af79b2e09)) #0 Fri Feb 1 01:17:10 2019 [ 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 Pro [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 04000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 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] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] random: get_random_bytes called from start_kernel+0x8c/0x474 with crng_init=0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 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] Writing ErrCtl register=000710bd [ 0.000000] Readback ErrCtl register=000710bd [ 0.000000] Memory: 59740K/65536K available (3613K kernel code, 198K rwdata, 900K rodata, 208K init, 202K bss, 5796K 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] timer_probe: no matching timers 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.007538] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216) [ 0.073499] pid_max: default: 32768 minimum: 301 [ 0.078196] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.084542] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.098670] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.108164] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.114110] pinctrl core: initialized pinctrl subsystem [ 0.119694] NET: Registered protocol family 16 [ 0.152894] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.158504] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.164115] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.170593] i2c-mt7621 10000900.i2c: clock 100 kHz [ 0.180046] clocksource: Switched to clocksource MIPS [ 0.186306] NET: Registered protocol family 2 [ 0.191487] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.198179] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.204364] TCP: Hash tables configured (established 1024 bind 1024) [ 0.210613] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.216213] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.222587] NET: Registered protocol family 1 [ 0.230558] Crashlog allocated RAM at address 0x3f00000 [ 0.237119] workingset: timestamp_bits=30 max_order=14 bucket_order=0 [ 0.249347] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.254971] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.274816] io scheduler noop registered [ 0.278547] io scheduler deadline registered (default) [ 0.284562] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled [ 0.291939] console [ttyS0] disabled [ 0.295374] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A [ 0.304149] console [ttyS0] enabled [ 0.304149] console [ttyS0] enabled [ 0.311141] bootconsole [early0] disabled [ 0.311141] bootconsole [early0] disabled [ 0.319885] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A [ 0.329209] rt2880-pinmux pinctrl: pin io20 already requested by pinctrl; cannot claim for 10000e00.uart2 [ 0.338972] rt2880-pinmux pinctrl: pin-20 (10000e00.uart2) status -22 [ 0.345522] rt2880-pinmux pinctrl: could not request pin 20 (io20) from group uart2 on device rt2880-pinmux [ 0.355499] of_serial 10000e00.uart2: Error applying setting, reverse things back [ 0.363422] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A [ 0.372931] cacheinfo: Failed to find cpu0 device node [ 0.378144] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 0.385153] spi-mt7621 10000b00.spi: sys_freq: 193333333 [ 0.396312] m25p80 spi0.0: mx25l25635e (32768 Kbytes) [ 0.401554] 4 fixed-partitions partitions found on MTD device spi0.0 [ 0.407995] Creating 4 MTD partitions on "spi0.0": [ 0.412874] 0x000000000000-0x000000030000 : "u-boot" [ 0.418862] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.425177] 0x000000040000-0x000000050000 : "factory" [ 0.431216] 0x000000050000-0x000001000000 : "firmware" [ 0.473169] 2 uimage-fw partitions found on MTD device firmware [ 0.479195] 0x000000050000-0x0000001cfe0f : "kernel" [ 0.485221] 0x0000001cfe0f-0x000001000000 : "rootfs" [ 0.491127] mtd: device 5 (rootfs) set to be root filesystem [ 0.498340] 1 squashfs-split partitions found on MTD device rootfs [ 0.504686] 0x000000970000-0x000001000000 : "rootfs_data" [ 0.512096] libphy: Fixed MDIO Bus: probed [ 0.525011] rt3050-esw 10110000.esw: link changed 0x00 [ 0.534610] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5 [ 0.543312] i2c /dev entries driver [ 0.548666] NET: Registered protocol family 10 [ 0.557501] Segment Routing with IPv6 [ 0.561407] NET: Registered protocol family 17 [ 0.565970] 8021q: 802.1Q VLAN Support v1.8 [ 0.579627] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 0.587992] Freeing unused kernel memory: 208K [ 0.592534] This architecture does not have kernel memory protection. [ 1.508592] init: Console is alive [ 1.512389] init: - watchdog - [ 2.238600] random: fast init done [ 5.017114] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 5.317079] usbcore: registered new interface driver usbfs [ 5.322833] usbcore: registered new interface driver hub [ 5.328320] usbcore: registered new device driver usb [ 5.339841] exFAT: Version 1.2.9 [ 5.377849] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 5.394211] SCSI subsystem initialized [ 5.403740] ehci-platform: EHCI generic platform driver [ 5.419413] phy phy-10120000.usbphy.0: remote usb device wakeup disabled [ 5.426228] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz [ 5.431569] ehci-platform 101c0000.ehci: EHCI Host Controller [ 5.437435] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1 [ 5.445630] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000 [ 5.480098] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00 [ 5.487598] hub 1-0:1.0: USB hub found [ 5.491860] hub 1-0:1.0: 1 port detected [ 5.501857] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 5.509713] ohci-platform: OHCI generic platform driver [ 5.515403] ohci-platform 101c1000.ohci: Generic Platform OHCI controller [ 5.522374] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2 [ 5.530508] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000 [ 5.605114] hub 2-0:1.0: USB hub found [ 5.609393] hub 2-0:1.0: 1 port detected [ 5.628336] MTK MSDC device init. [ 5.690283] mtk-sd: MediaTek MT6575 MSDC Driver [ 5.701862] sdhci: Secure Digital Host Controller Interface driver [ 5.708158] sdhci: Copyright(c) Pierre Ossman [ 5.714246] sdhci-pltfm: SDHCI platform and OF driver helper [ 5.726230] usbcore: registered new interface driver usb-storage [ 5.738162] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 5.756064] init: - preinit - [ 5.781118] mmc0: new high speed SDHC card at address 0002 [ 5.795692] mmcblk0: mmc0:0002 00000 7.32 GiB [ 5.807827] mmcblk0: p1 [ 7.168725] 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 [ 7.368350] random: procd: uninitialized urandom read (4 bytes read) [ 10.613058] mount_root: loading kmods from internal overlay [ 10.684805] kmodloader: loading kernel modules from //etc/modules-boot.d/* [ 10.698260] kmodloader: done loading kernel modules from //etc/modules-boot.d/* [ 11.793547] jffs2: notice: (437) jffs2_build_xattr_subsystem: complete building xattr subsystem, 3 of xdatum (0 unchecked, 1 orphan) and 4 of xref (1 dead, 0 orphan) found. [ 11.809816] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab [ 11.852732] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: [ 11.949707] mount_root: switched to extroot [ 11.957566] urandom-seed: Seed file not found (/etc/urandom.seed) [ 12.097953] procd: - early - [ 12.101079] procd: - watchdog - [ 12.845491] procd: - watchdog - [ 12.848942] procd: - ubus - [ 12.945853] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.145701] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.152723] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.160214] procd: - init - Please press Enter to activate this console. [ 13.705796] kmodloader: loading kernel modules from /etc/modules.d/* [ 13.876009] RPC: Registered named UNIX socket transport module. [ 13.882096] RPC: Registered udp transport module. [ 13.886864] RPC: Registered tcp transport module. [ 13.891641] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 13.910342] ntfs: driver 2.1.32 [Flags: R/O MODULE]. [ 14.001763] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 14.669563] [ 14.669563] [ 14.669563] === pAd = c062e000, size = 1178064 === [ 14.669563] [ 14.680939] mt7628_init(FW(8a00), HW(8a01), CHIPID(7628)) [ 14.730108] Linux video capture interface: v2.00 [ 14.747421] hidraw: raw HID events driver (C) Jiri Kosina [ 14.776849] ledchain: pwm_base=0xB0005000 [ 14.781161] ledchain: Device: /dev/ledchain2 [ 14.785493] ledchain: - PWM channel : 2 [ 14.789643] ledchain: - PWM buffer size: 12 [ 14.793927] ledchain: - Number of LEDs : 1 [ 14.798079] ledchain: - Inverted : 0 [ 14.802239] ledchain: - LED type : WS2812 [ 14.806829] ledchain: - Max retries : 3 [ 14.842122] Bluetooth: Core ver 2.22 [ 14.845861] NET: Registered protocol family 31 [ 14.850416] Bluetooth: HCI device and connection manager initialized [ 14.856871] Bluetooth: HCI socket layer initialized [ 14.861833] Bluetooth: L2CAP socket layer initialized [ 14.867013] Bluetooth: SCO socket layer initialized [ 14.874902] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 14.880370] Bluetooth: BNEP filters: protocol multicast [ 14.885680] Bluetooth: BNEP socket layer initialized [ 14.898280] usbcore: registered new interface driver btusb [ 14.908506] usbcore: registered new interface driver cdc_acm [ 14.914327] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 14.926870] Bluetooth: HCI UART driver ver 2.3 [ 14.931468] Bluetooth: HCI UART protocol H4 registered [ 14.936679] Bluetooth: HCI UART protocol BCSP registered [ 14.946708] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 14.952808] Bluetooth: HIDP socket layer initialized [ 14.963865] ip_tables: (C) 2000-2006 Netfilter Core Team [ 14.991556] nf_conntrack version 0.5.0 (1024 buckets, 4096 max) [ 15.094075] rt2880-pinmux pinctrl: pin io18 already requested by pinctrl; cannot claim for 10005000.pwm [ 15.103690] rt2880-pinmux pinctrl: pin-18 (10005000.pwm) status -22 [ 15.110065] rt2880-pinmux pinctrl: could not request pin 18 (io18) from group pwm0 on device rt2880-pinmux [ 15.119942] mtk-pwm 10005000.pwm: Error applying setting, reverse things back [ 15.134464] Bluetooth: RFCOMM TTY layer initialized [ 15.139441] Bluetooth: RFCOMM socket layer initialized [ 15.144744] Bluetooth: RFCOMM ver 1.11 [ 15.165933] usbcore: registered new interface driver ums-alauda [ 15.175210] usbcore: registered new interface driver ums-cypress [ 15.184766] usbcore: registered new interface driver ums-datafab [ 15.193989] usbcore: registered new interface driver ums-freecom [ 15.203459] usbcore: registered new interface driver ums-isd200 [ 15.213053] usbcore: registered new interface driver ums-jumpshot [ 15.222411] usbcore: registered new interface driver ums-karma [ 15.232639] usbcore: registered new interface driver ums-sddr09 [ 15.242092] usbcore: registered new interface driver ums-sddr55 [ 15.251961] usbcore: registered new interface driver ums-usbat [ 15.265335] usbcore: registered new interface driver usbhid [ 15.271056] usbhid: USB HID core driver [ 15.279381] usbcore: registered new interface driver usblp [ 15.295127] usbcore: registered new interface driver usbserial [ 15.301220] usbcore: registered new interface driver usbserial_generic [ 15.307922] usbserial: USB Serial support registered for generic [ 15.327674] Driver for 1-wire Dallas network protocol. [ 15.357234] xt_time: kernel timezone is -0000 [ 15.364250] usbcore: registered new interface driver ch341 [ 15.369919] usbserial: USB Serial support registered for ch341-uart [ 15.379464] usbcore: registered new interface driver cp210x [ 15.385304] usbserial: USB Serial support registered for cp210x [ 15.395400] usbcore: registered new interface driver ftdi_sio [ 15.401426] usbserial: USB Serial support registered for FTDI USB Serial Device [ 15.423156] usbcore: registered new interface driver pl2303 [ 15.428905] usbserial: USB Serial support registered for pl2303 [ 15.441004] PPP generic driver version 2.4.2 [ 15.448773] NET: Registered protocol family 24 [ 15.468502] usbcore: registered new interface driver snd-usb-audio [ 15.492213] usbcore: registered new interface driver uvcvideo [ 15.498049] USB Video Class driver (1.1.1) [ 15.509338] usbcore: registered new interface driver option [ 15.515178] usbserial: USB Serial support registered for GSM modem (1-port) [ 15.527874] kmodloader: done loading kernel modules from /etc/modules.d/* [ 16.441145] urandom_read: 5 callbacks suppressed [ 16.441155] random: jshn: uninitialized urandom read (4 bytes read) [ 24.143884] jffs2: notice: (1074) jffs2_build_xattr_subsystem: complete building xattr subsystem, 3 of xdatum (0 unchecked, 1 orphan) and 4 of xref (1 dead, 0 orphan) found. [ 28.086040] IPv6: ADDRCONF(NETDEV_UP): br-wlan: link is not ready [ 29.529652] [ 29.529652] _ _____ ___ ___ _________ ___ ____ [ 29.529652] | | /| / / _ | / _ \/ _ \ / ___/ __ \/ _ \/ __/ V1.1 [ 29.529652] | |/ |/ / __ |/ , _/ ___/ / /__/ /_/ / , _/ _/ [ 29.529652] |__/|__/_/ |_/_/|_/_/ \___/\____/_/|_/___/ [ 29.529652] Onion Enhanced MT7688 WiFi Driver [ 29.529652] [ 30.186952] DMA Scheduler Mode=0(LMAC) [ 30.190849] efuse_probe: efuse = 10000012 [ 30.194966] 1. Phy Mode = 14 [ 30.393110] 2. Phy Mode = 14 [ 30.396088] 3. Phy Mode = 14 [ 30.411181] WTBL Segment 1 info: [ 30.414558] MemBaseAddr/FID:0x28000/0 [ 30.418445] EntrySize/Cnt:32/128 [ 30.421937] WTBL Segment 2 info: [ 30.425294] MemBaseAddr/FID:0x40000/0 [ 30.429181] EntrySize/Cnt:64/128 [ 30.432638] WTBL Segment 3 info: [ 30.435994] MemBaseAddr/FID:0x42000/64 [ 30.439968] EntrySize/Cnt:64/128 [ 30.443424] WTBL Segment 4 info: [ 30.446780] MemBaseAddr/FID:0x44000/128 [ 30.450853] EntrySize/Cnt:32/128 [ 43.213967] br-wlan: port 1(ra0) entered blocking state [ 43.219325] br-wlan: port 1(ra0) entered disabled state [ 43.225060] device ra0 entered promiscuous mode [ 43.229841] br-wlan: port 1(ra0) entered blocking state [ 43.235199] br-wlan: port 1(ra0) entered forwarding state [ 43.243454] IPv6: ADDRCONF(NETDEV_CHANGE): br-wlan: link becomes ready [ 47.426676] random: crng init done [ 103.695119] Adding 393212k swap on /overlay/swap.page. Priority:-2 extents:3 across:405500k SS BusyBox v1.28.3 () built-in shell (ash) ____ _ ____ / __ \___ (_)__ ___ / __ \__ _ ___ ___ ____ _ / /_/ / _ \/ / _ \/ _ \ / /_/ / ' \/ -_) _ `/ _ `/ \____/_//_/_/\___/_//_/ \____/_/_/_/\__/\_, /\_,_/ W H A T W I L L Y O U I N V E N T ? /___/ ----------------------------------------------------- Ω-ware: 0.3.1 b214 ----------------------------------------------------- root@Omega-99A5:/# onion os version === Version Info === Omega firmware: v0.3.1 b214 onion-os - 1.0.6-1 root@Omega-99A5:/# ubus call system board { "kernel": "4.14.81", "hostname": "Omega-99A5", "system": "MediaTek MT7688 ver:1 eco:2", "model": "Onion Omega2 Pro", "board_name": "omega2pro", "release": { "distribution": "OpenWrt", "version": "18.06-SNAPSHOT", "revision": "r0+7434-de9f9124e5", "target": "ramips\/mt76x8", "description": "OpenWrt 18.06-SNAPSHOT r0+7434-de9f9124e5" } } root@Omega-99A5:/# df -h Filesystem Size Used Available Use% Mounted on /dev/root 7.8M 7.8M 0 100% /rom tmpfs 29.3M 496.0K 28.8M 2% /tmp /dev/mmcblk0p1 7.1G 417.3M 6.4G 6% /overlay overlayfs:/overlay 7.1G 417.3M 6.4G 6% / tmpfs 512.0K 0 512.0K 0% /dev /dev/mmcblk0p1 7.1G 417.3M 6.4G 6% /mnt/mmcblk0p1 /dev/mtdblock6 6.6M 372.0K 6.2M 6% /mnt/mtdblock6
Congratulation! You have a working DIY Omega2 Pro (more exactly an Omega2 Pro light ;-).
Unfortunately some things are missing...
- No "on-board" Power Dock. Let's talk about this later.
- eMMC - Lots of people say a microSD card or a USB pen drive is not an ideal device using for swap file / partition.
In the next post I'll show you an alternative memory device. - These pins of the SoC are not exposed on Omega2+
-- GPIO43 - no System Status LED
-- GPIO20 - no Full-color Notification LED
-- SPI_CS0 - so we can't hack the on-board flash chip directly - No VDD_FLASH pin - we can't use this "brute force" reset circuit - so the Expansion Header's RST pin (ie. the HW_RST pin) still won't work.
-
This post is deleted!
-
Let's go a step closer to the real Omega2 Pro board!
I think most of us wouldn't able to solder a BGA device
This is a relatively cheap eMMC module by FriendlyElec that fits quite well to Omega2+ on an Expansion Dock.
16GB eMMC 5.1 Module $12.95
MicroSD to eMMC adapter $1.90
(plus - for example - shipping to Hungary by China Post $7.00)
Omega2+ FW b202, 16 GB eMMC module, Expansion Dock
Upgrade from OpenWrt 17.01 based v0.2.2-b202 to OpenWrt 18.06 based v0.3.1 b214Let's start with the usual Manual Firmware Installation commands on the Serial Console again.
cd /tmp
wget http://repo.onioniot.com.s3.amazonaws.com/omega2/images/omega2pro-v0.3.1-b214.bin
sysupgrade -n --force omega2pro-v0.3.1-b214.bin
Serial Console log - split over two posts due to post size limitations.
part 1/1root@Omega-99A5:/# cd /tmp root@Omega-99A5:/tmp# wget http://repo.onioniot.com.s3.amazonaws.com/omega2/images/omega2pro-v0.3.1-b214.bin ...
No problem - the upgrade went well.
Sadly, I accidentally deleted the first part of this Serial Console log file. Since I did not check the original - out-of-the-box - state of my eMMC module I can't restore it. So I can't reproduce this very first boot / upgrade process. This is my first and only one eMMC device so I don't dare experimenting with it too much. Maybe I am not brave enough.
-
Serial Console log part 2/1
[ 16.980435] block: extroot: cannot find device with UUID aa6777ca-e88f-4b54-b7a4-84ad9bcf8d7a [ 17.052901] jffs2: notice: (442) jffs2_build_xattr_subsystem: complete building xattr subsystem, 3 of xdatum (0 unchecked, 1 orphan) and 4 of xref (1 dead, 0 orphan) found. [ 17.070170] mount_root: loading kmods from internal overlay [ 17.142486] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/* [ 17.153181] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/* [ 17.852583] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab [ 17.862442] block: extroot: device not present, retrying in 5 seconds [ 22.981386] block: extroot: cannot find device with UUID aa6777ca-e88f-4b54-b7a4-84ad9bcf8d7a [ 22.991291] mount_root: switching to jffs2 overlay [ 23.063762] overlayfs: upper fs does not support tmpfile. [ 23.073012] urandom-seed: Seed file not found (/etc/urandom.seed) [ 23.206544] procd: - early - [ 23.209586] procd: - watchdog - [ 23.957324] procd: - watchdog - [ 23.960894] procd: - ubus - [ 24.057617] random: ubusd: uninitialized urandom read (4 bytes read) [ 24.257406] random: ubusd: uninitialized urandom read (4 bytes read) [ 24.264433] random: ubusd: uninitialized urandom read (4 bytes read) [ 24.271984] procd: - init - Please press Enter to activate this console. [ 24.820281] kmodloader: loading kernel modules from /etc/modules.d/* [ 24.990258] RPC: Registered named UNIX socket transport module. [ 24.996272] RPC: Registered udp transport module. [ 25.001063] RPC: Registered tcp transport module. [ 25.005830] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 25.024209] ntfs: driver 2.1.32 [Flags: R/O MODULE]. [ 25.114864] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 25.780244] [ 25.780244] [ 25.780244] === pAd = c0634000, size = 1178064 === [ 25.780244] [ 25.791560] mt7628_init(FW(8a00), HW(8a01), CHIPID(7628)) [ 25.840828] Linux video capture interface: v2.00 [ 25.858468] hidraw: raw HID events driver (C) Jiri Kosina [ 25.887780] ledchain: pwm_base=0xB0005000 [ 25.892101] ledchain: Device: /dev/ledchain2 [ 25.896433] ledchain: - PWM channel : 2 [ 25.900631] ledchain: - PWM buffer size: 12 [ 25.904869] ledchain: - Number of LEDs : 1 [ 25.909018] ledchain: - Inverted : 0 [ 25.913179] ledchain: - LED type : WS2812 [ 25.917770] ledchain: - Max retries : 3 [ 25.953212] Bluetooth: Core ver 2.22 [ 25.956951] NET: Registered protocol family 31 [ 25.961508] Bluetooth: HCI device and connection manager initialized [ 25.967963] Bluetooth: HCI socket layer initialized [ 25.972927] Bluetooth: L2CAP socket layer initialized [ 25.978096] Bluetooth: SCO socket layer initialized [ 25.985933] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 25.991400] Bluetooth: BNEP filters: protocol multicast [ 25.996711] Bluetooth: BNEP socket layer initialized [ 26.009351] usbcore: registered new interface driver btusb [ 26.019649] usbcore: registered new interface driver cdc_acm [ 26.025469] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 26.037960] Bluetooth: HCI UART driver ver 2.3 [ 26.042542] Bluetooth: HCI UART protocol H4 registered [ 26.047752] Bluetooth: HCI UART protocol BCSP registered [ 26.057731] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 26.063831] Bluetooth: HIDP socket layer initialized [ 26.074844] ip_tables: (C) 2000-2006 Netfilter Core Team [ 26.102624] nf_conntrack version 0.5.0 (1024 buckets, 4096 max) [ 26.204840] rt2880-pinmux pinctrl: pin io18 already requested by pinctrl; cannot claim for 10005000.pwm [ 26.214457] rt2880-pinmux pinctrl: pin-18 (10005000.pwm) status -22 [ 26.220828] rt2880-pinmux pinctrl: could not request pin 18 (io18) from group pwm0 on device rt2880-pinmux [ 26.230727] mtk-pwm 10005000.pwm: Error applying setting, reverse things back [ 26.245319] Bluetooth: RFCOMM TTY layer initialized [ 26.250361] Bluetooth: RFCOMM socket layer initialized [ 26.255602] Bluetooth: RFCOMM ver 1.11 [ 26.276730] usbcore: registered new interface driver ums-alauda [ 26.285998] usbcore: registered new interface driver ums-cypress [ 26.295568] usbcore: registered new interface driver ums-datafab [ 26.304775] usbcore: registered new interface driver ums-freecom [ 26.314212] usbcore: registered new interface driver ums-isd200 [ 26.323810] usbcore: registered new interface driver ums-jumpshot [ 26.333168] usbcore: registered new interface driver ums-karma [ 26.343341] usbcore: registered new interface driver ums-sddr09 [ 26.352800] usbcore: registered new interface driver ums-sddr55 [ 26.362644] usbcore: registered new interface driver ums-usbat [ 26.375896] usbcore: registered new interface driver usbhid [ 26.381623] usbhid: USB HID core driver [ 26.389871] usbcore: registered new interface driver usblp [ 26.405347] usbcore: registered new interface driver usbserial [ 26.411443] usbcore: registered new interface driver usbserial_generic [ 26.418153] usbserial: USB Serial support registered for generic [ 26.437628] Driver for 1-wire Dallas network protocol. [ 26.466838] xt_time: kernel timezone is -0000 [ 26.473871] usbcore: registered new interface driver ch341 [ 26.479536] usbserial: USB Serial support registered for ch341-uart [ 26.489060] usbcore: registered new interface driver cp210x [ 26.494900] usbserial: USB Serial support registered for cp210x [ 26.504933] usbcore: registered new interface driver ftdi_sio [ 26.510973] usbserial: USB Serial support registered for FTDI USB Serial Device [ 26.532616] usbcore: registered new interface driver pl2303 [ 26.538372] usbserial: USB Serial support registered for pl2303 [ 26.550417] PPP generic driver version 2.4.2 [ 26.558179] NET: Registered protocol family 24 [ 26.578082] usbcore: registered new interface driver snd-usb-audio [ 26.601668] usbcore: registered new interface driver uvcvideo [ 26.607504] USB Video Class driver (1.1.1) [ 26.618735] usbcore: registered new interface driver option [ 26.624573] usbserial: USB Serial support registered for GSM modem (1-port) [ 26.637224] kmodloader: done loading kernel modules from /etc/modules.d/* [ 27.546821] urandom_read: 5 callbacks suppressed [ 27.546831] random: jshn: uninitialized urandom read (4 bytes read) [ 39.822040] IPv6: ADDRCONF(NETDEV_UP): br-wlan: link is not ready [ 41.234156] [ 41.234156] _ _____ ___ ___ _________ ___ ____ [ 41.234156] | | /| / / _ | / _ \/ _ \ / ___/ __ \/ _ \/ __/ V1.1 [ 41.234156] | |/ |/ / __ |/ , _/ ___/ / /__/ /_/ / , _/ _/ [ 41.234156] |__/|__/_/ |_/_/|_/_/ \___/\____/_/|_/___/ [ 41.234156] Onion Enhanced MT7688 WiFi Driver [ 41.234156] [ 41.955721] DMA Scheduler Mode=0(LMAC) [ 41.959552] efuse_probe: efuse = 10000012 [ 41.963748] 1. Phy Mode = 14 [ 42.225800] 2. Phy Mode = 14 [ 42.228767] 3. Phy Mode = 14 [ 42.250509] WTBL Segment 1 info: [ 42.253883] MemBaseAddr/FID:0x28000/0 [ 42.257769] EntrySize/Cnt:32/128 [ 42.261270] WTBL Segment 2 info: [ 42.264629] MemBaseAddr/FID:0x40000/0 [ 42.268514] EntrySize/Cnt:64/128 [ 42.271974] WTBL Segment 3 info: [ 42.275330] MemBaseAddr/FID:0x42000/64 [ 42.279304] EntrySize/Cnt:64/128 [ 42.282761] WTBL Segment 4 info: [ 42.286117] MemBaseAddr/FID:0x44000/128 [ 42.290190] EntrySize/Cnt:32/128 [ 55.648529] br-wlan: port 1(ra0) entered blocking state [ 55.653934] br-wlan: port 1(ra0) entered disabled state [ 55.659649] device ra0 entered promiscuous mode [ 55.664607] br-wlan: port 1(ra0) entered blocking state [ 55.669914] br-wlan: port 1(ra0) entered forwarding state [ 55.676257] IPv6: ADDRCONF(NETDEV_CHANGE): br-wlan: link becomes ready [ 63.446747] random: crng init done > Omega2 Pro initializing... [ 117.637346] [EXFAT] trying to mount... [ 117.659669] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null) [ 118.165420] [EXFAT] trying to mount... [ 118.186010] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null) [ 143.875169] br-wlan: port 1(ra0) entered disabled state [ 143.903175] device ra0 left promiscuous mode [ 143.907629] br-wlan: port 1(ra0) entered disabled state [ 149.651821] Removing MTD device #6 (rootfs_data) with use count 1 [ 149.684454] reboot: Restarting system ____ _ ____ / __ \___ (_)__ ___ / __ \__ _ ___ ___ ____ _ / /_/ / _ \/ / _ \/ _ \ / /_/ / ' \/ -_) _ `/ _ `/ \____/_//_/_/\___/_//_/ \____/_/_/_/\__/\_, /\_,_/ 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 ****************************** Software System Reset Occurred ****************************** flash manufacture id: c2, device id 20 19 find flash: MX25L25635E ============================================ 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 OpenWrt Linux-4.14.81 Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1572303 Bytes = 1.5 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.14.81 (jenkins@f2c5b085c3c5) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r0+7428-2af79b2e09)) #0 Fri Feb 1 01:17:10 2019 [ 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 Pro [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 04000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 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] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] random: get_random_bytes called from start_kernel+0x8c/0x474 with crng_init=0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 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] Writing ErrCtl register=000710be [ 0.000000] Readback ErrCtl register=000710be [ 0.000000] Memory: 59740K/65536K available (3613K kernel code, 198K rwdata, 900K rodata, 208K init, 202K bss, 5796K 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] timer_probe: no matching timers 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.007539] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216) [ 0.073499] pid_max: default: 32768 minimum: 301 [ 0.078196] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.084542] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.098669] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.108164] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.114110] pinctrl core: initialized pinctrl subsystem [ 0.119694] NET: Registered protocol family 16 [ 0.152895] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.158505] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.164116] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.170594] i2c-mt7621 10000900.i2c: clock 100 kHz [ 0.180046] clocksource: Switched to clocksource MIPS [ 0.186306] NET: Registered protocol family 2 [ 0.191487] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.198179] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.204364] TCP: Hash tables configured (established 1024 bind 1024) [ 0.210613] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.216213] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.222587] NET: Registered protocol family 1 [ 0.230558] Crashlog allocated RAM at address 0x3f00000 [ 0.237120] workingset: timestamp_bits=30 max_order=14 bucket_order=0 [ 0.249348] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.254972] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.274815] io scheduler noop registered [ 0.278546] io scheduler deadline registered (default) [ 0.284561] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled [ 0.291938] console [ttyS0] disabled [ 0.295374] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A [ 0.304148] console [ttyS0] enabled [ 0.304148] console [ttyS0] enabled [ 0.311141] bootconsole [early0] disabled [ 0.311141] bootconsole [early0] disabled [ 0.319884] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A [ 0.329208] rt2880-pinmux pinctrl: pin io20 already requested by pinctrl; cannot claim for 10000e00.uart2 [ 0.338971] rt2880-pinmux pinctrl: pin-20 (10000e00.uart2) status -22 [ 0.345521] rt2880-pinmux pinctrl: could not request pin 20 (io20) from group uart2 on device rt2880-pinmux [ 0.355497] of_serial 10000e00.uart2: Error applying setting, reverse things back [ 0.363420] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A [ 0.372929] cacheinfo: Failed to find cpu0 device node [ 0.378142] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 0.385151] spi-mt7621 10000b00.spi: sys_freq: 193333333 [ 0.396310] m25p80 spi0.0: mx25l25635e (32768 Kbytes) [ 0.401552] 4 fixed-partitions partitions found on MTD device spi0.0 [ 0.407993] Creating 4 MTD partitions on "spi0.0": [ 0.412872] 0x000000000000-0x000000030000 : "u-boot" [ 0.418860] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.425175] 0x000000040000-0x000000050000 : "factory" [ 0.431214] 0x000000050000-0x000001000000 : "firmware" [ 0.473153] 2 uimage-fw partitions found on MTD device firmware [ 0.479179] 0x000000050000-0x0000001cfe0f : "kernel" [ 0.485207] 0x0000001cfe0f-0x000001000000 : "rootfs" [ 0.491112] mtd: device 5 (rootfs) set to be root filesystem [ 0.498324] 1 squashfs-split partitions found on MTD device rootfs [ 0.504671] 0x000000970000-0x000001000000 : "rootfs_data" [ 0.512080] libphy: Fixed MDIO Bus: probed [ 0.525011] rt3050-esw 10110000.esw: link changed 0x00 [ 0.534610] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5 [ 0.543312] i2c /dev entries driver [ 0.548664] NET: Registered protocol family 10 [ 0.557499] Segment Routing with IPv6 [ 0.561405] NET: Registered protocol family 17 [ 0.565969] 8021q: 802.1Q VLAN Support v1.8 [ 0.579625] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 0.587990] Freeing unused kernel memory: 208K [ 0.592532] This architecture does not have kernel memory protection. [ 1.508612] init: Console is alive [ 1.512405] init: - watchdog - [ 2.238658] random: fast init done [ 5.016412] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 5.315451] usbcore: registered new interface driver usbfs [ 5.321197] usbcore: registered new interface driver hub [ 5.326700] usbcore: registered new device driver usb [ 5.338243] exFAT: Version 1.2.9 [ 5.376206] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 5.392536] SCSI subsystem initialized [ 5.402010] ehci-platform: EHCI generic platform driver [ 5.417685] phy phy-10120000.usbphy.0: remote usb device wakeup disabled [ 5.424500] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz [ 5.429813] ehci-platform 101c0000.ehci: EHCI Host Controller [ 5.435705] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1 [ 5.443901] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000 [ 5.480099] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00 [ 5.487607] hub 1-0:1.0: USB hub found [ 5.491865] hub 1-0:1.0: 1 port detected [ 5.501914] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 5.509778] ohci-platform: OHCI generic platform driver [ 5.515465] ohci-platform 101c1000.ohci: Generic Platform OHCI controller [ 5.522437] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2 [ 5.530570] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000 [ 5.605117] hub 2-0:1.0: USB hub found [ 5.609396] hub 2-0:1.0: 1 port detected [ 5.628608] MTK MSDC device init. [ 5.690283] mtk-sd: MediaTek MT6575 MSDC Driver [ 5.702044] sdhci: Secure Digital Host Controller Interface driver [ 5.708340] sdhci: Copyright(c) Pierre Ossman [ 5.714454] sdhci-pltfm: SDHCI platform and OF driver helper [ 5.725576] usbcore: registered new interface driver usb-storage [ 5.738795] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 5.756691] init: - preinit - [ 5.778247] mmc0: new high speed MMC card at address 0001 [ 5.789262] mmcblk0: mmc0:0001 AJNB4R 14.6 GiB [ 5.801113] mmcblk0boot0: mmc0:0001 AJNB4R partition 1 4.00 MiB [ 5.815906] mmcblk0boot1: mmc0:0001 AJNB4R partition 2 4.00 MiB [ 5.831311] mmcblk0: p1 [ 7.186576] 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 [ 7.386728] random: procd: uninitialized urandom read (4 bytes read) [ 10.634147] mount_root: loading kmods from internal overlay [ 10.705936] kmodloader: loading kernel modules from //etc/modules-boot.d/* [ 10.719418] kmodloader: done loading kernel modules from //etc/modules-boot.d/* [ 11.834998] jffs2: notice: (444) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (0 unchecked, 2 orphan) and 5 of xref (2 dead, 0 orphan) found. [ 11.851298] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab [ 11.876473] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: [ 11.972843] mount_root: switched to extroot [ 11.980609] urandom-seed: Seed file not found (/etc/urandom.seed) [ 12.120800] procd: - early - [ 12.123833] procd: - watchdog - [ 12.870227] procd: - watchdog - [ 12.873686] procd: - ubus - [ 12.968477] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.168343] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.175415] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.183036] procd: - init - Please press Enter to activate this console. [ 13.726572] kmodloader: loading kernel modules from /etc/modules.d/* [ 13.896760] RPC: Registered named UNIX socket transport module. [ 13.902846] RPC: Registered udp transport module. [ 13.907613] RPC: Registered tcp transport module. [ 13.912393] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 13.931081] ntfs: driver 2.1.32 [Flags: R/O MODULE]. [ 14.022802] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 14.692441] [ 14.692441] [ 14.692441] === pAd = c062e000, size = 1178064 === [ 14.692441] [ 14.703752] mt7628_init(FW(8a00), HW(8a01), CHIPID(7628)) [ 14.753906] Linux video capture interface: v2.00 [ 14.771645] hidraw: raw HID events driver (C) Jiri Kosina [ 14.801342] ledchain: pwm_base=0xB0005000 [ 14.805550] ledchain: Device: /dev/ledchain2 [ 14.809877] ledchain: - PWM channel : 2 [ 14.814093] ledchain: - PWM buffer size: 12 [ 14.818332] ledchain: - Number of LEDs : 1 [ 14.822491] ledchain: - Inverted : 0 [ 14.826639] ledchain: - LED type : WS2812 [ 14.831255] ledchain: - Max retries : 3 [ 14.867381] Bluetooth: Core ver 2.22 [ 14.871196] NET: Registered protocol family 31 [ 14.875702] Bluetooth: HCI device and connection manager initialized [ 14.882186] Bluetooth: HCI socket layer initialized [ 14.887134] Bluetooth: L2CAP socket layer initialized [ 14.892303] Bluetooth: SCO socket layer initialized [ 14.900211] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 14.905609] Bluetooth: BNEP filters: protocol multicast [ 14.910946] Bluetooth: BNEP socket layer initialized [ 14.923651] usbcore: registered new interface driver btusb [ 14.933924] usbcore: registered new interface driver cdc_acm [ 14.939674] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 14.952356] Bluetooth: HCI UART driver ver 2.3 [ 14.956875] Bluetooth: HCI UART protocol H4 registered [ 14.962149] Bluetooth: HCI UART protocol BCSP registered [ 14.972211] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 14.978241] Bluetooth: HIDP socket layer initialized [ 14.989345] ip_tables: (C) 2000-2006 Netfilter Core Team [ 15.017163] nf_conntrack version 0.5.0 (1024 buckets, 4096 max) [ 15.119642] rt2880-pinmux pinctrl: pin io18 already requested by pinctrl; cannot claim for 10005000.pwm [ 15.129258] rt2880-pinmux pinctrl: pin-18 (10005000.pwm) status -22 [ 15.135633] rt2880-pinmux pinctrl: could not request pin 18 (io18) from group pwm0 on device rt2880-pinmux [ 15.145533] mtk-pwm 10005000.pwm: Error applying setting, reverse things back [ 15.160096] Bluetooth: RFCOMM TTY layer initialized [ 15.165074] Bluetooth: RFCOMM socket layer initialized [ 15.170328] Bluetooth: RFCOMM ver 1.11 [ 15.191524] usbcore: registered new interface driver ums-alauda [ 15.200805] usbcore: registered new interface driver ums-cypress [ 15.210337] usbcore: registered new interface driver ums-datafab [ 15.219494] usbcore: registered new interface driver ums-freecom [ 15.228917] usbcore: registered new interface driver ums-isd200 [ 15.238431] usbcore: registered new interface driver ums-jumpshot [ 15.247805] usbcore: registered new interface driver ums-karma [ 15.257928] usbcore: registered new interface driver ums-sddr09 [ 15.267330] usbcore: registered new interface driver ums-sddr55 [ 15.277169] usbcore: registered new interface driver ums-usbat [ 15.290556] usbcore: registered new interface driver usbhid [ 15.296216] usbhid: USB HID core driver [ 15.304562] usbcore: registered new interface driver usblp [ 15.320146] usbcore: registered new interface driver usbserial [ 15.326166] usbcore: registered new interface driver usbserial_generic [ 15.332930] usbserial: USB Serial support registered for generic [ 15.352614] Driver for 1-wire Dallas network protocol. [ 15.382484] xt_time: kernel timezone is -0000 [ 15.389391] usbcore: registered new interface driver ch341 [ 15.395166] usbserial: USB Serial support registered for ch341-uart [ 15.404664] usbcore: registered new interface driver cp210x [ 15.410504] usbserial: USB Serial support registered for cp210x [ 15.420580] usbcore: registered new interface driver ftdi_sio [ 15.426519] usbserial: USB Serial support registered for FTDI USB Serial Device [ 15.448177] usbcore: registered new interface driver pl2303 [ 15.454030] usbserial: USB Serial support registered for pl2303 [ 15.465987] PPP generic driver version 2.4.2 [ 15.473831] NET: Registered protocol family 24 [ 15.493490] usbcore: registered new interface driver snd-usb-audio [ 15.517099] usbcore: registered new interface driver uvcvideo [ 15.523002] USB Video Class driver (1.1.1) [ 15.534327] usbcore: registered new interface driver option [ 15.540168] usbserial: USB Serial support registered for GSM modem (1-port) [ 15.552935] kmodloader: done loading kernel modules from /etc/modules.d/* [ 16.467769] urandom_read: 5 callbacks suppressed [ 16.467779] random: jshn: uninitialized urandom read (4 bytes read) [ 24.650227] jffs2: notice: (1090) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (0 unchecked, 2 orphan) and 5 of xref (2 dead, 0 orphan) found. [ 28.532180] IPv6: ADDRCONF(NETDEV_UP): br-wlan: link is not ready [ 29.298096] [ 29.298096] _ _____ ___ ___ _________ ___ ____ [ 29.298096] | | /| / / _ | / _ \/ _ \ / ___/ __ \/ _ \/ __/ V1.1 [ 29.298096] | |/ |/ / __ |/ , _/ ___/ / /__/ /_/ / , _/ _/ [ 29.298096] |__/|__/_/ |_/_/|_/_/ \___/\____/_/|_/___/ [ 29.298096] Onion Enhanced MT7688 WiFi Driver [ 29.298096] [ 30.238449] DMA Scheduler Mode=0(LMAC) [ 30.242342] efuse_probe: efuse = 10000012 [ 30.246461] 1. Phy Mode = 14 [ 30.520001] 2. Phy Mode = 14 [ 30.523054] 3. Phy Mode = 14 [ 30.532955] WTBL Segment 1 info: [ 30.536332] MemBaseAddr/FID:0x28000/0 [ 30.540283] EntrySize/Cnt:32/128 [ 30.543730] WTBL Segment 2 info: [ 30.547086] MemBaseAddr/FID:0x40000/0 [ 30.550988] EntrySize/Cnt:64/128 [ 30.554433] WTBL Segment 3 info: [ 30.557789] MemBaseAddr/FID:0x42000/64 [ 30.561775] EntrySize/Cnt:64/128 [ 30.565219] WTBL Segment 4 info: [ 30.568576] MemBaseAddr/FID:0x44000/128 [ 30.572654] EntrySize/Cnt:32/128 [ 43.425877] br-wlan: port 1(ra0) entered blocking state [ 43.431263] br-wlan: port 1(ra0) entered disabled state [ 43.436941] device ra0 entered promiscuous mode [ 43.441774] br-wlan: port 1(ra0) entered blocking state [ 43.447096] br-wlan: port 1(ra0) entered forwarding state [ 43.454178] IPv6: ADDRCONF(NETDEV_CHANGE): br-wlan: link becomes ready [ 76.280114] random: crng init done [ 104.018173] Adding 393212k swap on /overlay/swap.page. Priority:-2 extents:3 across:403452k SS BusyBox v1.28.3 () built-in shell (ash) ____ _ ____ / __ \___ (_)__ ___ / __ \__ _ ___ ___ ____ _ / /_/ / _ \/ / _ \/ _ \ / /_/ / ' \/ -_) _ `/ _ `/ \____/_//_/_/\___/_//_/ \____/_/_/_/\__/\_, /\_,_/ W H A T W I L L Y O U I N V E N T ? /___/ ----------------------------------------------------- Ω-ware: 0.3.1 b214 ----------------------------------------------------- root@Omega-99A5:/# onion os version === Version Info === Omega firmware: v0.3.1 b214 onion-os - 1.0.6-1 root@Omega-99A5:/# ubus call system board { "kernel": "4.14.81", "hostname": "Omega-99A5", "system": "MediaTek MT7688 ver:1 eco:2", "model": "Onion Omega2 Pro", "board_name": "omega2pro", "release": { "distribution": "OpenWrt", "version": "18.06-SNAPSHOT", "revision": "r0+7434-de9f9124e5", "target": "ramips\/mt76x8", "description": "OpenWrt 18.06-SNAPSHOT r0+7434-de9f9124e5" } } root@Omega-99A5:/# free total used free shared buffers cached Mem: 59948 43796 16152 76 7516 14928 -/+ buffers/cache: 21352 38596 Swap: 393212 0 393212 root@Omega-99A5:/# df -h Filesystem Size Used Available Use% Mounted on /dev/root 7.8M 7.8M 0 100% /rom tmpfs 29.3M 76.0K 29.2M 0% /tmp /dev/mmcblk0p1 14.3G 424.2M 13.1G 3% /overlay overlayfs:/overlay 14.3G 424.2M 13.1G 3% / tmpfs 512.0K 0 512.0K 0% /dev /dev/mmcblk0p1 14.3G 424.2M 13.1G 3% /mnt/mmcblk0p1 /dev/mtdblock6 6.6M 372.0K 6.2M 6% /mnt/mtdblock6
It seems this is OK too.
-
(Omega2 Pro light) Omega2+ FW b214, 16 GB eMMC module, Expansion Dock
Omega Firmware Changelog
Build Notes
b216
Feb 22, 2018- Fix for Omega2 Pro DTS file - OS can now use all 128 MB of RAM
Let's upgrade to b216 with the usual
oupgrade -l -f
command on the Serial Console.root@Omega-99A5:/# oupgrade -l -f > Device Firmware Version: 0.3.1 b214 > Checking latest version online... url: https://api.onioniot.com/firmware/omega2pro/latest > Repo Firmware Version: 0.3.1 b216 > New firmware version available, need to upgrade device firmware > Downloading new firmware ... --2019-02-24 18:05:21-- http://repo.onioniot.com/omega2/images/omega2pro-v0.3.1-b216.bin Resolving repo.onioniot.com... 52.216.232.234 Connecting to repo.onioniot.com|52.216.232.234|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 9699511 (9.2M) [application/octet-stream] Saving to: '/tmp/omega2pro-v0.3.1-b216.bin' /tmp/omega2pro-v0.3 100%[===================>] 9.25M 365KB/s in 26s 2019-02-24 18:05:47 (367 KB/s) - '/tmp/omega2pro-v0.3.1-b216.bin' saved [9699511/9699511] > Starting firmware upgrade.... Saving config files... ... ... [ 48.107674] Interface apcli0 link up! (WPA2PSK AES) [ 54.772752] Adding 393212k swap on /overlay/swap.page. Priority:-2 extents:2 across:401404k SS [ 67.983067] random: crng init done BusyBox v1.28.3 () built-in shell (ash) ____ _ ____ / __ \___ (_)__ ___ / __ \__ _ ___ ___ ____ _ / /_/ / _ \/ / _ \/ _ \ / /_/ / ' \/ -_) _ `/ _ `/ \____/_//_/_/\___/_//_/ \____/_/_/_/\__/\_, /\_,_/ W H A T W I L L Y O U I N V E N T ? /___/ ----------------------------------------------------- Ω-ware: 0.3.1 b216 ----------------------------------------------------- root@Omega-99A5:/# onion os version === Version Info === Omega firmware: v0.3.1 b216 onion-os - 1.0.6-1 root@Omega-99A5:/# ubus call system board { "kernel": "4.14.81", "hostname": "Omega-99A5", "system": "MediaTek MT7688 ver:1 eco:2", "model": "Onion Omega2 Pro", "board_name": "omega2pro", "release": { "distribution": "OpenWrt", "version": "18.06-SNAPSHOT", "revision": "r0+7436-c22c17ca14", "target": "ramips\/mt76x8", "description": "OpenWrt 18.06-SNAPSHOT r0+7436-c22c17ca14" } }
Let's compare them.
# FW omega2pro-v0.3.1 b214 root@Omega-99A5:/# df -h Filesystem Size Used Available Use% Mounted on /dev/root 7.8M 7.8M 0 100% /rom tmpfs 29.3M 84.0K 29.2M 0% /tmp /dev/mmcblk0p1 14.3G 424.2M 13.1G 3% /overlay overlayfs:/overlay 14.3G 424.2M 13.1G 3% / tmpfs 512.0K 0 512.0K 0% /dev /dev/mmcblk0p1 14.3G 424.2M 13.1G 3% /mnt/mmcblk0p1 /dev/mtdblock6 6.6M 372.0K 6.2M 6% /mnt/mtdblock6 root@Omega-99A5:/# free total used free shared buffers cached Mem: 59948 44520 15428 84 7616 15032 -/+ buffers/cache: 21872 38076 Swap: 393212 0 393212 #------------------------------------------------------------------------- # FW omega2pro-v0.3.1 b216 root@Omega-99A5:/# df -h Filesystem Size Used Available Use% Mounted on /dev/root 7.8M 7.8M 0 100% /rom tmpfs 61.0M 88.0K 60.9M 0% /tmp /dev/mmcblk0p1 14.3G 424.3M 13.1G 3% /overlay overlayfs:/overlay 14.3G 424.3M 13.1G 3% / tmpfs 512.0K 0 512.0K 0% /dev /dev/mmcblk0p1 14.3G 424.3M 13.1G 3% /mnt/mmcblk0p1 /dev/mtdblock6 6.6M 384.0K 6.2M 6% /mnt/mtdblock6 root@Omega-99A5:/# free total used free shared buffers cached Mem: 124920 44484 80436 88 7516 15368 -/+ buffers/cache: 21600 103320 Swap: 393212 0 393212
It seems it was worth it.
-
If you already have an Omega2 Pro please let us know:
What is the FirmWare and the UBoot version of your Omega2 Pro?
What is the output of the following commands:-
cat /proc/mtd
dd if=/dev/mtd0 of=/tmp/u-boot.bin
md5sum /tmp/u-boot.bin
dd if=/dev/mtd1 of=/tmp/u-boot-env.bin
md5sum /tmp/u-boot-env.bin -
fdisk -l
dd if=/dev/mmcblk0boot0 of=/tmp/mmc_boot0.bin
md5sum /tmp/mmc_boot0.bin
dd if=/dev/mmcblk0boot1 of=/tmp/mmc_boot1.bin
md5sum /tmp/mmc_boot1.bin
Thank you in advance.
-
-
cat /proc/mtd
dev: size erasesize name
mtd0: 00030000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00010000 00010000 "factory"
mtd3: 00fb0000 00010000 "firmware"
mtd4: 0017fe58 00010000 "kernel"
mtd5: 00e301a8 00010000 "rootfs"
mtd6: 00690000 00010000 "rootfs_data"
root@Omega2Pro:~# dd if=/dev/mtd0 of=/tmp/u-boot.bin
384+0 records in
384+0 records out
root@Omega2Pro:~# md5sum /tmp/u-boot.bin
8439b13b8f6206c9a4e798fd0191880d /tmp/u-boot.bin
root@Omega2Pro:~# dd if=/dev/mtd1 of=/tmp/u-boot-env.bin
128+0 records in
128+0 records out
root@Omega2Pro:~# md5sum /tmp/u-boot-env.bin
a93d8be9946384b5948de085f0ce3af1 /tmp/u-boot-env.bin
root@Omega2Pro:~#
root@Omega2Pro:~# fdisk -l
Disk /dev/mtdblock0: 192 KiB, 196608 bytes, 384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock1: 64 KiB, 65536 bytes, 128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock2: 64 KiB, 65536 bytes, 128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock3: 15.7 MiB, 16449536 bytes, 32128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock4: 1.5 MiB, 1572352 bytes, 3071 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock5: 14.2 MiB, 14876672 bytes, 29056 sectors
-
@crispyoz Thank you very much. This post was very kind of you.
Sorry for being cheeky but the fdisk /dev/mtdblock5, /dev/mtdblock6 and maybe some /dev/mmcblck lines have been left out from your post.
Could you upload the 'u-boot.bin' and 'u-boot-env.bin' files somewhere?
What is your Omega2 Pro firmware version please?
onion os version
Thank you in advance.
-
Hi @györgy-farkas here are the disk stuff you requested. I'll find the files and put then on OneDrive and post the link.
fdisk -l /dev/mtdblock5
Disk /dev/mtdblock5: 14.2 MiB, 14876672 bytes, 29056 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
fdisk -l /dev/mtdblock6
Disk /dev/mtdblock6: 6.6 MiB, 6881280 bytes, 13440 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
fdisk -l /dev/mmcblck
fdisk: cannot open /dev/mmcblck: No such file or directory=== Version Info ===
Omega firmware: v0.3.2 b218
onion-os - 1.0.6-1
= OnionOS Apps =
oos-app-legacy-console - 0.1.4-1
-
-
@crispyoz Many, many thanks!
-
My favorite thing about the pro is that it's a 2+ with a power dock so it's slimmer but just a little longer. My second favorite thing is the big juice tri-colour LED.
My least favorite thing is that I only have one and the others i ordered are nowhere in sight and noone replies to my enquires for the status of my orders that were to ship on 31st March.
-
@crispyoz
At least you got one. My five refused to be tamed and seem to have escaped into the wild. But I'm ever hopeful they'll find their way home one day and hopefully soon.
-
@crispyoz A simple
fdisk -l
command should display all partitions (and exit).
For example this is its output on my Omega2 "Pro"simple# Omega2+ FW omega2pro-v0.3.2 b218 with an 8GB microSD card and a 1GB USB pendrive root@Omega-99A5:/# cat /proc/partitions major minor #blocks name 31 0 192 mtdblock0 31 1 64 mtdblock1 31 2 64 mtdblock2 31 3 16064 mtdblock3 31 4 1535 mtdblock4 31 5 14528 mtdblock5 31 6 6720 mtdblock6 179 0 7676928 mmcblk0 179 1 7672832 mmcblk0p1 8 0 997376 sda 8 1 997344 sda1 root@Omega-99A5:~# fdisk -l Disk /dev/mtdblock0: 192 KiB, 196608 bytes, 384 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mtdblock1: 64 KiB, 65536 bytes, 128 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mtdblock2: 64 KiB, 65536 bytes, 128 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mtdblock3: 15.7 MiB, 16449536 bytes, 32128 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mtdblock4: 1.5 MiB, 1572352 bytes, 3071 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mtdblock5: 14.2 MiB, 14876672 bytes, 29056 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mtdblock6: 6.6 MiB, 6881280 bytes, 13440 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mmcblk0: 7.3 GiB, 7861174272 bytes, 15353856 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x15d70756 Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 8192 15353855 15345664 7.3G b W95 FAT32 Disk /dev/sda: 974 MiB, 1021313024 bytes, 1994752 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x0073cd33 Device Boot Start End Sectors Size Id Type /dev/sda1 63 1994751 1994689 974M e W95 FAT16 (LBA)
Thank you for all your work on this project.
-
@cas I got in early but I should have ordered more, I only have one . It's seriously holding up my project so I like György Farkas idea.
-
@György-Farkas Here is cat /proc/partitions and below fdisk -l
cat /proc/partitions
major minor #blocks name31 0 192 mtdblock0
31 1 64 mtdblock1
31 2 64 mtdblock2
31 3 16064 mtdblock3
31 4 1535 mtdblock4
31 5 14528 mtdblock5
31 6 6720 mtdblock6
179 0 7634944 mmcblk0
179 1 7633920 mmcblk0p1
179 16 4096 mmcblk0boot1
179 8 4096 mmcblk0boot0
Disk /dev/mtdblock0: 192 KiB, 196608 bytes, 384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock1: 64 KiB, 65536 bytes, 128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock2: 64 KiB, 65536 bytes, 128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock3: 15.7 MiB, 16449536 bytes, 32128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock4: 1.5 MiB, 1572352 bytes, 3071 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock5: 14.2 MiB, 14876672 bytes, 29056 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock6: 6.6 MiB, 6881280 bytes, 13440 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mmcblk0: 7.3 GiB, 7818182656 bytes, 15269888 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xbee0b8a0Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 2048 15269887 15267840 7.3G 83 LinuxDisk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
-
@crispyoz Thank you. These are the partitions of my Omega2 "Pro" 's 16GB eMMC card with microSD adapter.
I didn't know that those two boot partitions are correct or some error.Disk /dev/mmcblk0: 14.6 GiB, 15634268160 bytes, 30535680 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000000 Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 8192 30535679 30527488 14.6G c W95 FAT32 (LBA) Disk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes
-
@György-Farkas said in DIY Omega2 Pro - Try it before buy:
didn't know that those two boot partitions are correct or some error.
Sorry @György-Farkas were you asking a quesiton?
-
@crispyoz You have already answered almost all my questions/requests. Thank you again for your support.
I wrote in this post on 25th Feb:If you already have an Omega2 Pro please let us know:
- Q: What is the FirmWare and the UBoot version of your Omega2 Pro?
A: you wrote on 18th Apr
Omega firmware: v0.3.2 b218
What is the output of the following commands?
- Q:
cat /proc/mtd
A: you wrote on 17th Apr
dev: size erasesize name
mtd0: 00030000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00010000 00010000 "factory"
mtd3: 00fb0000 00010000 "firmware"
mtd4: 0017fe58 00010000 "kernel"
mtd5: 00e301a8 00010000 "rootfs"
mtd6: 00690000 00010000 "rootfs_data"-
Q:
dd if=/dev/mtd0 of=/tmp/u-boot.bin
A: you uploaded it to dropbox on 18th Apr -
Q:
md5sum /tmp/u-boot.bin
A: you wrote on 17th Apr
8439b13b8f6206c9a4e798fd0191880d /tmp/u-boot.bin
-
Q:
dd if=/dev/mtd1 of=/tmp/u-boot-env.bin
A: you uploaded it to dropbox on 18th Apr -
Q:
md5sum /tmp/u-boot-env.bin
A: you wrote on 17th Apr
a93d8be9946384b5948de085f0ce3af1 /tmp/u-boot-env.bin
- Q:
fdisk -l
A: you wrote on 19th Apr
Disk /dev/mtdblock0: 192 KiB, 196608 bytes, 384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock1: 64 KiB, 65536 bytes, 128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock2: 64 KiB, 65536 bytes, 128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock3: 15.7 MiB, 16449536 bytes, 32128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock4: 1.5 MiB, 1572352 bytes, 3071 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock5: 14.2 MiB, 14876672 bytes, 29056 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock6: 6.6 MiB, 6881280 bytes, 13440 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mmcblk0: 7.3 GiB, 7818182656 bytes, 15269888 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xbee0b8a0Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 2048 15269887 15267840 7.3G 83 LinuxDisk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes-
Q:
dd if=/dev/mmcblk0boot0 of=/tmp/mmc_boot0.bin
A: it's an "empty" file (filled with 0x00) -
Q:
md5sum /tmp/mmc_boot0.bin
A: you wrote on 1st May
b5cfa9d6c8febd618f91ac2843d50a1c /tmp/mmc_boot0.bin
-
Q:
dd if=/dev/mmcblk0boot1 of=/tmp/mmc_boot1.bin
A: it's an "empty" file (filled with 0x00) -
Q:
md5sum /tmp/mmc_boot1.bin
A: you wrote on 1st May
b5cfa9d6c8febd618f91ac2843d50a1c /tmp/mmc_boot1.bin
About the last two
questions: I didn't know that the second boot partition (/dev/mmcblk0boot1) is correct or some error on my Omega2 "Pro" (Omega2+ and a 16 GB eMCC board with microSD adapter).
- Q: What is the FirmWare and the UBoot version of your Omega2 Pro?