Jump to content

Single Armbian image for RK + AML + AW (aarch64 ARMv8)


Recommended Posts

Posted

I can confirm that high temperature issues I ran with @balbes150 kernel from git repository are related to Panfrost.

 

Blacklisting Panfrost also makes you able to reboot as @balbes150 pointed out.

 

Still working on bluetooth :)

 

Posted

I was able to reinstate sound via HDMI after a kernel update by running

 

amixer -c0 sset 'AIU HDMI CTRL SRC' I2S

 

There it is, in case it helps anybody out.

Posted
15 hours ago, Povl H. Pedersen said:

no kernel upgrade, but linux-image-current-arm-64

Yeah, and the linux-image package, it's for beautiful Wallpapers on the screen ....  B)

 

15 hours ago, Povl H. Pedersen said:

Now, how do I upgrade everything ? Is there an easy way ?

Restore the regular Android firmware and if you do not know how the system works , exactly follow the instructions that you are given .

 

15 hours ago, Povl H. Pedersen said:

One reason I picked 905x3 is that it performs well for the price according to

Listen less to all the stuff that has nothing to do with Linux (Armbian).

 

15 hours ago, Povl H. Pedersen said:

Way better than H6 and RK3328.

Exactly the opposite. Worse than Rockchip and Allwinner

 

15 hours ago, Povl H. Pedersen said:

then we are close to Intel land

This shit is even free not of interest.

 

 

Posted
On 4/28/2020 at 1:31 PM, Didikdw said:

Hello.. 

 

Is there avaible armbian  5.8.7 or above for s905x debian 9 stretch

I need armbian with libqt4 for ibstall hyperion ambianlight

Ihave instal with armbian ver 5.8.4 work but my wifi device cant active 

Sorry bad my english

🙏🙏 

Would you do me a favor and upload that image for me? 

Posted

I'm glad to announce I have WiFi and Bluetooth working with kernel 5.7.0-rc1 pulled from @balbes150 git repository!

 

The box in question is a H96 Pro+ 3GB/32GB (S912).

 

First we must build the kernel with the following options:

 

# CONFIG_STANDALONE is not set
# CONFIG_PREVENT_FIRMWARE_BUILD is not set

#
# Firmware loader
#
CONFIG_FW_LOADER=y
CONFIG_EXTRA_FIRMWARE=""

 

Now me must copy the firmware files to /lib/firmware.

 

You can obtain the firmware for example from here: https://github.com/chewitt/qca-firmware

 

Rename fbtfw11.tlv to rampatch_00230302.bin

 

Also rename tfbtnv11.bin to nvm_00230302.bin.

 

Now create a new meson-gxm-q200-h96proplus.dts file in the arch/arm64/boot/dts directory and add a Makefile rule to it.

 

DTB should be as follows:

 

// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright (c) 2016 Endless Computers, Inc.
 * Author: Carlo Caione <carlo@endlessm.com>
 */

/dts-v1/;

#include <dt-bindings/input/input.h>

#include "meson-gxm.dtsi"
#include "meson-gx-p23x-q20x.dtsi"

/ {
	compatible = "amlogic,q200", "amlogic,s912", "amlogic,meson-gxm";
	model = "Amlogic Meson GXM (S912) Q200 Development Board";

	adc-keys {
		compatible = "adc-keys";
		io-channels = <&saradc 0>;
		io-channel-names = "buttons";
		keyup-threshold-microvolt = <1710000>;

		button-function {
			label = "Update";
			linux,code = <KEY_VENDOR>;
			press-threshold-microvolt = <10000>;
		};
	};

	gpio-keys-polled {
		compatible = "gpio-keys-polled";
		#address-cells = <1>;
		#size-cells = <0>;
		poll-interval = <100>;

		button@0 {
			label = "power";
			linux,code = <KEY_POWER>;
			gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_LOW>;
		};
	};
};

/* Q200 has exclusive choice between internal or external PHY */
&ethmac {
	pinctrl-0 = <&eth_pins>;
	pinctrl-names = "default";

	/* Select external PHY by default */
	phy-handle = <&external_phy>;

	amlogic,tx-delay-ns = <2>;

	/* External PHY is in RGMII */
	phy-mode = "rgmii";
};

&external_mdio {
	external_phy: ethernet-phy@0 {
		/* Realtek RTL8211F (0x001cc916) */
		reg = <0>;
		max-speed = <1000>;

		/* External PHY reset is shared with internal PHY Led signal */
		reset-assert-us = <10000>;
		reset-deassert-us = <30000>;
		reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>;

		interrupt-parent = <&gpio_intc>;
		/* MAC_INTR on GPIOZ_15 */
		interrupts = <25 IRQ_TYPE_LEVEL_LOW>;
	};
};

&uart_A {
        status = "okay";
        pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
        pinctrl-names = "default";
        uart-has-rtscts;

        bluetooth {
                compatible = "qcom,qca9377-bt";
                enable-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
                max-speed = <2000000>;
                clocks = <&wifi32k>;
                clock-names = "lpo";

        };
};

 

Build the kernel and enjoy!

Posted
10 hours ago, geraldog said:

I'm glad to announce I have WiFi and Bluetooth working with kernel 5.7.0-rc1 pulled from @balbes150 git repository!

 

 

 

By the way if any of you try this fix, remember to comment out the relevant &uart_A section in meson-gx-p23x-q20x.dtsi otherwise you may have problems!

Posted
14 hours ago, geraldog said:

First we must build the kernel with the following options:

These options have been used in the kernel for a long time, and don't need to enable anything.

 

4 hours ago, geraldog said:

By the way if any of you try this fix, remember to comment out the relevant &uart_A section in meson-gx-p23x-q20x.dtsi otherwise you may have problems!

This is not required. When using all new values, they replace the values from the included file.

Posted
11 hours ago, balbes150 said:

These options have been used in the kernel for a long time, and don't need to enable anything.

 

$cd Amlogic_s905-kernel-master
$mv .config .some_traces_but_working
$make defconfig
$/scripts/diffconfig .config .some_traces_but_working > .config.diff

$cat .config.diff | grep STANDALONE
STANDALONE y -> n

$cat .config.diff | grep PREVENT_FIRMWARE_BUILD
PREVENT_FIRMWARE_BUILD y -> n

 

Default kernel won't even try to load firmware from /lib/firmware via FW_LOADER after mounting rootfs with these options set! :)

 

 

11 hours ago, balbes150 said:

These options have been used in the kernel for a long time, and don't need to enable anything.

 

This is not required. When using all new values, they replace the values from the included file.

 

https://github.com/150balbes/Amlogic_s905-kernel/blob/master/arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi

 

&uart_A {
	status = "okay";
	pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
	pinctrl-names = "default";
	uart-has-rtscts;

	bluetooth {
		compatible = "brcm,bcm43438-bt";
		shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
		max-speed = <2000000>;
		clocks = <&wifi32k>;
		clock-names = "lpo";
	};
};

 

It may reolace the compatible but it will make a royal mess when loading module hci_uart with both enable-gpios and shutdown-gpios assigned to the same GPIO.

Posted

Hi

 

Maybe my messages doesn't show up to this thread but I'm trying to ask about Armbian Strecth image. I hope someone has it and would share it for us. I'm looking also 32bit distro for the s905w but looks like the armbian doesn't have support for that? I would be very grateful for the help

 

@balbes150 Have you deleted those old versions?

Posted
2 hours ago, Jamboa said:

Have you deleted those old versions?

Older versions are not supported.

Posted

Hello there!

 

@balbes150, can you update img on mega cloud please?

 

People already run Panfrost on S905X3 (odroid-c4 board), someone get Mali-G31 (in S905X3) work with acceleration on H96 Max X3?

 

I bought H96 Max X3 box and have happy hour with DTB/Mesa/Panfros cooking :blink: but stay on llvm renderer.

 

