erew
-
Posts
28 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by erew
-
-
On 5/10/2020 at 10:29 AM, balbes150 said:
Show the output of the "printenv" and "help" commands from u-boot
@balbes150Re: Beelink GT-King, unstable when copying files etc... (sorry it took a while to get back to you). This is off a fresh imaged disk for "Armbian_20.05.4_Arm-64_bionic_current_5.7.0-rc4_desktop_20200510"
Printenv
Spoiler1080p60hz_deepcolor=444,8bit
EnableSelinux=permissive
Irq_check_en=0
active_slot=normal
aml_dt=g12b_w400_a
avb2=0
baudrate=115200
bcb_cmd=get_avb_mode;get_valid_slot;
boot_part=boot
bootargs=init=/init console=ttyS0,115200 no_console_suspend earlycon=aml-uart,0xff803000 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 otg_device=1 reboot_mode_android=normal logo=osd0,loaded,0x3d800000 vout=576cvbs,enable panel_type=lcd_1 hdmitx=,444,8bit hdmimode=1080p60hz frac_rate_policy=1 hdmi_read_edid=1 cvbsmode=576cvbs osd_reverse=0 video_reverse=0 irq_check_en=0 androidboot.selinux=permissive androidboot.firstboot=0 jtag=disable androidboot.hardware=amlogic androidboot.serialno=1234567890
bootcmd=run start_autoscript; run storeboot
bootdelay=1
bootup_offset=0x1160d60
bootup_size=0x5eec38
cmdline_keys=if keyman init 0x1234; then if keyman read usid ${loadaddr} str; then setenv bootargs ${bootargs} androidboot.serialno=${usid};setenv serial ${usid};else setenv bootargs ${bootargs} androidboot.serialno=1234567890;setenv serial 1234567890;fi;if keyman read mac ${loadaddr} str; then setenv bootargs ${bootargs} mac=${mac} androidboot.mac=${mac};fi;if keyman read deviceid ${loadaddr} str; then setenv bootargs ${bootargs} androidboot.deviceid=${deviceid};fi;fi;
colorattribute=444,8bit
cvbs_drv=0
cvbsmode=576cvbs
display_bpp=24
display_color_bg=0
display_color_fg=0xffff
display_color_index=24
display_height=576
display_layer=osd0
display_width=720
dtb_mem_addr=0x1000000
ethact=dwmac.ff3f0000
ethaddr=02:00:00:15:21:01
factory_reset_poweroff_protect=echo wipe_data=${wipe_data}; echo wipe_cache=${wipe_cache};if test ${wipe_data} = failed; then run init_display; run storeargs;if mmcinfo; then run recovery_from_sdcard;fi;if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;fi; if test ${wipe_cache} = failed; then run init_display; run storeargs;if mmcinfo; then run recovery_from_sdcard;fi;if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;fi;
fb_addr=0x3d800000
fb_height=1080
fb_width=1920
fdt_high=0x20000000
fdtaddr=1000000
firstboot=0
frac_rate_policy=1
fs_type=rootfstype=ramfs
gatewayip=10.18.9.1
hdmi_read_edid=1
hdmimode=1080p60hz
hostname=arm_gxbb
identifyWaitTime=750
init_display=get_rebootmode;echo reboot_mode:::: ${reboot_mode};if test ${reboot_mode} = quiescent; then setenv reboot_mode_android quiescent;run storeargs;setenv bootargs ${bootargs} androidboot.quiescent=1;osd open;osd clear;else if test ${reboot_mode} = recovery_quiescent; then setenv reboot_mode_android quiescent;run storeargs;setenv bootargs ${bootargs} androidboot.quiescent=1;osd open;osd clear;else setenv reboot_mode_android normal;run storeargs;hdmitx hpd;hdmitx get_preferred_mode;osd open;osd clear;imgread pic logo bootup $loadaddr;bmp display $bootup_offset;bmp scale;vout output ${outputmode};vpp hdrpkt;fi;fi;
initargs=init=/init console=ttyS0,115200 no_console_suspend earlycon=aml-uart,0xff803000 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000
initrd_high=7f800000
ipaddr=10.18.9.97
irremote_update=if irkey 2500000 0xe31cfb04 0xb748fb04; then echo read irkey ok!; if itest ${irkey_value} == 0xe31cfb04; then run update;else if itest ${irkey_value} == 0xb748fb04; then run update;\
fi;fi;fi;
jtag=disable
loadaddr=1080000
lock=10001000
netmask=255.255.255.0
osd_reverse=0
otg_device=1
outputmode=576cvbs
panel_type=lcd_1
preboot=run bcb_cmd; run factory_reset_poweroff_protect;run upgrade_check;run init_display;run storeargs;forceupdate;bcb uboot-command;run switch_bootmode;
reboot_mode=cold_boot
reboot_mode_android=normal
recovery_from_flash=get_valid_slot;echo active_slot: ${active_slot};if test ${active_slot} = normal; then setenv bootargs ${bootargs} ${fs_type} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset};if imgread kernel ${recovery_part} ${loadaddr} ${recovery_offset}; then wipeisb; bootm ${loadaddr}; fi;else setenv bootargs ${bootargs} ${fs_type} aml_dt=${aml_dt} recovery_part=${boot_part} recovery_offset=${recovery_offset};if imgread kernel ${boot_part} ${loadaddr}; then bootm ${loadaddr}; fi;fi;
recovery_from_sdcard=if fatload mmc 0 ${loadaddr} aml_autoscript; then autoscr ${loadaddr}; fi;if fatload mmc 0 ${loadaddr} recovery.img; then if fatload mmc 0 ${dtb_mem_addr} dtb.img; then echo sd dtb.img loaded; fi;wipeisb; setenv bootargs ${bootargs} ${fs_type};bootm ${loadaddr};fi;
recovery_from_udisk=if fatload usb 0 ${loadaddr} aml_autoscript; then autoscr ${loadaddr}; fi;if fatload usb 0 ${loadaddr} recovery.img; then if fatload usb 0 ${dtb_mem_addr} dtb.img; then echo udisk dtb.img loaded; fi;wipeisb; setenv bootargs ${bootargs} ${fs_type};bootm ${loadaddr};fi;
recovery_offset=0
recovery_part=recovery
rpmb_state=1
saradc_val=0x3fe
sdc_burning=sdc_burn ${sdcburncfg}
sdcburncfg=aml_sdc_burn.ini
sdr2hdr=2
serial=1234567890
serverip=10.18.9.113
start_autoscript=if mmcinfo; then run start_mmc_autoscript; fi; if usb start; then run start_usb_autoscript; fi; run start_emmc_autoscript
start_emmc_autoscript=if fatload mmc 1 1020000 emmc_autoscript; then autoscr 1020000; fi;
start_mmc_autoscript=if fatload mmc 0 1020000 s905_autoscript; then autoscr 1020000; fi;
start_usb_autoscript=for usbdev in 0 1 2 3; do if fatload usb ${usbdev} 1020000 s905_autoscript; then autoscr 1020000; fi; done
stderr=serial
stdin=serial
stdout=serial
storeargs=setenv bootargs ${initargs} otg_device=${otg_device} reboot_mode_android=${reboot_mode_android} logo=${display_layer},loaded,${fb_addr} vout=${outputmode},enable panel_type=${panel_type} hdmitx=${cecconfig},${colorattribute} hdmimode=${hdmimode} frac_rate_policy=${frac_rate_policy} hdmi_read_edid=${hdmi_read_edid} cvbsmode=${cvbsmode} osd_reverse=${osd_reverse} video_reverse=${video_reverse} irq_check_en=${Irq_check_en} androidboot.selinux=${EnableSelinux} androidboot.firstboot=${firstboot} jtag=${jtag}; setenv bootargs ${bootargs} androidboot.hardware=amlogic;run cmdline_keys;
storeboot=boot_cooling;get_system_as_root_mode;echo system_mode: ${system_mode};if test ${system_mode} = 1; then setenv bootargs ${bootargs} ro rootwait skip_initramfs;else setenv bootargs ${bootargs} ${fs_type};fi;get_valid_slot;get_avb_mode;echo active_slot: ${active_slot};if test ${active_slot} != normal; then setenv bootargs ${bootargs} androidboot.slot_suffix=${active_slot};fi;if test ${avb2} = 0; then if test ${active_slot} = _a; then setenv bootargs ${bootargs} root=/dev/mmcblk0p23;else if test ${active_slot} = _b; then setenv bootargs ${bootargs} root=/dev/mmcblk0p24;fi;fi;fi;if imgread kernel ${boot_part} ${loadaddr}; then bootm ${loadaddr}; fi;run storeargs; run update;
switch_bootmode=get_rebootmode;if test ${reboot_mode} = factory_reset; then setenv reboot_mode_android normal;run storeargs;run recovery_from_flash;else if test ${reboot_mode} = update; then setenv reboot_mode_android normal;run storeargs;run update;else if test ${reboot_mode} = quiescent; then setenv reboot_mode_android quiescent;run storeargs;setenv bootargs ${bootargs} androidboot.quiescent=1;else if test ${reboot_mode} = recovery_quiescent; then setenv reboot_mode_android quiescent;run storeargs;setenv bootargs ${bootargs} androidboot.quiescent=1;run recovery_from_flash;else if test ${reboot_mode} = cold_boot; then run try_auto_burn; setenv reboot_mode_android normal;run storeargs;else if test ${reboot_mode} = fastboot; then setenv reboot_mode_android normal;run storeargs;fastboot;fi;fi;fi;fi;fi;fi;
try_auto_burn=update 700 750;
update=run usb_burning; run sdc_burning; if mmcinfo; then run recovery_from_sdcard;fi;if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;
upgrade_check=echo upgrade_step=${upgrade_step}; if itest ${upgrade_step} == 3; then run init_display; run storeargs; run update;else fi;
upgrade_key=if gpio input GPIOAO_3; then echo detect upgrade key; run update;fi;
upgrade_step=2
usb_burning=update 1000
video_reverse=0
wipe_cache=successful
wipe_data=successfulEnvironment size: 8188/65532 bytes
Help Commands
Spoiler? - alias for 'help'
aml_sysrecovery- Burning with amlogic format package from partition sysrecovery
amlmmc - AMLMMC sub system
amlnf - aml mtd nand sub-system
autocali- auto cali - auto set cali value for exphyautoscr - run script from memory
avb - avb
base - print or set address offset
bcb - bcb
bmp - manipulate BMP image data
boot_cooling- cpu temp-system
booti - boot arm64 Linux Image image from memory
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
cbusreg - cbus register read/write
chpart - change active partition
clkmsr - Amlogic measure clock
cmp - memory compare
cp - memory copy
crc32 - checksum calculation
cvbs - CVBS sub-system
dcache - enable or disable data cache
ddr_auto_fast_boot_check- ddr_fastboot_config cmd arg1 arg2 arg3...
ddr_auto_scan_drv- ddr_test_cmd cmd arg1 arg2 arg3...
ddr_auto_test_window- ddr_test_cmd cmd arg1 arg2 arg3...
ddr_cpu_test- ddr_test_cmd cmd arg1 arg2 arg3...
ddr_fast_boot- ddr_fastboot_config cmd arg1 arg2 arg3...
ddr_g12_offset_data- ddr_g12_offset_data 1 0 0 0 1 3
ddr_g12_override_data- ddr_g12_override_data 1 0 0 0 1 3
ddr_spec_test- DDR test function
ddr_test_cmd- ddr_test_cmd cmd arg1 arg2 arg3...
ddr_test_copy- ddr_test_copy function
ddrtest - DDR test function
defenv_reserv- reserve some specified envs after defaulting env
dhcp - boot image via network using DHCP/TFTP protocol
dtimg - manipulate dtb/dtbo Android image
echo - echo args to console
efuse - efuse commands
efuse_user- efuse user space read write ops
emmc - EMMC sub system
env - environment handling commands
ethloop - ethloop - loopback test using ethernet test packageexit - exit script
false - do nothing, unsuccessfully
fastboot- use USB Fastboot protocol
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
fatsize - determine a file's size
fdt - flattened device tree utility commands
forceupdate- forceupdate
g12_d2pll- g12_d2pll 1300 1 0x10 0
get_avb_mode- get_avb_mode
get_rebootmode- get reboot mode
get_system_as_root_mode- get_system_as_root_mode
get_valid_slot- get_valid_slot
go - start application at address 'addr'
gpio - query and control gpio pins
gpt - GUID Partition Table
guid - GUID - generate Globally Unique Identifier based on random UUID
hdmitx - HDMITX sub-system 20190123
help - print command description/usage
i2c - I2C sub-system
icache - enable or disable instruction cache
img_osd - image osd sub-system
imgread - Read the image from internal flash with actual size
itest - return true/false on integer compare
jtagoff - disable jtag
jtagon - enable jtag
keyman - Unify key ops interfaces based dts cfg
keyunify- key unify sub-system
lcd - lcd sub-system
loadb - load binary file over serial line (kermit mode)
loadx - load binary file over serial line (xmodem mode)
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
macreg - ethernet mac register read/write/dump
md - memory display
mm - memory modify (auto-incrementing address)
mmc - MMC sub system
mmcinfo - display MMC info
mtdparts- define flash/nand partitions
mw - memory write (fill)
mwm - mw mask function
nand - NAND sub-system
nboot - boot from NAND device
nm - memory modify (constant address)
open_scp_log- print SCP messgage
osd - osd sub-system
phyreg - ethernet phy register read/write/dump
ping - send ICMP ECHO_REQUEST to network host
plltest - test pll
printenv- print environment variables
query - SoC query commands
rarpboot- boot image via network using RARP/TFTP protocol
read_temp- cpu temp-system
reboot - set reboot mode and reboot system
reset - Perform RESET of the CPU
ringmsr - Amlogic measure ring
rpmb_state- RPMB sub-system
rsvmem - reserve memory
run - run commands in an environment variable
saradc - saradc sub-system
saradc_12bit- saradc sub-system
saveenv - save environment variables to persistent storage
sdc_burn- Burning with amlogic format package in sdmmc
sdc_update- Burning a partition with image file in sdmmc card
set_active_slot- set_active_slot
set_trim_base- cpu temp-system
set_usb_boot- set usb boot mode
setenv - set environment variables
sf - SPI flash sub-system
showvar - print local hushshell variables
sleep - delay execution for some time
sspi - SPI utility command
store - STORE sub-system
systemoff- system off
tee_log_level- update tee log level
temp_triming- cpu temp-system
test - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
true - do nothing, successfully
ubi - ubi commands
ubifsload- load file from an UBIFS filesystem
ubifsls - list files in a directory
ubifsmount- mount UBIFS volume
ubifsumount- unmount UBIFS volume
ui - ui sub-system
unpackimg- un pack logo image into pictures
update - Enter v2 usbburning mode
usb - USB sub-system
usb_burn- Burning with amlogic format package in usb
usb_update- Burning a partition with image file in usb host
usbboot - boot from USB device
uuid - UUID - generate random Universally Unique Identifier
version - print monitor, compiler and linker version
viu_probe- enable viu probe in no secure chip
vout - VOUT sub-system
vout2 - VOUT2 sub-system
vpp - vpp sub-system
vpu - vpu sub-system
write_trim- cpu temp-system
write_version- cpu temp-systemThanks for taking a look.
-
The commands I gave above... I found hidden away on Azul's website.....
for these 3 lines:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9 sudo apt-add-repository 'deb http://repos.azulsystems.com/ubuntu stable main' sudo apt-get update
and
https://docs.azul.com/zulu/zuludocs/ZuluReleaseNotes/Troubleshooting.htm
for this line (Azul Repository Tips section):
sudo apt-get install zulu-embedded-8
They've worked for me on every build/rebuild Ive done of my ARM systems (3 different systems and probably about 10 rebuilds over time).
Though, I will say that with this build of Java, its best to add some XMM and XMS memory settings to the Openhab EXTRA_JAVA_OPTS within Openhab after its installed, as the Embedded version does seem to like keeping low memory utilization.... but that would be a case by case basis depending on the board its installed on. These settings are also very well discussed on the Openhab community forums.
-
Just noticed this... Re Java, you need to use Azul Zulu Embedded v8 at the moment... OpenJDK and things like that are sluggish/slow
Full details here
Actual commands here:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9
sudo apt-add-repository 'deb http://repos.azulsystems.com/ubuntu stable main'
sudo apt-get update
sudo apt-get install zulu-embedded-8
-
20 hours ago, balbes150 said:
Where did you get the image ? Why did you change the scripts ?
I downloaded the images from here https://yadi.sk/d/_rQgn_FosYuW0g
and the uart boot I show up in my post, is a freshly imaged Armbian on a USB SSD, using the meson-g12b-gtking.dtb that came with the image. (I tried multiple versions of Armbian and for a test, later, I tried the corelec DTB to see if it may work, which it didnt even boot Armbian).
-
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
-
@balbes150 Thanks for the reply. I appreciate that you dont have one of these with you to test/look at.
Could I ask however.... would you think that this is an issue with the drivers within Ubuntu ... OR.... settings within the DTB file (frequencies/drivers used)?
I have added the UART output of both Armbian's and Coreelec's DTB files, when booting Armbian with them... if there is anything you can see in those? (if you have the time to look)
Armbian meson-g12b-gtking.dtb UART output
Perhaps this is the relevant bit?? (as my issue is to do with high disk activity)
[ 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
Also, I assume I can connect a serial cable to the TX/RX of the device during boot, look at the output, to try find why a DTB file might not start booting?
Im happy to research. learn and give this a go, if you think that may be a good direction to try.....
If you have any thoughts or suggestions on this, please let me know?
-
If its worth anything, this is my dmesg output, when I have booted with the Armbian GTKing DTB file and I am at the desktop/workspace screen (before it freezes)
-
@balbes150(sorry to @ you and hope youre keeping well!!)
I have a Beelink GT King, which its motherboard lists as being version 2.2-S922X-4G-64G/A It has a terrible stability problem using meson-g12b-gtking.dtb (I have tried the pro file as well as others in case, but it wont boot with those).
The problem I am experiencing is that when any high level of file transfers occur, the system freezes. The mouse etc locks up, the time/clock freezes at the time of the system hanging and the system drops off the network (stops responding to ping).
Ive tried multiple revisions of Ubuntu that can be currently downloaded on Yandex, and been through Bionic, bullseye etc... and through 5.3 up to 5.7. All suffer the same issue. The system will stay stable as long as you dont do very much, however, examples of things that have caused the system to freeze are:
1) sudo apt update
2) ddbr
3) coping the test.mp4 file on the desktop multiple times
4) trying to install to emmc (never been able to get through an install to emmc)
5) running multiple tasks at the same time.
7) Trying to copy a 1GB file
8) etc
In short, the issue is repeatable via various methods.
Ive tried SD cards, USB flash drives and USB SSD'd... all have the same issue.
Because the system freezes/locks up, I cant give any diagnostics.... though it runs 100% fine in Coreelec and Android.
The only working DTB file I can find is the one thats coming with Armbian at the minute, and older revisions seem to be the same file. (50,214 bytes size on disk).
The only thing I experienced in the past that locked a system up like this was the WIFI being used.... but Im on Ethernet. It does seem to be some buffer issue or similar with the disk access.
Any suggestions? (as I cant find anything in the forums and see no issues with the boot process)
My dmesg output is in a post below (if it helps)
Many thanks
If I use that DTB file with Armbian, it actually looks like my system is trying to boot... it does actually go to a black screen, though there is no scrolling text, though going to a black screen is further than other incorrect DTB files get to). Not sure if that helps in any way.
-
On 1/25/2020 at 6:46 PM, stut said:
Very nice guide, thanks for this! What I'm missing is an upgrade part. How does one upgrade to a newer release without losing data? I remember a while back we could download separate deb files for the new release and install those one by one. But I don't see those anymore, just an image now. Is the best way to upgrade to do a clean install and then copy back the old files and stuff? Almost seems more feasible to build your own from source so you end up with the deb packages to upgrade an existing system. But Maybe I'm missing something.
I cant specifically speak for the debian build as Im mostly familiar with the Ubuntu build..... So ill talk about that and you can figure if Debian is similar.
UBUNTU UPDATES
On the Ubuntu version, you can either go into the Armbian configuration utility and the System menu and Firmware option OR you can at a terminal use:
sudo apt-get update
sudo apt-get upgrade
Perhaps even sudo apt-get dist-upgrade (never tried it, but this probably WILL remove some packages).
This should obviously update all your software AND the upgrade will pull later revision kernels.
What this means is you should be able to upgrade point revisions by updating the kernel etc, but not major revisions. So in effect you could upgrade Ubuntu 18.6 to 18.7 through minor updates BUT NOT 18.6 to 19.x
The major revisions would be a re-install as far as I know.
Additionally, I have seen something about the fact that a recent issue with kernel updates (so please check that).
This post also roughly explains that the TV box version updates arent stored in the Armbian repository, so that complicates making a major revision update process possible... well.. at least, thats my interpretation of it.
OTHER PROCESS TO COPY BACK OTHER FILES etc.
Actually... its something Ive thought about testing some time, but Ive never gotten around to it. In theory, Im reasonably sure this is possible, but I cant say how involved the process is and of course, that may vary depending on your customization. If someone has any suggestions on doing this, point me in the direction of anything you know and Im happy to test and write a guide.
-
Hi, not sure.... Ive just opened a fresh install of Armbian on a USB stick and the Extlinux.conf there shows the # in the place I originally indicated (copy/paste below)
LABEL Armbian
LINUX /zImage
INITRD /uInitrd
FDTDIR /dtb
# FDT /dtb/meson-gxl-s905x-khadas-vim.dtb
APPEND 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
The # may get changed/removed if/when you install to EMMC/NAND as the Extlinux.conf file is used for booting from EMMC/NAND storage and not off a USB card/SD/TF card.... so that file is only used in that instance of booting from internal storage.
The # is typically used to say "dont use this line in the code" ..... so its possible something has been changed on the boot process too. Its not something Ive seen yet, but ill take a look sometime.
-
On 10/23/2019 at 10:13 PM, Pol Isidor said:
btw another question.
The reverse procces is posible?
To copy from eMMC to SD?
I'am asking because of second option do not giving me the result.
Noticed this post with the question above... emmc to SD.... I wrote instructions on doing this+videos showing how to do it. Thought you might find them helpful if you wanted to do this for backups etc.
Making a Backup of your emmc via the GUI https://www.ondroid.net/armbian-os-backing-up-emmc-nand-via-gui/
- What you will need
- All the commands/screens to perform this
- Includes 1 x video showing the whole processMaking a Backup of your emmc via Command line https://www.ondroid.net/armbian-os-backing-up-emmc-nand-via-cli/
- What you will need
- All the commands/screens to perform this
- Includes 1 x video showing the whole processThanks
erew
-
@Janaboy My rough (dont quote me) understanding of this is that its a mix of your DTB (Device Tree Blob) file and also actual driver files, hence trying different DTB files, with different results. The DTB file is basically telling the system which drivers to load at startup.
I believe the Beelink Mini MXIII box has an Aigale AW-CM273SM and Qualcomm Atheros QCA9377 for WiFi/Bluetooth.... And I have no idea if anyone has ever written a driver or if one of the DTB files activates the driver, though I can seem some references around the internet to people trying.
So, if you can find a driver or if one exists, you can write your own DTB file, which might work OR obviously test other DTB files.... (this is why Im thinking to create a database so that we can find the best combinations for which DTB to use with which box).
The other alternative is to use an external usb dongle. Im not 100% confident which one would or wouldnt work, but have seen the CSR bluetooth dongles referenced before in ubuntu/armbian forums.... and they are cheap as $2 kind of thing.... Maybe someone else on here has experience with them. (If I had one to hand Id give it a go for you, but sadly dont)
Search google for csr bluetooth dongle if you want to try this route.
Im not yet at a stage to start writing about loading other drivers/editing DTB files etc.... as Ive still got my own research/experiments to do on that.
-
-
@imikei Youve not mentioned which box you have.... However I think you may end up needing to reset it back to factory (if its not even booting to the internal Android OS anymore), so Booting Problems section of this post.
Once thats done, if youre sure your using the correct DTB for your box, Id suggest trying an earlier build of Armbian or one with a different kernel version to see if that gets you working.
Im guessing you mean username/password at the initial text screen where you log in as root and change the passwords etc.
-
@baku1413 My suggestion is this.... If as you say, you can get it to boot from an SD card, load that up and get into Armbian, load a terminal window up and run
lsblk -o NAME,FSTYPE,LABEL,SIZE,MOUNTPOINT
From the section of my original post Backing up if you are using SD card/USB stick for booting/running Armbian OS in step 7 and "Reveal hidden content" .... there is an image that shows what you should be seeing for mmcblk0 and mmcblk1 and the (one being an internal and an external drive).... and the partitions under them e.g.
mmcblk0p1 (drive 0 partition 1)
mmcblk0p2 (drive 0 partition 2)mmcblk1p1 (drive 1 partition 1)
mmcblk1p2 (drive 1 partition 2)The ones with ROOTFS and BOOT on them are your SD card.... Any others are either the Android OS or ROOT_EMMC and BOOT_EMMC (the copied/installed Armbian OS).
So maybe from that, you can figure IF it can see multiple drives? If its already copied once because ROOT_EMMC and BOOT_EMMC exist? If it cant see anything other than your SD card etc.
Its not really something I can diagnose for you as I dont exactly know the install routine inside out, but perhaps this might lead you in the direction to figure what is occurring.
-
@anonymox Are you trying to run this from a USB stick??? You need to run it from an SD card I believe.... because a USB stick will be called /dev/sda1 and SD card will be /dev/mmcblk1 and I think the script only works with /dev/mmcblk0 and 1 (one being the SD and the other emmc/nand)
Either way, from what the log says, it cant see the SD card or the emmc. (Also check you only perhaps have the 1 SD card plugged in and no other external media .. usb stick/hard drive etc).
-
I know that some TV boxes just wont boot off the emmc.... you are better asking on the specific TV Box forum e.g. "Armbian for Amlogic S9xxx kernel 4.1x (>= ver 5.55)" etc... and see if anyone else has experience or knowledge of your specific box.
Beyond that, I cannot think of any reason why the script that copies your SD card over to the emmc would wipe your SD card..... though that script tries to guess which is your SD card and which is your emmc memory before it starts to make its changes, deletes/creates partitions, copies files over etc. So perhaps the script is detecting your SD card/emmc memory incorrectly..... I really dont know.
What you can do, is a least when you have re-created and booted from your SD card, is to open Gparted and see if you can find a drive that has BOOT_EMMC and ROOT_EMMC on your TV box, that has data on it.... that would at least suggest that the install script did copy over your files to emmc, which might mean your box is one of those that doesnt boot.Also, did you check out the section called "LOST.DIR, System Volume Information and Android folders cause problems booting off eMMC/NAND." to ensure that if you have a BOOT_EMMC partition, that it doesnt have those folders on it!!! As they can cause this problem of not booting from emmc as well.
-
22 hours ago, Peyton said:
What about if we got headless server (gparted, geany steps) ?
I know for geany we can use nano easily but for gparted except if i do it on a linux computer aside i'm not able to use command lines.. :p
Manual process to setup the partition at the command line - Backing up if you are using emmc/NAND for booting/running Armbian OS
THIS HAS BEEN INCORPORATED INTO THE SPOILER/Reveal Hidden Contents on the main document.
-
Ive written/posted it..... so see if that works for you!
You need the section "Backing up if you are using emmc/NAND for booting/running Armbian OS"
Its easier than it looks, but I wanted to make it very clear for people to use, so hopefully it is.
Thanks!
-
Ive updated the guide I wrote to cover these additional topics:
- Example of setting up a system
-
Example Setup on a MeCool M8S PRO w (Change your DTB file in uEnv.ini and extlinux.conf for other boxes).
- Hardware you need
- Software/Downloads -
Setting it up
- Steps to image your SD Card/USB stick from a Windows PC
- Installing onto the MeCool M8S PRO w (Or any other box assuming youve changed the DTB) -
Congratulations - If you reach here you will have a working Armbian server.
Booting Problems and getting your system to boot - Booting off SD/USB problems.
-
uEnv.ini and extlinux.conf (Required for booting Armbian)
- Editing the files and picking the right DTB.
- What do these 2 files do and why cant I boot off emmc internal ram?
- What should the files look like? - Installing onto emmc/NAND - The internal hard drive of the TV box.
-
LOST.DIR, System Volume Information and Android folders cause problems booting off eMMC/NAND.
What to do if you brick your device. -
Ive done something and now my box wont boot/stuck on a splash screen/is a brick what do I do?
- Getting the system recovered - notes
- Doing the recovery
Bootable Backups (can be used to migrate to another TV Box too) -
Backing up if you are using SD card/USB stick for booting/running Armbian OS
- You will need the following to do this
- How to get things setup and do it (create/restore your image) -
Backing up if you are using emmc/NAND for booting/running Armbian OS
- You will need the following to do this
- Option A and Option B
- How can I tell Ive booted from my Backup SD card?
- What have we actually just done?
- What can I do with my imaged SD card?
-
I am about to write an article on doing this.
are you on eMMC/NAND or an SD Card?
I will be writing some answers in here, over the next few hours
-
3 minutes ago, Laurynas said:
Saw your guide, and you state there that WiFi iš nor working for you otherwise its good guide
So still looking for options to get WiFi working on mecool m8s pro w
Yes, sorry I dont know of any way to get it working on that box. Id like it working too. I tried all the different DTB files just over 1 year ago and none of them got the WiFi working.
If you do find any solution (either an updated DTB file on the latest Armbian, or a manual driver install somehow) please let me know!
Thanks!
-
I think there are 2 versions/revisions of the Mecool M8S Pro w box from what I picked up elsewhere on the internet. Mine wont install to emmc (well it copies, but wont boot off it, no matter what I try). My experience with it, is in the above article.
Which does cover recovery of them (if you ever need it).
-
For anyone getting stuck with their box, Ive written a guide, that covers the following:
Example of setting up a system
-
Example Setup on a MeCool M8S PRO w (Change your DTB file in uEnv.ini and extlinux.conf for other boxes).
- Hardware you need
- Software/Downloads -
Setting it up
- Steps to image your SD Card/USB stick from a Windows PC
- Installing onto the MeCool M8S PRO w (Or any other box assuming youve changed the DTB) - Congratulations - If you reach here you will have a working Armbian server.
Booting Problems and getting your system to boot
- Booting off SD/USB problems.
-
uEnv.ini and extlinux.conf (Required for booting Armbian)
- Editing the files and picking the right DTB.
- What do these 2 files do and why cant I boot off emmc internal ram?
- What should the files look like? - Installing onto emmc/NAND - The internal hard drive of the TV box.
- LOST.DIR, System Volume Information and Android folders cause problems booting off eMMC/NAND.
What to do if you brick your device.-
Ive done something and now my box wont boot/stuck on a splash screen/is a brick what do I do?
- Getting the system recovered - notes
- Doing the recovery
Bootable Backups (can be used to migrate to another TV Box too)-
Backing up if you are using SD card/USB stick for booting/running Armbian OS
- You will need the following to do this
- How to get things setup and do it (create/restore your image) -
Backing up if you are using emmc/NAND for booting/running Armbian OS
- You will need the following to do this
- Option A and Option B
- How can I tell Ive booted from my Backup SD card?
- What have we actually just done?
- What can I do with my imaged SD card?
I dont expect to answer every question/solve every problem, but it perhaps centralizes a lot of questions/answers people seem to keep asking on the forum.
-
Example Setup on a MeCool M8S PRO w (Change your DTB file in uEnv.ini and extlinux.conf for other boxes).
Install OpenHab on Armbian
in Reviews, Tutorials, Hardware hacks
Posted
The 1st time I installed Openhab was a few years back and it was on a TV Box variant of Armbian. Either the option to install Openhab wasnt in the Armbian Config Util on that build/system, or I missed it being in the list and would/should have used that.
I ended up for various reasons having to rebuild and customize my install multiple times, plus I couldnt see much mention of Armbian on the Openhab forums and suffered some problems with Openhabian's install routine (which I think may(?) be resolved now). So, at the time I wrote a guide there, partly so I could remember everything if I had to rebuild and also to share with others whom might hunt out the word Armbian.
As for versions, yes I think there is a slightly later build.. 8.46.0.225 vs 8.40.0.178
Current Arm Build 64 - https://cdn.azul.com/zulu-embedded/bin/zulu8.46.0.225-ca-jdk8.0.252-linux_aarch64.tar.gz
Current Arm Build 32 - https://cdn.azul.com/zulu-embedded/bin/zulu8.46.0.225-ca-jdk8.0.252-linux_aarch32hf.tar.gz
Packages lists - https://www.azul.com/downloads/zulu-community/?version=java-8-lts&architecture=arm-64-bit&package=jdk
Im happy to take a shot at updating it sometime, though Ive gotten myself caught up in 4 separate mini projects right now... so when I free up from one of those, if youve not made any updates yourself, Ill take a shot at it and let you know!
Thanks