g12a_u21x_v1#if fatload mmc 0 0x1000000 u-boot.ext; then go 0x1000000; fi; card in co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 40000000 init_part() 282: PART_TYPE_DOS [mmc_init] mmc init success 687883 bytes read in 43 ms (15.3 MiB/s) ## Starting application at 0x01000000 ... U-Boot 2020.07 (Apr 08 2021 - 20:40:57 +0200) u200 Model: Amlogic Meson G12A U200 Development Board SoC: Amlogic Meson G12A (S905X2) Revision 28:b (40:2) DRAM: 2 GiB MMC: sd@ffe05000: 0, mmc@ffe07000: 1 In: serial Out: serial Err: serial Net: Warning: ethernet@ff3f0000 (eth0) using random MAC address - a6:d4:f8:d0:95:84 eth0: ethernet@ff3f0000 Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found /extlinux/extlinux.conf Retrieving file: /extlinux/extlinux.conf 259 bytes read in 4 ms (62.5 KiB/s) 1: LibreELEC Retrieving file: /KERNEL 11233826 bytes read in 478 ms (22.4 MiB/s) append: boot=UUID=0504-5623 disk=UUID=48019c07-7dbe-4dd2-96fb-d3e9aeec0ae1 debugging mac=00:15:18:01:81:31 console=ttyAML0,115200n8 console=tty0 no_console_suspend systemd.debug_shell=ttyAML0 Retrieving file: /dtb/meson-g12a-x96-max.dtb 72857 bytes read in 7 ms (9.9 MiB/s) ## Booting kernel from Legacy Image at 08080000 ... Image Name: Image Type: AArch64 Linux Kernel Image (lzo compressed) Data Size: 11233762 Bytes = 10.7 MiB Load Address: 01b80000 Entry Point: 01b80000 Verifying Checksum ... OK ## Flattened Device Tree blob at 08008000 Booting using the fdt blob at 0x8008000 Uncompressing Kernel Image Loading Device Tree to 000000007bf31000, end 000000007bf45c98 ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.12.0-rc6 (chewitt@toolbox) (aarch64-none-linux-gnu-gcc.real (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16)) 10.2.1 20201103, GNU ld (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16)) 2.35.1.20201028) #1 SMP PREEMPT Mon Apr 5 18:55:49 UTC 2021 [ 0.000000] Machine model: Shenzhen Amediatech Technology Co., Ltd X96 Max [ 0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader! [ 0.000000] OF: fdt: Reserved memory: failed to reserve memory for node 'secmon@5000000': base 0x0000000005000000, size 3 MiB [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000043c00000, size 896 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000000000-0x000000007fe5afff] [ 0.000000] DMA32 empty [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x000000007fe5afff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fe5afff] [ 0.000000] DMA zone: 421 pages in unavailable ranges [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: Trusted OS migration not required [ 0.000000] psci: SMC Calling Convention v1.1 [ 0.000000] percpu: Embedded 23 pages/cpu s55504 r8192 d30512 u94208 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] CPU features: kernel page table isolation forced ON by KASLR [ 0.000000] CPU features: detected: Kernel page table isolation (KPTI) [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 515681 [ 0.000000] Kernel command line: boot=UUID=0504-5623 disk=UUID=48019c07-7dbe-4dd2-96fb-d3e9aeec0ae1 debugging mac=00:15:18:01:81:31 console=ttyAML0,115200n8 console=tty0 no_console_suspend systemd.debug_shell=ttyAML0 [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 1072864K/2095468K available (11392K kernel code, 1850K rwdata, 4332K rodata, 6208K init, 4443K bss, 105100K reserved, 917504K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] irq_meson_gpio: 100 to 8 gpio interrupt mux initialized [ 0.000000] random: get_random_bytes called from start_kernel+0x5e8/0x7d8 with crng_init=0 [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000205] Console: colour dummy device 80x25 [ 0.002743] printk: console [tty0] enabled [ 0.002786] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.002853] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.002894] ... MAX_LOCK_DEPTH: 48 [ 0.002935] ... MAX_LOCKDEP_KEYS: 8192 [ 0.002977] ... CLASSHASH_SIZE: 4096 [ 0.003019] ... MAX_LOCKDEP_ENTRIES: 32768 [ 0.003062] ... MAX_LOCKDEP_CHAINS: 65536 [ 0.003104] ... CHAINHASH_SIZE: 32768 [ 0.003147] memory used by lock dependency info: 3637 kB [ 0.003197] per task-struct memory footprint: 1920 bytes [ 0.003281] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000) [ 0.003377] pid_max: default: 32768 minimum: 301 [ 0.003599] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.003678] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.006932] rcu: Hierarchical SRCU implementation. [ 0.008576] smp: Bringing up secondary CPUs ... [ 0.009738] Detected VIPT I-cache on CPU1 [ 0.009812] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.011165] Detected VIPT I-cache on CPU2 [ 0.011215] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.012545] Detected VIPT I-cache on CPU3 [ 0.012591] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.012863] smp: Brought up 1 node, 4 CPUs [ 0.013170] SMP: Total of 4 processors activated. [ 0.013217] CPU features: detected: 32-bit EL0 Support [ 0.013266] CPU features: detected: CRC32 instructions [ 0.026900] CPU: All CPU(s) started at EL2 [ 0.027012] alternatives: patching kernel code [ 0.028529] devtmpfs: initialized [ 0.061092] KASLR disabled due to lack of seed [ 0.061525] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.061622] futex hash table entries: 1024 (order: 5, 131072 bytes, linear) [ 0.089763] pinctrl core: initialized pinctrl subsystem [ 0.091810] NET: Registered protocol family 16 [ 0.095196] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations [ 0.095449] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.095827] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.097098] thermal_sys: Registered thermal governor 'step_wise' [ 0.098145] cpuidle: using governor menu [ 0.098400] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.098633] ASID allocator initialised with 32768 entries [ 0.181825] cryptd: max_cpu_qlen set to 1000 [ 0.190576] VDDAO_3V3: supplied by DC_IN [ 0.191328] iommu: Default domain type: Translated [ 0.191757] vgaarb: loaded [ 0.192501] SCSI subsystem initialized [ 0.192939] usbcore: registered new interface driver usbfs [ 0.193085] usbcore: registered new interface driver hub [ 0.193215] usbcore: registered new device driver usb [ 0.193975] mc: Linux media interface: v0.10 [ 0.194074] videodev: Linux video capture interface: v2.00 [ 0.194405] pps_core: LinuxPPS API ver. 1 registered [ 0.194454] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [ 0.195380] Advanced Linux Sound Architecture Driver Initialized. [ 0.197198] clocksource: Switched to clocksource arch_sys_counter [ 0.197832] FS-Cache: Loaded [ 0.214015] NET: Registered protocol family 2 [ 0.215205] tcp_listen_portaddr_hash hash table entries: 1024 (order: 4, 81920 bytes, linear) [ 0.215541] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.215810] TCP bind hash table entries: 16384 (order: 8, 1179648 bytes, linear) [ 0.217755] TCP: Hash tables configured (established 16384 bind 16384) [ 0.218164] UDP hash table entries: 1024 (order: 5, 163840 bytes, linear) [ 0.218486] UDP-Lite hash table entries: 1024 (order: 5, 163840 bytes, linear) [ 0.219081] NET: Registered protocol family 1 [ 0.220117] RPC: Registered named UNIX socket transport module. [ 0.220177] RPC: Registered udp transport module. [ 0.220223] RPC: Registered tcp transport module. [ 0.220269] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.220335] PCI: CLS 0 bytes, default 64 [ 0.252596] Initialise system trusted keyrings [ 0.252989] workingset: timestamp_bits=46 max_order=19 bucket_order=0 [ 0.273438] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.274007] FS-Cache: Netfs 'nfs' registered for caching [ 0.275186] NFS: Registering the id_resolver key type [ 0.275284] Key type id_resolver registered [ 0.275329] Key type id_legacy registered [ 0.275598] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.275680] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 0.276557] FS-Cache: Netfs 'cifs' registered for caching [ 0.277323] Key type cifs.idmap registered [ 0.314745] NET: Registered protocol family 38 [ 0.314840] Key type asymmetric registered [ 0.314905] Asymmetric key parser 'x509' registered [ 0.315009] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244) [ 0.315338] io scheduler mq-deadline registered [ 0.315387] io scheduler kyber registered [ 0.342841] soc soc0: Amlogic Meson G12A (S905X2) Revision 28:b (40:2) Detected [ 0.345479] VCC_3V3: supplied by VDDAO_3V3 [ 0.345665] FLASH_1V8: supplied by VCC_3V3 [ 0.345849] VCC_1V8: supplied by VCC_3V3 [ 0.346037] VDDAO_1V8: supplied by VDDAO_3V3 [ 0.346238] VDDCPU: supplied by regulator-dummy [ 0.349256] ff803000.serial: ttyAML0 at MMIO 0xff803000 (irq = 22, base_baud = 1500000) is a meson_uart [ 1.174768] printk: console [ttyAML0] enabled [ 1.180515] ffd24000.serial: ttyAML6 at MMIO 0xffd24000 (irq = 27, base_baud = 1500000) is a meson_uart [ 1.188678] serial serial0: tty port ttyAML6 registered [ 1.216293] brd: module loaded [ 1.216667] loop: module loaded [ 1.312364] Loading iSCSI transport class v2.0-870. [ 1.313773] iscsi: registered transport (tcp) [ 1.317291] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information. [ 1.323760] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld . All Rights Reserved. [ 1.334557] libphy: Fixed MDIO Bus: probed [ 1.339827] tun: Universal TUN/TAP device driver, 1.6 [ 1.344836] usbcore: registered new interface driver rtl8150 [ 1.348005] usbcore: registered new interface driver r8152 [ 1.355008] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.359813] ehci-platform: EHCI generic platform driver [ 1.365265] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.371175] ohci-platform: OHCI generic platform driver [ 1.377316] usbcore: registered new interface driver uas [ 1.381633] usbcore: registered new interface driver usb-storage [ 1.387962] mousedev: PS/2 mouse device common for all mice [ 1.393763] i2c /dev entries driver [ 1.398149] debugfs: Directory 'ff800280.cec' with parent 'regmap' already present! [ 1.422849] meson-gx-mmc ffe05000.sd: Got CD GPIO [ 1.422965] meson-gx-mmc ffe03000.sd: allocated mmc-pwrseq [ 1.423245] meson-gx-mmc ffe07000.mmc: allocated mmc-pwrseq [ 1.433095] ledtrig-cpu: registered to indicate activity on CPUs [ 1.439540] meson-sm: secure-monitor enabled [ 1.448192] hid: raw HID events driver (C) Jiri Kosina [ 1.450048] usbcore: registered new interface driver usbhid [ 1.453750] usbhid: USB HID core driver [ 1.469995] NET: Registered protocol family 10 [ 1.471519] Segment Routing with IPv6 [ 1.472584] NET: Registered protocol family 17 [ 1.477148] Key type dns_resolver registered [ 1.481510] Loading compiled-in X.509 certificates [ 1.499906] mmc0: new high speed SDHC card at address aaaa [ 1.501174] mmcblk0: mmc0:aaaa SL08G 7.40 GiB [ 1.505731] mmc2: queuing unknown CIS tuple 0x80 (2 bytes) [ 1.511525] mmcblk0: p1 p2 [ 1.512587] mmc2: queuing unknown CIS tuple 0x80 (3 bytes) [ 1.521491] mmc2: queuing unknown CIS tuple 0x80 (3 bytes) [ 1.527076] mmc2: queuing unknown CIS tuple 0x80 (7 bytes) [ 1.533371] mmc2: queuing unknown CIS tuple 0x81 (9 bytes) [ 1.539113] VCC_5V: supplied by DC_IN [ 1.590941] random: fast init done [ 1.608723] mmc2: new ultra high speed SDR50 SDIO card at address 0001 [ 1.615930] mmc1: new high speed MMC card at address 0001 [ 1.616892] mmcblk1: mmc1:0001 D9D16G 14.5 GiB [ 1.620619] mmcblk1boot0: mmc1:0001 D9D16G partition 1 4.00 MiB [ 1.621145] meson-drm ff900000.vpu: Queued 3 outputs on vpu [ 1.626490] mmcblk1boot1: mmc1:0001 D9D16G partition 2 4.00 MiB [ 1.637771] mmcblk1rpmb: mmc1:0001 D9D16G partition 3 4.00 MiB, chardev (242:0) [ 1.662905] meson-dw-hdmi ff600000.hdmi-tx: Detected HDMI TX controller v2.01a with HDCP (meson_dw_hdmi_phy) [ 1.669397] meson-dw-hdmi ff600000.hdmi-tx: registered DesignWare HDMI I2C bus driver [ 1.676983] meson-drm ff900000.vpu: bound ff600000.hdmi-tx (ops meson_dw_hdmi_ops) [ 1.685152] [drm] Initialized meson 1.0.0 20161109 for ff900000.vpu on minor 0 [ 1.690757] [drm] kms: can't enable cloning when we probably wanted to. [ 1.775248] Console: switching to colour frame buffer device 128x48 [ 1.788582] meson-drm ff900000.vpu: [drm] fb0: mesondrmfb frame buffer device [ 1.800120] meson8b-dwmac ff3f0000.ethernet: IRQ eth_wake_irq not found [ 1.802284] meson8b-dwmac ff3f0000.ethernet: IRQ eth_lpi not found [ 1.808688] meson8b-dwmac ff3f0000.ethernet: PTP uses main clock [ 1.816965] meson8b-dwmac ff3f0000.ethernet: User ID: 0x11, Synopsys ID: 0x37 [ 1.821404] meson8b-dwmac ff3f0000.ethernet: DWMAC1000 [ 1.826605] meson8b-dwmac ff3f0000.ethernet: DMA HW capability register supported [ 1.833959] meson8b-dwmac ff3f0000.ethernet: RX Checksum Offload Engine supported [ 1.841375] meson8b-dwmac ff3f0000.ethernet: COE Type 2 [ 1.846551] meson8b-dwmac ff3f0000.ethernet: TX Checksum insertion supported [ 1.853546] meson8b-dwmac ff3f0000.ethernet: Wake-Up On Lan supported [ 1.860012] meson8b-dwmac ff3f0000.ethernet: Normal descriptors [ 1.865782] meson8b-dwmac ff3f0000.ethernet: Ring mode enabled [ 1.871563] meson8b-dwmac ff3f0000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 1.879499] meson8b-dwmac ff3f0000.ethernet: device MAC address a6:d4:f8:d0:95:84 [ 1.887782] libphy: stmmac: probed [ 1.892726] dwc3-meson-g12a ffe09000.usb: USB2 ports: 2 [ 1.895497] dwc3-meson-g12a ffe09000.usb: USB3 ports: 1 [ 1.904405] dwc2 ff400000.usb: supply vusb_d not found, using dummy regulator [ 1.907906] dwc2 ff400000.usb: supply vusb_a not found, using dummy regulator [ 1.915236] dwc2 ff400000.usb: EPs: 7, dedicated fifos, 712 entries in SPRAM [ 1.923716] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller [ 1.927313] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 1 [ 1.934987] xhci-hcd xhci-hcd.3.auto: hcc params 0x0228fe6c hci version 0x110 quirks 0x0000000000010010 [ 1.944161] xhci-hcd xhci-hcd.3.auto: irq 36, io mem 0xff500000 [ 1.950668] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.12 [ 1.958161] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.965319] usb usb1: Product: xHCI Host Controller [ 1.970145] usb usb1: Manufacturer: Linux 5.12.0-rc6 xhci-hcd [ 1.975837] usb usb1: SerialNumber: xhci-hcd.3.auto [ 1.981606] hub 1-0:1.0: USB hub found [ 1.984426] hub 1-0:1.0: 2 ports detected [ 1.988972] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller [ 1.993809] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 2 [ 2.001387] xhci-hcd xhci-hcd.3.auto: Host supports USB 3.0 SuperSpeed [ 2.007927] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 2.016023] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.12 [ 2.024057] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.031214] usb usb2: Product: xHCI Host Controller [ 2.036043] usb usb2: Manufacturer: Linux 5.12.0-rc6 xhci-hcd [ 2.041735] usb usb2: SerialNumber: xhci-hcd.3.auto [ 2.047288] hub 2-0:1.0: USB hub found [ 2.050314] hub 2-0:1.0: 1 port detected [ 2.061103] simple-framebuffer 7fe5b000.framebuffer: framebuffer at 0x7fe5b000, 0x195000 bytes, mapped to 0x(____ptrval____) [ 2.069157] simple-framebuffer 7fe5b000.framebuffer: format=x8r8g8b8, mode=720x576x32, linelength=2880 [ 2.078648] simple-framebuffer 7fe5b000.framebuffer: fb1: simplefb registered! [ 2.087388] libphy: mdio_mux: probed [ 2.214222] libphy: mdio_mux: probed [ 2.279364] printk: console [netcon0] enabled [ 2.281704] netconsole: network logging started [ 2.285743] ALSA device list: [ 2.287994] #0: X96-MAX [ 2.296150] Freeing unused kernel memory: 6208K [ 2.298762] Run /init as init process