But get some result - BT now is working, for get this - put to folder "/lib/firmware/brcm" file bcm4335c0.hcd from:

https://github.com/kszaq/brcmfmac_sdio-firmware-aml/blob/master/firmware/brcm/bcm4335c0.hcd

with name "BCM4335C0.hcd" and reboot.

 

Try compare DTB from Odroid-C4 / H96 Max X3 Android 9 / and presented here by @ramoncio and get obviously zero error in dmesg, here my files:

https://drive.google.com/drive/folders/1FToRIJFOjJudNKrRr7S_GgNX0Q-3DmmF?usp=sharing 

 

Don't get working yet 3D acceleration and video encoding but dmesg tell me about proper loading wifi, eth, bt, vpu, gpu and fb.

Posted
On 5/4/2020 at 5:54 PM, dbsharpe said:

 

The only stretch I have is Armbian_5.44_S9xxx_Debian_stretch_3.14.29_xfce_20180601.img.xz
and I've uploaded it to https://mega.nz/file/ArB2iQaL#iiPzjAjSFjLTdeq-OZt_kwYhjoXeDam9Xq0E_5PfNVc
760820516 bytes on disk with md5sum de4c8de5f5a360b8d41e67c32a9cf90d.

Got failed to start systemd-modules-load.service kernel module. So no luck whit just this image on my Android unit.  Many thanks to you anyway! Looks like I have to buy another rasbperry pi to get the Strech Debian for my Gimx usage

Posted
3 hours ago, Jamboa said:

Got failed to start systemd-modules-load.service kernel module. So no luck whit just this image on my Android unit.  Many thanks to you anyway! Looks like I have to buy another rasbperry pi to get the Strech Debian for my Gimx usage

 

I think you can build it yourself in bullseye.

 

https://gimx.fr/wiki/index.php?title=Development_on_Linux

 

Sure, it doesn't list Armbian Bullseye, but it seems to be just a case of hunting out dependencies, checking out from git, building and setting up permissions.

Posted (edited)

Hello there!

 

@balbes150, thanks!

 

At last two week people already run Panfrost on S905X3 (odroid-c4 board).

 

Someone here get Mali-G31 (in S905X3) work with acceleration?

Who here with similar box as H96 Max X3 (with S905X3), can you share your DTS/DTB files and few words about what is working and how your filing?

 

Maybe some tall me how properly check panfrost kernel module is working or only loaded?

 

Thanks :D

Edited by root-stas
Posted

Is anyone running a Beelink GT-King and does your box remain stable OR lock-up/freeze when transferring data to/from SD/USB?

 

Mine freezes completely when I transfer data around. My full post on it is here 

 

My system is a version 2.2 board the SA9X model.

 

 

I also see an "Internal error: Oops: 96000004 [#1] PREEMPT SMP" in the UART logs (See spoiler for full logs)

 

Spoiler

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2020.05.08 12:18:24 =~=~=~=~=~=~=~=~=~=~=~=

 G12B:BL:6e7c85:7898ac;FEAT:E0F83180:402000;POC:F;RCY:0;EMMC:0;READ:0;0.

bl2_stage_init 0x01

bl2_stage_init 0x81

hw id: 0x0001 - pwm id 0x00

bl2_stage_init 0xc0

bl2_stage_init 0x02

 

L0:00000000

L1:00000703

L2:0000c067

L3:14000020

B2:00402000

B1:e0f83180

 

TE: 131182

 

BL2 Built : 15:42:20, Aug  2 2019. g12b gfa34f81 - luan.yuan@droid15-sz

 

Board ID = 11

Set A53 clk to 24M

Set A73 clk to 24M

Set clk81 to 24M

A53 clk: 1200 MHz

A73 clk: 1200 MHz

CLK81: 166.6M

smccc: 000248a4

eMMC boot @ 0

sw8 s

DDR driver_vesion: LPDDR4_PHY_V_0_1_15 build time: Aug  2 2019 15:42:16

board id: 11

Load FIP HDR from eMMC, src: 0x00010200, des: 0xfffd0000, size: 0x00004000, part: 0

fw parse done

Load ddrfw from eMMC, src: 0x00060200, des: 0xfffd0000, size: 0x0000c000, part: 0

Load ddrfw from eMMC, src: 0x00038200, des: 0xfffd0000, size: 0x00004000, part: 0

PIEI prepare done

fastboot data load

00000000

emmc switch 1 ok

ddr saved addr:00016000

Load ddr parameter from eMMC, src: 0x02c00000, des: 0xfffd0000, size: 0x00001000, part: 0

00000000

emmc switch 0 ok

fastboot data verify

verify result: 0

enable_fast_boot

dmc_margin_rx==11 dmc_margin_tx==12 steps

DDR4 probe

ddr clk to 1152MHz

 

dmc_version 0000

Load ddrfw from eMMC, src: 0x00020200, des: 0xfffd0000, size: 0x0000c000, part: 0

Check phy result

INFO : End of initialization

INFO : Training has run successfully!

 

R0_RxClkDly_Margin==0 ps 0

R0_TxDqDly_Margi==0 ps 0

 

 

R1_RxClkDly_Margin==0 ps 0

R1_TxDqDly_Margi==0 ps 0

 

 dwc_ddrphy_apb_wr((0<<20)|(2<<16)|(0<<12)|(0xb0):0001

 

soc_vref_reg_value 0x 00000039 0000003a 00000039 0000003a 00000039 00000037 0000003a 00000038 00000038 0000003a 00000038 00000039 0000003b 00000039 00000039 0000003b 00000037 0000003a 00000037 00000039 0000003a 00000034 00000037 0000003a 0000003c 0000003d 0000003a 0000003b 0000003b 0000003b 0000003e 0000003a dram_vref_reg_value 0x 0000000e

aml_ddr_fw_vesion: LPDDR4_PHY_V_0_1_15 build time: Jun 18 2019 20:30:33

DDR cs0 size: 3928MB

DDR cs1 size: 0MB

DMC_DDR_CTRL: 0050002dDDR size: 3928MB

cs0 DataBus test pass

cs0 AddrBus test pass

 

non-sec scramble use zero key

ddr scramble enabled

 

100bdlr_step_size ps== 425

result report

boot times 0Enable ddr reg access

00000000

emmc switch 3 ok

BL2: rpmb counter: 0x0000001c

00000000

emmc switch 0 ok

Load FIP HDR from eMMC, src: 0x00010200, des: 0x01700000, size: 0x00004000, part: 0

Load BL3X from eMMC, src: 0x00078200, des: 0x01768000, size: 0x00120000, part: 0

0.0;M3 CHK:0;cm4_sp_mode 0

 

MVN_1=0x00000000

 

MVN_2=0x00000000

 

[Image: g12b_v1.1.3389-92241b5 2019-07-02 17:23:01 luan.yuan@droid15-sz]

 

OPS=0x40

 

ring efuse init

 

chipver efuse init

 

29 0a 40 00 01 21 15 00 00 17 33 30 53 30 4e 50

 

[0.018960 Inits done]

 

secure task start!

high task start!

low task start!

run into bl31

NOTICE:  BL31: v1.3(release):4fc40b1

NOTICE:  BL31: Built : 15:58:17, May 22 2019

NOTICE:  BL31: G12A normal boot!

NOTICE:  BL31: BL33 decompress pass

INFO:    BL3-2: ATOS-V2.4.2-13-gc341bc0 #1 Thu Jun 27 19:33:34 2019 +0800 arm

INFO:    BL3-2: Chip: G12B Rev: A (29:A - 40:2)

INFO:    BL3-2: crypto engine DMA

INFO:    BL3-2: secure time TEE

INFO:    BL3-2: CONFIG_DEVICE_SECURE 0xb200000e

 

 

U-Boot 2015.01-gd7b4440 (Nov 26 2019 - 09:57:17)

 

DRAM:  3.8 GiB

Relocation Offset is: d6e25000

spi_post_bind(spicc): req_seq = 0

spi_post_bind(spifc): req_seq = 1

register usb cfg[0][1] = 00000000d7f31c68

NAND:  get_sys_clk_rate_mtd() 290, clock setting 200!

NAND device id: 0 ff ff ff ff ff

No NAND device found!!!

nand init failed: -6

get_sys_clk_rate_mtd() 290, clock setting 200!

NAND device id: 0 ff ff ff ff ff

No NAND device found!!!

nand init failed: -6

MMC:   aml_priv->desc_buf = 0x00000000d3e15b10

aml_priv->desc_buf = 0x00000000d3e17e50

SDIO Port B: 0, SDIO Port C: 1

co-phase 0x3, tx-dly 0, clock 400000

co-phase 0x3, tx-dly 0, clock 400000

co-phase 0x3, tx-dly 0, clock 400000

emmc/sd response timeout, cmd8, status=0x1ff2800

emmc/sd response timeout, cmd55, status=0x1ff2800

co-phase 0x3, tx-dly 0, clock 400000

co-phase 0x1, tx-dly 0, clock 40000000

aml_sd_retry_refix[983]:delay = 0x0,gadjust =0x182000

[mmc_startup] mmc refix success

init_part() 297: PART_TYPE_AML

[mmc_init] mmc init success

      Amlogic multi-dtb tool

      Multi dtb detected

cpu_id.chip_rev: a

      Multi dtb tool version: v2 .

      Support 2 dtbs.

        aml_dt soc: g12b platform: w400 variant: a

        dtb 0 soc: g12b   plat: w400   vari: a

        dtb 1 soc: g12b   plat: w400   vari: b

      Find match dtb: 0

start dts,buffer=00000000d3e1a6c0,dt_addr=00000000d3e1aec0

get_partition_from_dts() 91: ret 0

      Amlogic multi-dtb tool

      Multi dtb detected

cpu_id.chip_rev: a

      Multi dtb tool version: v2 .

      Support 2 dtbs.

        aml_dt soc: g12b platform: w400 variant: a

        dtb 0 soc: g12b   plat: w400   vari: a

        dtb 1 soc: g12b   plat: w400   vari: b

      Find match dtb: 0

parts: 17

00:      logo   0000000000800000 1

01:  recovery   0000000001800000 1

02:      misc   0000000000800000 1

03:      dtbo   0000000000800000 1

04:  cri_data   0000000000800000 2

05:     param   0000000001000000 2

06:      boot   0000000001000000 1

set has_boot_slot = 0

07:       rsv   0000000001000000 1

08:  metadata   0000000001000000 1

09:    vbmeta   0000000000200000 1

10:       tee   0000000002000000 1

11:    vendor   0000000030000000 1

12:       odm   0000000008000000 1

13:    system   0000000080000000 1

14:   product   0000000008000000 1

15:     cache   0000000046000000 2

16:      data   ffffffffffffffff 4

init_part() 297: PART_TYPE_AML

eMMC/TSD partition table have been checked OK!

crc32_s:0x1577dad == storage crc_pattern:0x1577dad!!!

crc32_s:0xee152b83 == storage crc_pattern:0xee152b83!!!

crc32_s:0x79f50f07 == storage crc_pattern:0x79f50f07!!!

mmc env offset: 0x4d400000

In:    serial

Out:   serial

Err:   serial

reboot_mode=cold_boot

[store]To run cmd[emmc dtb_read 0x1000000 0x40000]

_verify_dtb_checksum()-3406: calc e8d87785, store e8d87785

_verify_dtb_checksum()-3406: calc e8d87785, store e8d87785

dtb_read()-3623: total valid 2

update_old_dtb()-3604: do nothing

      Amlogic multi-dtb tool

      Multi dtb detected

cpu_id.chip_rev: a

      Multi dtb tool version: v2 .

      Support 2 dtbs.

        aml_dt soc: g12b platform: w400 variant: a

        dtb 0 soc: g12b   plat: w400   vari: a

        dtb 1 soc: g12b   plat: w400   vari: b

      Find match dtb: 0

amlkey_init() enter!

[EFUSE_MSG]keynum is 4

vpu: clk_level in dts: 7

vpu: vpu_power_on

vpu: set clk: 666667000Hz, readback: 666666667Hz(0x100)

vpu: vpu_module_init_config

vpp: vpp_init

vpp: vpp osd2 matrix rgb2yuv..............

cvbs: cpuid:0x29

lcd: detect mode: tablet, key_valid: 0

lcd: load config from dts

lcd: pinctrl_version: 2

lcd: use panel_type=lcd_1

lcd: bl: pinctrl_version: 2

lcd: bl: name: backlight_pwm, method: 1

lcd: bl: aml_bl_power_ctrl: 0

SARADC closed.

Net:   dwmac.ff3f0000amlkey_init() enter!

amlkey_init() 71: already init!

[EFUSE_MSG]keynum is 4

MACADDR:02:00:00:15:21:01(from chipid)

 

CONFIG_AVB2: null

Start read misc partition datas!

info->magic =

info->version_major = 1

info->version_minor = 0

info->slots[0].priority = 15

info->slots[0].tries_remaining = 7

info->slots[0].successful_boot = 0

info->slots[1].priority = 14

info->slots[1].tries_remaining = 7

info->slots[1].successful_boot = 0

info->crc32 = -1075449479

active slot = 0

wipe_data=successful

wipe_cache=successful

upgrade_step=2

reboot_mode:::: cold_boot

amlkey_init() enter!

amlkey_init() 71: already init!

[EFUSE_MSG]keynum is 4

[KM]Error:f[key_manage_query_size]L515:key[usid] not programed yet

[KM]Error:f[key_manage_query_size]L515:key[mac] not programed yet

[KM]Error:f[key_manage_query_size]L515:key[deviceid] not programed yet

lcd: error: outputmode[1080p60hz] is not support

hpd_state=1

edid preferred_mode is 1080p60hz[16]

hdr mode is 0

dv  mode is ver:0  len: 0

hdr10+ mode is 0

[OSD]load fb addr from dts:/meson-fb

[OSD]set initrd_high: 0x7f800000

[OSD]fb_addr for logo: 0x7f800000

[OSD]load fb addr from dts:/meson-fb

[OSD]fb_addr for logo: 0x7f800000

[OSD]VPP_OFIFO_SIZE:0xfff01fff

[CANVAS]canvas init

[CANVAS]addr=0x7f800000 width=5760, height=2160

[OSD]osd_hw.free_dst_data: 0,1919,0,1079

[OSD]osd1_update_disp_freescale_enable

cvbs: outputmode[1080p60hz] is invalid

vpp: vpp_matrix_update: 2

set hdmitx VIC = 16

config HPLL = 5940000 frac_rate = 1

HPLL: 0x3b3a04f7

HPLL: 0x1b3a04f7

HPLLv1: 0xdb3a04f7

config HPLL done

j = 6  vid_clk_div = 1

hdmitx: set enc for VIC: 16

hdmitx phy setting done

enc_vpu_bridge_reset[1249]

rx version is 1.4 or below  div=10

vpp: sdr_mode = 2

vpp: Rx hdr_info.hdr_sup_eotf_smpte_st_2084 = 0

amlkey_init() enter!

amlkey_init() 71: already init!

[EFUSE_MSG]keynum is 4

[KM]Error:f[key_manage_query_size]L515:key[usid] not programed yet

[KM]Error:f[key_manage_query_size]L515:key[mac] not programed yet

[KM]Error:f[key_manage_query_size]L515:key[deviceid] not programed yet

Command: bcb uboot-command

Start read misc partition datas!

BCB hasn't any datas,exit!

InUsbBurn

noSof

sof timeout, reset usb phy tuning

amlkey_init() enter!

amlkey_init() 71: already init!

[EFUSE_MSG]keynum is 4

[KM]Error:f[key_manage_query_size]L515:key[usid] not programed yet

[KM]Error:f[key_manage_query_size]L515:key[mac] not programed yet

[KM]Error:f[key_manage_query_size]L515:key[deviceid] not programed yet

Hit Enter or space or Ctrl+C key to stop autoboot -- :  1 0

card out

(Re)start USB...

USB0:   USB3.0 XHCI init start

Register 3000140 NbrPorts 2

Starting the controller

USB XHCI 1.10

scanning bus 0 for devices... 3 USB Device(s) found

       scanning usb for storage devices... init_part() 282: PART_TYPE_DOS

1 Storage Device(s) found

reading s905_autoscript

1654 bytes read in 23 ms (69.3 KiB/s)

## Executing script at 01020000

start amlogic old u-boot

## Error: "bootfromsd" not defined

card out

** Bad device mmc 0 **

reading boot_android

** Unable to read file boot_android **

card out

** Bad device mmc 0 **

reading u-boot.ext

** Unable to read file u-boot.ext **

card out

** Bad device mmc 0 **

start test usb

reading uEnv.txt

350 bytes read in 17 ms (19.5 KiB/s)

## Error: "mac" not defined

## Error: "eth_mac" not defined

reading /zImage

29272576 bytes read in 873 ms (32 MiB/s)

reading /uInitrd

11214358 bytes read in 349 ms (30.6 MiB/s)

reading /dtb/amlogic/meson-g12b-gtking.dtb

50214 bytes read in 40 ms (1.2 MiB/s)

## Error: "aadmac" not defined

libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND

[rsvmem] fdt get prop fail.

## Loading init Ramdisk from Legacy Image at 13000000 ...

   Image Name:   uInitrd

   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)

   Data Size:    11214294 Bytes = 10.7 MiB

   Load Address: 00000000

   Entry Point:  00000000

   Verifying Checksum ... OK

Start read misc partition datas!

info->magic =

info->version_major = 1

info->version_minor = 0

info->slots[0].priority = 15

info->slots[0].tries_remaining = 7

info->slots[0].successful_boot = 0

info->slots[1].priority = 14

info->slots[1].tries_remaining = 7

info->slots[1].successful_boot = 0

info->crc32 = -1075449479

active slot = 0

active_slot is normal

load dtb from 0x1000000 ......

      Amlogic multi-dtb tool

      Single dtb detected

## Flattened Device Tree blob at 01000000

   Booting using the fdt blob at 0x1000000

find 1 dtbos

No androidboot.dtbo_idx configured

And no dtbos will be applied

libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND

[rsvmem] fdt get prop fail.

   Loading Ramdisk to 7ed4e000, end 7f7ffdd6 ... OK

   Loading Device Tree to 000000001fff0000, end 000000001ffff5db ... OK

 

Starting kernel ...

 

uboot time: 9520123 us

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]

[    0.000000] Linux version 5.7.0-rc2-arm-64 (root@vbox) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)), GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321) #20.05.3 SMP PREEMPT Sat Apr 25 13:17:40 MSK 2020

[    0.000000] Machine model: Beelink GT-King

[    0.000000] efi: UEFI not found.

[    0.000000] Reserved memory: created CMA memory pool at 0x00000000a8000000, size 768 MiB

[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool

[    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 22 pages/cpu s51160 r8192 d30760 u90112

[    0.000000] Detected VIPT I-cache on CPU0

[    0.000000] CPU features: detected: ARM erratum 845719

[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 870144

[    0.000000] Kernel command line: root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0

[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)

[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)

[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off

[    0.000000] software IO TLB: mapped [mem 0x3bfff000-0x3ffff000] (64MB)

[    0.000000] Memory: 2563516K/3535872K available (16124K kernel code, 1514K rwdata, 6980K rodata, 3904K init, 944K bss, 185924K reserved, 786432K cma-reserved)

[    0.000000] random: get_random_u64 called from cache_random_seq_create+0x84/0x158 with crng_init=0

[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1

[    0.000000] rcu: Preemptible hierarchical RCU implementation.

[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.

[    0.000000]  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=6

[    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] 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.000004] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns

[    0.000212] Console: colour dummy device 80x25

[    0.000557] printk: console [tty0] enabled

[    0.000601] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)

[    0.000623] pid_max: default: 32768 minimum: 301

[    0.000769] LSM: Security Framework initializing

[    0.000829] SELinux:  Initializing.

[    0.000962] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)

[    0.000993] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)

[    0.002754] rcu: Hierarchical SRCU implementation.

[    0.005888] EFI services will not be available.

[    0.006289] smp: Bringing up secondary CPUs ...

[    0.006960] Detected VIPT I-cache on CPU1

[    0.007010] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]

[    0.008173] CPU features: detected: ARM erratum 858921

[    0.008182] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware

[    0.008190] Detected VIPT I-cache on CPU2

[    0.008213] arch_timer: Enabling local workaround for ARM erratum 858921

[    0.008227] arch_timer: CPU2: Trapping CNTVCT access

[    0.008234] CPU2: Booted secondary processor 0x0000000100 [0x410fd092]

[    0.008874] Detected VIPT I-cache on CPU3

[    0.008890] arch_timer: Enabling local workaround for ARM erratum 858921

[    0.008896] arch_timer: CPU3: Trapping CNTVCT access

[    0.008901] CPU3: Booted secondary processor 0x0000000101 [0x410fd092]

[    0.009485] Detected VIPT I-cache on CPU4

[    0.009501] arch_timer: Enabling local workaround for ARM erratum 858921

[    0.009507] arch_timer: CPU4: Trapping CNTVCT access

[    0.009512] CPU4: Booted secondary processor 0x0000000102 [0x410fd092]

[    0.010105] Detected VIPT I-cache on CPU5

[    0.010120] arch_timer: Enabling local workaround for ARM erratum 858921

[    0.010126] arch_timer: CPU5: Trapping CNTVCT access

[    0.010131] CPU5: Booted secondary processor 0x0000000103 [0x410fd092]

[    0.010199] smp: Brought up 1 node, 6 CPUs

[    0.010379] SMP: Total of 6 processors activated.

[    0.010393] CPU features: detected: 32-bit EL0 Support

[    0.010406] CPU features: detected: CRC32 instructions

[    0.023946] CPU: All CPU(s) started at EL2

[    0.024007] alternatives: patching kernel code

[    0.025544] devtmpfs: initialized

[    0.031534] Registered cp15_barrier emulation handler

[    0.031558] Registered setend emulation handler

[    0.031570] KASLR disabled due to lack of seed

[    0.031851] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns

[    0.031873] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)

[    0.043211] xor: measuring software checksum speed

[    0.079972]    8regs     :  3320.000 MB/sec

[    0.120010]    32regs    :  3851.000 MB/sec

[    0.160049]    arm64_neon:  3588.000 MB/sec

[    0.160057] xor: using function: 32regs (3851.000 MB/sec)

[    0.160098] pinctrl core: initialized pinctrl subsystem

[    0.160676] thermal_sys: Registered thermal governor 'step_wise'

[    0.160959] DMI not present or invalid.

[    0.161301] NET: Registered protocol family 16

[    0.162452] DMA: preallocated 256 KiB pool for atomic allocations

[    0.162473] audit: initializing netlink subsys (disabled)

[    0.162622] audit: type=2000 audit(0.160:1): state=initialized audit_enabled=0 res=1

[    0.163605] cpuidle: using governor ladder

[    0.163632] cpuidle: using governor menu

[    0.163855] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.

[    0.163954] ASID allocator initialised with 65536 entries

[    0.164716] Serial: AMBA PL011 UART driver

[    0.176882] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages

[    0.176902] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages

[    0.176912] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages

[    0.176922] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages

[    0.180263] cryptd: max_cpu_qlen set to 1000

[    0.252186] raid6: neonx8   gen()  2808 MB/s

[    0.320248] raid6: neonx8   xor()  2042 MB/s

[    0.388347] raid6: neonx4   gen()  3003 MB/s

[    0.456393] raid6: neonx4   xor()  2398 MB/s

[    0.524461] raid6: neonx2   gen()  2583 MB/s

[    0.592527] raid6: neonx2   xor()  2186 MB/s

[    0.660596] raid6: neonx1   gen()  2083 MB/s

[    0.728663] raid6: neonx1   xor()  1727 MB/s

[    0.796741] raid6: int64x8  gen()  1380 MB/s

[    0.864812] raid6: int64x8  xor()   734 MB/s

[    0.932869] raid6: int64x4  gen()  1463 MB/s

[    1.000942] raid6: int64x4  xor()   733 MB/s

[    1.069008] raid6: int64x2  gen()  1359 MB/s

[    1.137071] raid6: int64x2  xor()   619 MB/s

[    1.205145] raid6: int64x1  gen()  1125 MB/s

[    1.273205] raid6: int64x1  xor()   461 MB/s

[    1.273213] raid6: using algorithm neonx4 gen() 3003 MB/s

[    1.273221] raid6: .... xor() 2398 MB/s, rmw enabled

[    1.273229] raid6: using neon recovery algorithm

[    1.273558] ACPI: Interpreter disabled.

[    1.274537] VDDAO_3V3: supplied by 12V

[    1.274778] iommu: Default domain type: Translated

[    1.274956] vgaarb: loaded

[    1.275318] SCSI subsystem initialized

[    1.275561] usbcore: registered new interface driver usbfs

[    1.275594] usbcore: registered new interface driver hub

[    1.275644] usbcore: registered new device driver usb

[    1.275863] pps_core: LinuxPPS API ver. 1 registered

[    1.275872] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

[    1.275889] PTP clock support registered

[    1.275907] EDAC MC: Ver: 3.0.0

[    1.276294] FPGA manager framework

[    1.276349] Advanced Linux Sound Architecture Driver Initialized.

[    1.276692] NetLabel: Initializing

[    1.276701] NetLabel:  domain hash size = 128

[    1.276708] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO

[    1.276748] NetLabel:  unlabeled traffic allowed by default

[    1.277047] clocksource: Switched to clocksource arch_sys_counter

[    1.277192] VFS: Disk quotas dquot_6.6.0

[    1.277238] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)

[    1.277308] FS-Cache: Loaded

[    1.277498] pnp: PnP ACPI: disabled

[    1.282134] NET: Registered protocol family 2

[    1.282469] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)

[    1.282503] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)

[    1.282669] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)

[    1.282863] TCP: Hash tables configured (established 32768 bind 32768)

[    1.282954] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)

[    1.282998] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)

[    1.283153] NET: Registered protocol family 1

[    1.283455] RPC: Registered named UNIX socket transport module.

[    1.283466] RPC: Registered udp transport module.

[    1.283473] RPC: Registered tcp transport module.

[    1.283480] RPC: Registered tcp NFSv4.1 backchannel transport module.

[    1.283491] NET: Registered protocol family 44

[    1.283505] PCI: CLS 0 bytes, default 64

[    1.283634] Trying to unpack rootfs image as initramfs...

[    1.703751] Freeing initrd memory: 10948K

[    1.755196] Initialise system trusted keyrings

[    1.755311] workingset: timestamp_bits=46 max_order=20 bucket_order=0

[    1.758800] zbud: loaded

[    1.759685] squashfs: version 4.0 (2009/01/31) Phillip Lougher

[    1.759872] FS-Cache: Netfs 'nfs' registered for caching

[    1.760228] NFS: Registering the id_resolver key type

[    1.760250] Key type id_resolver registered

[    1.760258] Key type id_legacy registered

[    1.760271] nfs4filelayout_init: NFSv4 File Layout Driver Registering...

[    1.760280] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).

[    1.761016] FS-Cache: Netfs 'cifs' registered for caching

[    1.761203] Key type cifs.spnego registered

[    1.761216] Key type cifs.idmap registered

[    1.761227] ntfs: driver 2.1.32 [Flags: R/W].

[    1.761590] JFS: nTxBlock = 8192, nTxLock = 65536

[    1.764346] SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled

[    1.765582] ocfs2: Registered cluster interface o2cb

[    1.765719] OCFS2 User DLM kernel interface loaded

[    1.766781] gfs2: GFS2 installed

[    1.779676] NET: Registered protocol family 38

[    1.779701] Key type asymmetric registered

[    1.779709] Asymmetric key parser 'x509' registered

[    1.779717] Asymmetric key parser 'pkcs8' registered

[    1.779756] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)

[    1.779872] io scheduler mq-deadline registered

[    1.779882] io scheduler kyber registered

[    1.780000] io scheduler bfq registered

[    1.792302] soc soc0: Amlogic Meson G12B (S922X) Revision 29:a (40:2) Detected

[    1.793488] pwm-regulator: supplied by regulator-dummy

[    1.793640] VCC_3V3: supplied by VDDAO_3V3

[    1.793675] FLASH_1V8: supplied by VCC_3V3

[    1.793713] VCC_1V8: supplied by VCC_3V3

[    1.793750] VDDAO_1V8: supplied by VDDAO_3V3

[    1.793871] pwm-regulator: supplied by regulator-dummy

[    1.795922] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled

[    1.797089] Serial: AMBA driver

[    1.797324] ff803000.serial: ttyAML0 at MMIO 0xff803000 (irq = 14, base_baud = 1500000) is a meson_uart

[    2.848149] printk: console [ttyAML0] enabled

[    2.852806] ffd24000.serial: ttyAML6 at MMIO 0xffd24000 (irq = 19, base_baud = 1500000) is a meson_uart

[    2.861849] serial serial0: tty port ttyAML6 registered

[    2.875339] brd: module loaded

[    2.880628] loop: module loaded

[    2.883876] libphy: Fixed MDIO Bus: probed

[    2.885477] VFIO - User Level meta-driver version: 0.3

[    2.888348] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

[    2.893943] ehci-pci: EHCI PCI platform driver

[    2.898335] ehci-platform: EHCI generic platform driver

[    2.903592] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

[    2.909620] ohci-pci: OHCI PCI platform driver

[    2.914032] ohci-platform: OHCI generic platform driver

[    2.919530] usbcore: registered new interface driver usb-storage

[    2.925237] mousedev: PS/2 mouse device common for all mice

[    2.931231] i2c /dev entries driver

[    2.938053] cpufreq: cpufreq_online: CPU2: Running at unlisted freq: 999999 KHz

[    2.941405] cpufreq: cpufreq_online: CPU2: Unlisted initial frequency changed to: 1000000 KHz

[    2.952441] sdhci: Secure Digital Host Controller Interface driver

[    2.955942] sdhci: Copyright(c) Pierre Ossman

[    2.960270] Synopsys Designware Multimedia Card Interface Driver

[    2.966592] meson-gx-mmc ffe03000.sd: allocated mmc-pwrseq

[    3.000718] meson-gx-mmc ffe05000.sd: Got CD GPIO

[    3.030293] meson-gx-mmc ffe07000.mmc: allocated mmc-pwrseq

[    3.050436] mmc0: queuing unknown CIS tuple 0x80 (2 bytes)

[    3.053571] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)

[    3.057917] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)

[    3.058088] sdhci-pltfm: SDHCI platform and OF driver helper

[    3.065300] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)

[    3.072349] ledtrig-cpu: registered to indicate activity on CPUs

[    3.079449] meson-sm: secure-monitor enabled

[    3.082627] hid: raw HID events driver (C) Jiri Kosina

[    3.087783] usbcore: registered new interface driver usbhid

[    3.093075] usbhid: USB HID core driver

[    3.096019] mmc0: queuing unknown CIS tuple 0x81 (9 bytes)

[    3.099523] no UART detected at 0x1

[    3.111490] NET: Registered protocol family 17

[    3.111781] Key type dns_resolver registered

[    3.114908] registered taskstats version 1

[    3.118614] Loading compiled-in X.509 certificates

[    3.123596] zswap: loaded using pool lzo/zbud

[    3.127825] Key type ._fscrypt registered

[    3.131626] Key type .fscrypt registered

[    3.135495] Key type fscrypt-provisioning registered

[    3.140985] Btrfs loaded, crc32c=crc32c-generic

[    3.149593] Key type encrypted registered

[    3.158309] VCC_5V: supplied by 12V

[    3.158599] USB1_POW: supplied by VCC_5V

[    3.160199] USB_PWR_EN: supplied by VCC_5V

[    3.179317] random: fast init done

[    3.183413] mmc0: new ultra high speed SDR50 SDIO card at address 0001

[    3.212681] mmc2: new high speed MMC card at address 0001

[    3.214550] mmcblk2: mmc2:0001 SLD64G 57.6 GiB

[    3.217700] mmcblk2boot0: mmc2:0001 SLD64G partition 1 4.00 MiB

[    3.223016] mmcblk2boot1: mmc2:0001 SLD64G partition 2 4.00 MiB

[    3.228858] mmcblk2rpmb: mmc2:0001 SLD64G partition 3 4.00 MiB, chardev (241:0)

[    3.229097] meson-drm ff900000.vpu: Queued 3 outputs on vpu

[    3.241580] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).

[    3.273244] meson-dw-hdmi ff600000.hdmi-tx: Detected HDMI TX controller v2.01a with HDCP (meson_dw_hdmi_phy)

[    3.278348] meson-dw-hdmi ff600000.hdmi-tx: registered DesignWare HDMI I2C bus driver

[    3.286785] meson-drm ff900000.vpu: bound ff600000.hdmi-tx (ops meson_dw_hdmi_ops)

[    3.295849] [drm] Initialized meson 1.0.0 20161109 for ff900000.vpu on minor 0

[    3.431676] [drm] kms: can't enable cloning when we probably wanted to.

[    3.591101] meson-dw-hdmi ff600000.hdmi-tx: HDMI infoframe: Auxiliary Video Information (AVI), version 2, length 13

[    3.591144] meson-dw-hdmi ff600000.hdmi-tx:     colorspace: YCbCr 4:2:2

[    3.591176] meson-dw-hdmi ff600000.hdmi-tx:     scan mode: Underscan

[    3.591206] meson-dw-hdmi ff600000.hdmi-tx:     colorimetry: ITU709

[    3.591235] meson-dw-hdmi ff600000.hdmi-tx:     picture aspect: 16:9

[    3.591264] meson-dw-hdmi ff600000.hdmi-tx:     active aspect: Same as Picture

[    3.591291] meson-dw-hdmi ff600000.hdmi-tx:     itc: No Data

[    3.591320] meson-dw-hdmi ff600000.hdmi-tx:     extended colorimetry: xvYCC 709

[    3.591351] meson-dw-hdmi ff600000.hdmi-tx:     quantization range: Default

[    3.591379] meson-dw-hdmi ff600000.hdmi-tx:     nups: Unknown Non-uniform Scaling

[    3.591407] meson-dw-hdmi ff600000.hdmi-tx:     video code: 16

[    3.591436] meson-dw-hdmi ff600000.hdmi-tx:     ycc quantization range: Limited

[    3.591464] meson-dw-hdmi ff600000.hdmi-tx:     hdmi content type: Graphics

[    3.591491] meson-dw-hdmi ff600000.hdmi-tx:     pixel repeat: 0

[    3.591525] meson-dw-hdmi ff600000.hdmi-tx:     bar top 0, bottom 0, left 0, right 0

[    3.591595] meson-dw-hdmi ff600000.hdmi-tx: HDMI infoframe: Source Product Description (SPD), version 1, length 25

[    3.591624] meson-dw-hdmi ff600000.hdmi-tx:     vendor: DW

[    3.591652] meson-dw-hdmi ff600000.hdmi-tx:     product: HDMI

[    3.591685] meson-dw-hdmi ff600000.hdmi-tx:     source device information: PC General (0x9)

[    3.677062] Console: switching to colour frame buffer device 240x67

[    3.948908] meson-drm ff900000.vpu: fb0: mesondrmfb frame buffer device

[    3.957159] meson8b-dwmac ff3f0000.ethernet: IRQ eth_wake_irq not found

[    3.961922] meson8b-dwmac ff3f0000.ethernet: IRQ eth_lpi not found

[    3.968123] meson8b-dwmac ff3f0000.ethernet: PTP uses main clock

[    3.973996] meson8b-dwmac ff3f0000.ethernet: no reset control found

[    3.980747] meson8b-dwmac ff3f0000.ethernet: User ID: 0x11, Synopsys ID: 0x37

[    3.987280] meson8b-dwmac ff3f0000.ethernet:     DWMAC1000

[    3.992452] meson8b-dwmac ff3f0000.ethernet: DMA HW capability register supported

[    3.999871] meson8b-dwmac ff3f0000.ethernet: RX Checksum Offload Engine supported

[    4.007284] meson8b-dwmac ff3f0000.ethernet: COE Type 2

[    4.012459] meson8b-dwmac ff3f0000.ethernet: TX Checksum insertion supported

[    4.019445] meson8b-dwmac ff3f0000.ethernet: Wake-Up On Lan supported

[    4.025848] meson8b-dwmac ff3f0000.ethernet: Normal descriptors

[    4.031693] meson8b-dwmac ff3f0000.ethernet: Ring mode enabled

[    4.037472] meson8b-dwmac ff3f0000.ethernet: Enable RX Mitigation via HW Watchdog Timer

[    4.045558] libphy: stmmac: probed

[    4.049333] dwc3-meson-g12a ffe09000.usb: USB2 ports: 2

[    4.053956] dwc3-meson-g12a ffe09000.usb: USB3 ports: 1

[    4.061939] dwc2 ff400000.usb: supply vusb_d not found, using dummy regulator

[    4.066262] dwc2 ff400000.usb: supply vusb_a not found, using dummy regulator

[    4.073538] dwc2 ff400000.usb: EPs: 7, dedicated fifos, 712 entries in SPRAM

[    4.080768] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller

[    4.085702] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 1

[    4.093385] xhci-hcd xhci-hcd.3.auto: hcc params 0x0228fe6c hci version 0x110 quirks 0x0000000000010010

[    4.102606] xhci-hcd xhci-hcd.3.auto: irq 28, io mem 0xff500000

[    4.108583] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07

[    4.116657] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    4.123811] usb usb1: Product: xHCI Host Controller

[    4.128639] usb usb1: Manufacturer: Linux 5.7.0-rc2-arm-64 xhci-hcd

[    4.134849] usb usb1: SerialNumber: xhci-hcd.3.auto

[    4.140168] hub 1-0:1.0: USB hub found

[    4.143408] hub 1-0:1.0: 2 ports detected

[    4.147520] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller

[    4.152795] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 2

[    4.160401] xhci-hcd xhci-hcd.3.auto: Host supports USB 3.0 SuperSpeed

[    4.166866] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.

[    4.174899] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.07

[    4.183065] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    4.190221] usb usb2: Product: xHCI Host Controller

[    4.195051] usb usb2: Manufacturer: Linux 5.7.0-rc2-arm-64 xhci-hcd

[    4.201265] usb usb2: SerialNumber: xhci-hcd.3.auto

[    4.206281] hub 2-0:1.0: USB hub found

[    4.209814] hub 2-0:1.0: 1 port detected

[    4.215133] printk: console [netcon0] enabled

[    4.218005] netconsole: network logging started

[    4.222926] ALSA device list:

[    4.225415]   No soundcards found.

[    4.233741] Freeing unused kernel memory: 3904K

[    4.235233] Run /init as init process

[    4.398739] libphy: mdio_mux: probed

[    4.402324] meson-vrtc ff8000a8.rtc: registered as rtc0

[    4.403718] meson-vrtc ff8000a8.rtc: setting system clock to 1970-01-01T00:00:04 UTC (4)

[    4.446890] libphy: mdio_mux: probed

[    4.485083] usb 1-1: new high-speed USB device number 2 using xhci-hcd

[    4.521190] usb 1-1: New USB device found, idVendor=0bda, idProduct=5411, bcdDevice= 1.04

[    4.528831] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0

[    4.535882] usb 1-1: Product: 4-Port USB 2.0 Hub

[    4.540448] usb 1-1: Manufacturer: Generic

[    4.583068] hub 1-1:1.0: USB hub found

[    4.584933] hub 1-1:1.0: 4 ports detected

[    4.647041] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd

[    4.679159] usb 2-1: New USB device found, idVendor=0bda, idProduct=0411, bcdDevice= 1.04

[    4.683716] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0

[    4.683720] usb 2-1: Product: 4-Port USB 3.0 Hub

[    4.683722] usb 2-1: Manufacturer: Generic

[    4.714158] hub 2-1:1.0: USB hub found

[    4.716567] hub 2-1:1.0: 4 ports detected

[    5.018989] usb 2-1.2: new SuperSpeed Gen 1 USB device number 3 using xhci-hcd

[    5.067207] usb 2-1.2: New USB device found, idVendor=152d, idProduct=0578, bcdDevice= 5.08

[    5.081279] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3

[    5.081298] usb 2-1.2: Product: USB to ATA/ATAPI Bridge

[    5.105372] usb 2-1.2: Manufacturer: JMicron

[    5.116703] usb 2-1.2: SerialNumber: 0123456789ABCDEF

[    5.140591] scsi host0: uas

[    5.143327] usbcore: registered new interface driver uas

[    5.144213] scsi 0:0:0:0: Direct-Access     JMicron  Generic          0508 PQ: 0 ANSI: 6

[    5.154399] sd 0:0:0:0: Attached scsi generic sg0 type 0

[    5.655403] sd 0:0:0:0: [sda] 39091248 512-byte logical blocks: (20.0 GB/18.6 GiB)

[    5.687396] sd 0:0:0:0: [sda] 4096-byte physical blocks

[    5.691408] sd 0:0:0:0: [sda] Write Protect is off

[    5.696469] sd 0:0:0:0: [sda] Disabling FUA

[    5.699917] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

[    5.710345] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes not a multiple of physical block size (4096 bytes)

[    5.736999]  sda: sda1 sda2

[    5.750571] sd 0:0:0:0: [sda] Attached SCSI disk

[    5.887065] EXT4-fs (sda2): mounted filesystem with writeback data mode. Opts: data=writeback

[    6.178375] systemd[1]: System time before build time, advancing clock.

[    6.230855] NET: Registered protocol family 10

[    6.254368] Segment Routing with IPv6

[    6.271020] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)

[    6.293109] systemd[1]: Detected architecture arm64.

[    6.350831] systemd[1]: Set hostname to <arm-64>.

[    6.512148] random: systemd: uninitialized urandom read (16 bytes read)

[    6.516349] systemd[1]: Created slice User and Session Slice.

[    6.524906] random: systemd: uninitialized urandom read (16 bytes read)

[    6.528158] systemd[1]: Started Forward Password Requests to Wall Directory Watch.

[    6.537485] random: systemd: uninitialized urandom read (16 bytes read)

[    6.542147] systemd[1]: Reached target System Time Synchronized.

[    6.550106] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.

[    6.558290] systemd[1]: Created slice System Slice.

[    6.562937] systemd[1]: Listening on udev Kernel Socket.

[    6.568261] systemd[1]: Listening on Journal Socket.

[    6.647386] EXT4-fs (sda2): re-mounted. Opts: commit=600,errors=remount-ro

[    6.922303] Unable to handle kernel NULL pointer dereference at virtual address 00000000000000f5

[    6.927276] Mem abort info:

[    6.929986]   ESR = 0x96000004

[    6.932759]   EC = 0x25: DABT (current EL), IL = 32 bits

[    6.939615]   SET = 0, FnV = 0

[    6.946536]   EA = 0, S1PTW = 0

[    6.947931] Data abort info:

[    6.949280]   ISV = 0, ISS = 0x00000004

[    6.949282]   CM = 0, WnR = 0

[    6.949287] user pgtable: 4k pages, 48-bit VAs, pgdp=00000000a220c000

[    6.956371] [00000000000000f5] pgd=0000000000000000

[    6.966305] Internal error: Oops: 96000004 [#1] PREEMPT SMP

[    6.966673] Bluetooth: Finished self testing

[    6.971730] Modules linked in: cfg80211(+) bluetooth(+) panfrost(+) crct10dif_ce(+) ecdh_generic meson_vdec(C) ecc ao_cec_g12a gpu_sched rfkill snd_soc_meson_axg_sound_card meson_ir v4l2_mem2mem rc_core videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 snd_soc_meson_g12a_tohdmitx dw_hdmi_cec videobuf2_common snd_soc_meson_axg_spdifout videodev meson_rng mc snd_soc_spdif_tx display_connector sch_fq_codel ip_tables x_tables ipv6 nf_defrag_ipv6 uas rtc_meson_vrtc mdio_mux_meson_g12a

[    6.971768] CPU: 3 PID: 494 Comm: systemd-udevd Tainted: G         C        5.7.0-rc2-arm-64 #20.05.3

[    6.971769] Hardware name: Beelink GT-King (DT)

[    6.971772] pstate: 60000005 (nZCv daif -PAN -UAO)

[    6.971782] pc : dev_pm_opp_put_regulators+0x14/0xb0

[    6.971797] lr : panfrost_devfreq_init+0x8c/0x1e0 [panfrost]

[    6.971802] sp : ffff8000105338b0

[    6.976470] NET: Registered protocol family 31

[    7.018394] x29: ffff8000105338b0 x28: 00000000000001ce

[    7.018398] x27: ffff800012b297d0 x26: ffff80000a2c6750

[    7.018400] x25: ffff80000a2c6580 x24: 0000000000000035

[    7.018402] x23: ffff80000a2c61d8 x22: ffff800012b11908

[    7.018403] x21: ffff0000a162a080 x20: ffffffffffffffed

[    7.018405] x19: ffff0000a2df5010 x18: 00000000fffffff0

[    7.018406] x17: 0000000000000000 x16: 0000000000000000

[    7.018408] x15: ffff800012b27738 x14: 6f662029696c616d

[    7.018410] x13: 2820726f74616c75 x12: 0000000000000000

[    7.018411] x11: 0000000000000007 x10: 0101010101010101

[    7.018413] x9 : fffffffffffffffe x8 : 7f7f7f7f7f7f7f7f

[    7.018414] x7 : fefefeff646c606d x6 : 000000000000003f

[    7.018416] x5 : ffff0000a162b000 x4 : ffff0000a178de80

[    7.018418] x3 : ffff800012bf9d10 x2 : 0000000000000000

[    7.018419] x1 : 0000000000000000 x0 : ffffffffffffffed

[    7.018421] Call trace:

[    7.018433]  dev_pm_opp_put_regulators+0x14/0xb0

[    7.018447]  panfrost_devfreq_init+0x8c/0x1e0 [panfrost]

[    7.018453]  panfrost_probe+0x108/0x1b8 [panfrost]

[    7.018461]  platform_drv_probe+0x54/0xa8

[    7.018478] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'

[    7.028217] Bluetooth: HCI device and connection manager initialized

[    7.032024]  really_probe+0xdc/0x440

[    7.032027]  driver_probe_device+0xe0/0x138

[    7.032030]  device_driver_attach+0x74/0x80

[    7.032031]  __driver_attach+0xa4/0x170

[    7.032034]  bus_for_each_dev+0x74/0xc8

[    7.032035]  driver_attach+0x24/0x30

[    7.032037]  bus_add_driver+0x19c/0x238

[    7.032039]  driver_register+0x64/0x120

[    7.032041]  __platform_driver_register+0x48/0x58

[    7.032056]  panfrost_driver_init+0x24/0x1000 [panfrost]

[    7.032062]  do_one_initcall+0x74/0x1c0

[    7.037283] Bluetooth: HCI socket layer initialized

[    7.041680]  do_init_module+0x54/0x210

[    7.041683]  load_module+0x1ca8/0x2010

[    7.047292] Bluetooth: L2CAP socket layer initialized

[    7.050561]  __do_sys_finit_module+0xb4/0x118

[    7.050563]  __arm64_sys_finit_module+0x20/0x30

[    7.050568]  el0_svc_common.constprop.3+0x9c/0x1d8

[    7.054978] Bluetooth: SCO socket layer initialized

[    7.060221]  do_el0_svc+0x24/0x90

[    7.060223]  el0_sync_handler+0x150/0x2c0

[    7.060226]  el0_sync+0x158/0x180

[    7.258001] Code: a9bd7bfd 910003fd a90153f3 aa0003f4 (f9408400)

[    7.258004] ---[ end trace bf5de461716dac2d ]---

[    7.278897] brcmfmac: F1 signature read @0x18000000=0x17224356

[    7.279593] Bluetooth: HCI UART driver ver 2.3

[    7.279597] Bluetooth: HCI UART protocol H4 registered

[    7.279599] Bluetooth: HCI UART protocol BCSP registered

[    7.279634] Bluetooth: HCI UART protocol LL registered

[    7.279635] Bluetooth: HCI UART protocol ATH3K registered

[    7.279648] Bluetooth: HCI UART protocol Three-wire (H5) registered

[    7.279845] Bluetooth: HCI UART protocol Intel registered

[    7.279964] Bluetooth: HCI UART protocol Broadcom registered

[    7.279980] Bluetooth: HCI UART protocol QCA registered

[    7.279981] Bluetooth: HCI UART protocol AG6XX registered

[    7.279997] Bluetooth: HCI UART protocol Marvell registered

[    7.280134] hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator

[    7.280208] hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator

[    7.285275] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4356-sdio for chip BCM4356/2

[    7.368887] usbcore: registered new interface driver brcmfmac

[    7.380005] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac4356-sdio.azw,gtking.txt failed with error -2

[    7.486259] random: crng init done

[    7.486264] random: 7 urandom warning(s) missed due to ratelimiting

[    7.562600] zram: Added device: zram0

[    7.565671] zram: Added device: zram1

[    7.567903] zram: Added device: zram2

[    7.596586] zram1: detected capacity change from 0 to 1073741824

[    7.637117] Adding 1048572k swap on /dev/zram1.  Priority:5 extents:1 across:1048572k SSFS

[    7.642161] meson8b-dwmac ff3f0000.ethernet eth0: PHY [0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=29)

[    7.665086] meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found

[    7.665682] Bluetooth: hci0: BCM: chip id 101

[    7.669813] meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW

[    7.674490] Bluetooth: hci0: BCM: features 0x2f

[    7.680775] meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rgmii link mode

[    7.686736] Bluetooth: hci0: BCM4354A2

[    7.692429] zram0: detected capacity change from 0 to 52428800

[    7.702530] Bluetooth: hci0: BCM4356A2 (001.003.015) build 0000

[    7.702595] bluetooth hci0: Direct firmware load for brcm/BCM4356A2.hcd failed with error -2

[    7.716721] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4356-sdio for chip BCM4356/2

[    7.716724] Bluetooth: hci0: BCM: Patch brcm/BCM4356A2.hcd not found

[    7.716776] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available

[    7.745226] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4356/2 wl0: May 14 2014 19:51:52 version 7.35.17 (r477908) FWID 01-2ed3ee81

[    7.816464] EXT4-fs (zram0): mounted filesystem without journal. Opts: discard

[    7.821973] ext4 filesystem being mounted at /var/log supports timestamps until 2038 (0x7fffffff)

[    8.185696] systemd-journald[822]: Received request to flush runtime journal from PID 1

[    8.810065] EXT4-fs (sda2): resizing filesystem from 1144832 to 4702372 blocks

[   11.530713] EXT4-fs (sda2): resized filesystem to 4702372

[   13.545661] [drm] kms: can't enable cloning when we probably wanted to.

 

 

Armbian 20.05.3 Bionic ttyAML0

 

arm-64 login:

 

If your system is running stable... be it any revision, please let me know.... and if there are any tweaks/changes anyone can suggest to try.....???

 

Many thanks

Posted
3 hours ago, erew said:

Mine freezes completely when I transfer data around. My full post on it is here 

Where did you get the image ? Why did you change the scripts ?

Posted

Hello.

Big thanks to balbes150 for supporting this project and everyonelse answering questions as well.

I was able to boot from the USB drive into Armbian but run into an issue when copying to eMMC.

It is intermittent, but it seems that Armbian is not seeing my internal memory. In those rare cases when it does (mutliple reboot tries) it throws errors (see below) when I run install script.

At this moment of time I am about to give up, as I've spent 2 days on this issue trying different images. 

Is there anything else I can do? 

Thank you.

NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
mmcblk0      179:0    0  7.2G  0 disk
mmcblk0boot0 179:32   0    4M  1 disk
mmcblk0boot1 179:64   0    4M  1 disk
mmcblk2      179:96   0  7.4G  0 disk
├─mmcblk2p1  179:97   0  512M  0 part /boot
└─mmcblk2p2  179:98   0  6.8G  0 part /
zram0        254:0    0   50M  0 disk /var/log
zram1        254:1    0  399M  0 disk [SWAP]
root@arm-64:~# sh install-aml-s905-emmc.sh
Start script create MBR and filesystem
/dev/mmcblk0
Start backup u-boot default
dd: error reading '/dev/mmcblk0': Input/output error
0+0 records in
0+0 records out
0 bytes copied, 0.00227871 s, 0.0 kB/s
Start install u-boot to eMMC
dd: writing to '/dev/mmcblk0': Input/output error
1+0 records in
0+0 records out
0 bytes copied, 0.00114721 s, 0.0 kB/s
Done
Start copy system for eMMC.
Formatting BOOT partition...mkfs.fat 4.1 (2017-01-24)
mkfs.vfat: unable to open /dev/mmcblk0p1: No such file or directory
done.
mount: /ddbr/install: special device /dev/mmcblk0p1 does not exist.

 

Posted

Thanks @balbes150 for releasing 20.05.4 images!

Armbian_20.05.4_Arm-64_bionic_current_5.7.0-rc3_desktop_20200508.img.xz runs as expected nice on x96mini 2/16 (on this newer V4.0-PCB with working wifi&bt) preparing for headless use(with hdmi-display-dongle) on eMMC after testing from card for an hour or so. So I didn't test eth yet(time to sleep here now..) and also usb sound is just on other V1.x-box connected, but I don't expect big problems when installing on several other p281-pcbs later too..

Posted

Hi @balbes150 and everyone,

 

Armbian_20.05.4_Arm-64_bionic_current_5.7.0-rc3_desktop_20200508.img.xz runs as expected on Mecool KIII pro ( burn the image on the eMMC method).

 

All running well such as Sound, Bluetooth and HDMI display. but Ethernet LAN and WIFI cannot work.

 

Already try meson-gxm-mecool-kiii-pro.dtb and meson-gxm-q200.dtb, it still didn't work.

Could you or anyone can advice what should i do to checking/debugging further?

 

Thanks.

Posted
8 hours ago, truemad said:

Is there anything else I can do? 

 

57 minutes ago, mrrobot said:

Could you or anyone can advice what should i do to checking/debugging further?

Contact the hardware manufacturer to develop and source the correct DTB for the mainline kernel with support for all devices for your models.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines