Skip to content

Instantly share code, notes, and snippets.

@orangecms
Last active September 28, 2023 07:25
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save orangecms/1c23845593a91470fb7c1895dd2cd0ee to your computer and use it in GitHub Desktop.
Save orangecms/1c23845593a91470fb7c1895dd2cd0ee to your computer and use it in GitHub Desktop.
S905X4 TV-Box with AOSP Arm64 kernel
����SC2:BL:fb9e82;ID:0056000142A21C05;FEAT:30F:1FFE0000:B002F:1;POC:FF;RCY:0;OVD:0;DFU:0;eMMC:0;RD-0:0;CHK:0;RVK-N:8000;RVK-C:8000;RVK-A:800;RVK-C:8800;RVK-A:800;RVK-C:8800;RVK-N:8000;RVK-C:8800;SCS:0;RVK-N:00004000;RVK-C:0000c800;RVK-N:00002000;RVK-C:0000e800;
build in ddr magic:ddr4
OTP_LIC00 : 0f0300000000fe1f2f000b0000000000
OTP_LIC10 : 00820700aa01fe00ff00001f00400300
OTP_LIC20 : ffffffbf00000000c280000000000001
OTP_LIC30 : 000000f201000000ff0200f207000000
TE: 181407
BL2 Built : 20:42:11, Aug 9 2021. sc2 griscure-review-sc2-bl2-08032020-120-g922477b - jenkins@walle02-sh
Board ID = 1
Set sys clock to 24Mhz
gp1pll is 1200Mhz. Locked
syspll is 1512Mhz. Locked
Set sys clock to 167Mhz
hifipll is 1800Mhz. Locked
bl2_platform_setup
boot area list:
1STBLOB 00000200 00040000
BL2E 00040200 00013000
BL2X 00053200 00011000
DDRFIP 00064200 00040000
DEVFIP 000a4200 00300000
s_setup from rom:00010081
dma mode
DDR driver_vesion: LPDDR4_PHY_V_0_1_23 build time: Aug 9 2021 20:42:05
ddr clk to 672MHz
ddr fw flag:1
fw_type:1, cfg max:3, mask:0007
try next fw type:0
fw_type:0, cfg max:3, mask:0007
DDR3 probe
ddr clk to 672MHz
Load: DDRFIP From: eMMC - 3.0 src: 00000000, dst: f700ab90, size: 00009600sdemmc src: ;
Check phy result
dram_init
read enable training
fine write leveling
read dq deskew
mpr read training
Write leveling coarse
1d write dqs
1d read dqs
read latency training
Training successfully!
1D training succeed
auto size-- 65535DDR cs0 size: 4096MB
DDR cs1 size: 0MB
DMC_DDR_CTRL: 00000055DDR size: 3856MB
cs0 DataBus test pass
cs0 AddrBus test pass
non-sec scramble use random key
sec scramble use random key
ddr scramble enabled
100bdlr_step_size ps== 430
load mask:01
Load: DDRFIP From: eMMC - 3.0 src: 0000a000, dst: f700ab90, size: 00009600sdemmc src: ;
Load: DDRFIP From: eMMC - 3.0 src: 00014000, dst: f700ab90, size: 00009600sdemmc src: ;
Load: DDRFIP From: eMMC - 3.0 src: 0001e000, dst: f700ab90, size: 00009600sdemmc src: ;
Load: DDRFIP From: eMMC - 3.0 src: 00028000, dst: f700ab90, size: 00009600sdemmc src: ;
Load: DDRFIP From: eMMC - 3.0 src: 00032000, dst: f700ab90, size: 00009600sdemmc src: ;
result report
boot times 0
INFO: bl2_load_bl2ex start!
INFO: load ...
Load: BL2E From: eMMC - 3.0 src: 00002000, dst: 00fffff0, size: 00011000sdemmc src: ;
INFO: check ...
SHA CHK OK!
INFO: load ...
Load: BL2X From: eMMC - 3.0 src: 00000000, dst: 007ffff0, size: 00011000sdemmc src: ;
INFO: check ...
SHA CHK OK!
RVK-A:00000400;RVK-C:0000ec00;RVK-N:00004000;RVK-C:0000ec00;RVK-N:00002000;RVK-C:0000ec00;RVK-A:00000400;RVK-C:0000ec00;run into bl2e
info: get valid params from BL2 !
bl2_gd_init
BL2E: do things as vendor specific ...
Hello world, now in BL2E
TE: 409821
BL2E Built : 17:31:56, Jun 18 2021. sc2 g7445d1e - jenkins@walle02-sh
Start to do bl2e platform setup !
boot area list:
1STBLOB 00000200 00040000
BL2E 00040200 00013000
BL2X 00053200 00011000
DDRFIP 00064200 00040000
DEVFIP 000a4200 00300000
eMMC boot @ 0
sw-hs2 s
tun-w: s=1, sz=4
sw8 s
aml log : BL2E load BL3X.....
TE: 421188
Load FIP HDR from eMMC, src: 0x00000000, des: 0x00200000, size: 0x00008000, part: 0
Load BL3X from eMMC, src: 0x00008000, des: 0x00208000, size: 0x0026c260, part: 0
bl30 payload size: 0x00010260
bl30 memcpy
info: process payload 0 bl3x_toc: 0x00200020 bl3x_data: 0x00208000 rc=148
bl40 payload size: 0x00018470
info: process payload 1 bl3x_toc: 0x00200048 bl3x_data: 0x00219000 rc=188
bl31 payload size: 0x00040470
info: process payload 2 bl3x_toc: 0x00200070 bl3x_data: 0x00232000 rc=211
bl32 payload size: 0x00080470
info: process payload 3 bl3x_toc: 0x00200098 bl3x_data: 0x00273000 rc=245
bl33 memcpy
bl33 payload size: 0x00180260 offset: 0x000f4000
info: process payload 4 bl3x_toc: 0x002000c0 bl3x_data: 0x002f4000 rc=268
info: process payload 5 bl3x_toc: 0x002000e8 bl3x_data: 0x002001e0 rc=148
info: process payload 6 bl3x_toc: 0x00200110 bl3x_data: 0x00200fe0 rc=188
info: process payload 7 bl3x_toc: 0x00200138 bl3x_data: 0x00201de0 rc=211
info: process payload 8 bl3x_toc: 0x00200160 bl3x_data: 0x00202be0 rc=245
info: process payload 9 bl3x_toc: 0x00200188 bl3x_data: 0x002039e0 rc=268
info: process payload 10 bl3x_toc: 0x002001b0 bl3x_data: 0x002047e0 rc=314
aml log : BL2E loading BL3X is done...!
boot bl2x
params to bl2x, address=0x0100b130
Hello, we are in BL2X world !
TE: 658314
BL2X Built : 18:29:17, Jul 16 2021. sc2 griscure-review-sc2-bl2x-09132020-60-gfae54fd - jenkins@walle02-sh
bl2_platform_setup
INFO: get valid list_blobinfo, 0x0100b130
Info: get valid bl31 payload info, address= 0x00232000 size= 0x00040470
Info: bl31 image is now ready !
Info: get valid bl40 payload info, address= 0x00219000 size= 0x00018470
RVK-A:00000200;RVK-C:0000ee00;RVK-A:00000200;RVK-C:0000ee00;
FEAT_DISABLE_SECURE_ENCLAVE: 1
szmin_default_areas: 0
bl2e_2 entry: 0100009c
run into bl31
NOTICE: BL31: v1.3(release):2460ce3c5
NOTICE: BL31: Built : 15:46:58, Aug 10 2021
BL31:tsensor calibration: pll tsensor: 0xfa00801d, ddr tsensor: 0xfa000070
[mhu]: mhu_init-v1
[mhu]: 0xfe007080, 0x12120210
[mhu]: 0xfe007084, 0x12121002
[mhu]: 0xfe00708c, 0xa0a0802
[mhu]: 0xfe007010, 0x2
[mhu]: 0xfe007018, 0x10
[mhu]: 0xfe007014, 0x8
[mhu]: 0xfe007020, 0x89
[mhu]: 0xfe007024, 0x440
[mhu]: 0xfe007028, 0x6
[mhu]: mhu_init-v1 done
NOTICE: BL31: SC2 normal boot!
NOTICE: BL31: BL33 decompress pass
E/TC:0 00 INFO: BL3-2: ATOS-V3.8.0-9d11cda43 (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 Mon Aug 9 06:58:30 UTC 2021 arm
E/TC:0 00 INFO: BL3-2: secure time TEE
E/TC:0 00 INFO: BL3-2: Chip: SC2 Rev: B (32:B - 0:1)
Hello world again, bl2e meet you guys!
valid entry info for bl33, pc = 0x00000000
======== smc start aocpu ========
Starting AOCPU FreeRTOS...
AOCPU image version=' 01:07:45 2021-12-22'
AOCPU_IRQ_SEL=0x0
AOCPU_IRQ_SEL=0x0
AOCPU_IRQ_SEL=0x0
AOCPU_IRQ_SEL=0x0
[AOCPU]: mailbox init start
reg idx=0 cmd=6 handler=f702e572
reg idx=1 cmd=7 handler=f702e55c
[AOCPU]: mailbox init end
Starting timer ...
reg idx=2 cmd=b4 handler=f702c0b8
reg idx=3 cmd=b5 handler=f702c054
reg idx=4 cmd=b6 handler=f702bbae
reg idx=5 cmd=bb handler=f702bb6e
reg idx=6 cmd=bc handler=f702bb8e
reg idx=7 cmd=11 handler=f702adb6
reg idx=8 cmd=12 handler=f702adf2
reg idx=9 cmd=4 handler=f702a01c
reg idx=10 cmd=30 handler=f702a008
reg idx=11 cmd=31 handler=f702a018
Starting task scheduler ...
boot bl33 !
env_init: Environment STORAGE init done (ret=-2)
U-Boot 2019.01 (Dec 22 2021 - 01:07:38 +0800)
DRAM: 3.8 GiB
Relocation Offset is: f066b000
Relocating to f066b000, new gd at ea65adc8, sp at ea65adb0
board init
watchdog disable
gpio: pin GPIOH_8 (gpio 49) value is 0
ERR: hdmitx: not find /amhdmitx node:[meson_mmc_probe]sd: Controller probe success!
[meson_mmc_probe]emmc: Controller probe success!
emmc: resp timeout, cmd8, status=0x1ff2800
emmc: resp timeout, cmd55, status=0x1ff2800
store flag: 0, types: 1
emmc init success!
boot_device:1
boot_seq:0
boot_bakups:3
rebuid_id :0
boot area list:
bl2 200 40000
bl2e 40200 13000
bl2x 53200 11000
ddrfip 64200 40000
devfip a4200 300000
emmc: tuning start:
emmc: best_win_start =1, best_win_size =4
GUID Partition Table Header signature is wrong: 0xED31668D204C4D40 != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
fill_ept_by_gpt: invalid gpt ***
GUID Partition Table Header signature is wrong: 0x7D0053006A004800 != 0x5452415020494645
Amlogic Multi-DTB tool
Single DTB detected
get_partition_from_dts() 232: ret 0
Amlogic Multi-DTB tool
Single DTB detected
parts: 25
00: frp 0000000000200000 1
01: factory 0000000000800000 11
02:vendor_boot_a 0000000001800000 1
enable vendor_boot
03:vendor_boot_b 0000000001800000 1
enable vendor_boot
04: tee 0000000002000000 1
05: logo 0000000000800000 1
06: misc 0000000000200000 1
07: dtbo_a 0000000000200000 1
08: dtbo_b 0000000000200000 1
09: cri_data 0000000000800000 2
10: param 0000000001000000 2
11: odm_ext_a 0000000001000000 1
12: odm_ext_b 0000000001000000 1
13: oem_a 0000000002000000 1
14: oem_b 0000000002000000 1
15: boot_a 0000000004000000 1
set has_boot_slot = 1
16: boot_b 0000000004000000 1
17: rsv 0000000001000000 1
18: metadata 0000000001000000 1
19: vbmeta_a 0000000000200000 1
20: vbmeta_b 0000000000200000 1
21:vbmeta_system_a 0000000000200000 1
22:vbmeta_system_b 0000000000200000 1
23: super 0000000090000000 1
enable dynamic_partition
24: userdata ffffffffffffffff 4
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!!!
emmc probe success
Loading Environment from STORAGE... OK
In: serial@a000
Out: serial@a000
Err: serial@a000
board late init
upgrade_step 2
Start read misc partition datas!
active slot = 0
set vendor_boot_mode true
ab mode, read dtb from kernel
[imgread]partname = vendor_boot_a
Amlogic Multi-DTB tool
Single DTB detected
vpu: find AML_VPU_CLK_LEVEL_DFT: 7
vpu: clk_level in dts: 7
vpu: vpu_power_on_new
vpu: set clk: 666667000Hz, readback: 666666667Hz(0x100)
vpu: vpu_module_init_config
vpu: vpu_probe
vpp: vpp_init, chip_id=50
vpp: g12a/b osd1 matrix rgb2yuv ..............
vpp: g12a/b osd2 matrix rgb2yuv..............
vpp: g12a/b osd3 matrix rgb2yuv..............
vpp: vpp osd2 matrix rgb2yuv..............
hdr_func: 4, hdr_process_select 0x1
hdr_func: 5, hdr_process_select 0x1
hdr_func: 64, hdr_process_select 0x1
hdr_func: 1, hdr_process_select 0x1
hdr_func: 2, hdr_process_select 0x1
cvbs: cpuid:0x32
vdac_gsw_init: no cali_cvbs data or chip not verify
cvbs: find performance_pal config
cvbs: find performance_ntsc config
Start read misc partition datas!
rebootstatus is reboot_init, skip check
amlsecurecheck - try bootloader/dtb/recovery secure check
Usage:
amlsecurecheck
Start read misc partition datas!
save boot-info
buff: 560142a21c05
Net: pwr up eth
in-phy
chip num 3
not set tx_amp_src
[KM]Msg:key_num: 20
[KM]Msg:normal key used!
the key partition size is:40000 byte
calc 0, store 0
cpy 1 is not valid
calc 0, store 0
cpy 0 is not valid
[KM]Msg:mark is not found
[EFUSE_MSG]keynum is 4
MACADDR:02:ad:32:01:ce:81(from sec_reg)
eth0: ethernet@ff3f0000
Start read misc partition datas!
active slot = 0
set vendor_boot_mode true
ab mode, read dtb from kernel
recovery_status=
upgrade_step=2
reboot_mode:::: cold_boot
s_version: 01.01.211222.010738
[KM]Msg:key_num: 20
[EFUSE_MSG]keynum is 4
[KM]Error:f[key_manage_query_size]L401:key[usid] not programed yet
[KM]Error:f[key_manage_query_size]L401:key[region_code] not programed yet
[KM]Error:f[key_manage_query_size]L401:key[mac] not programed yet
[KM]Error:f[key_manage_query_size]L401:key[deviceid] not programed yet
Interface: MMC
Device 1: Vendor: Man 000045 Snr 7c719276 Rev: 0.1 Prod: DA6032
Type: Removable Hard Disk
Capacity: 29820.0 MB = 29.1 GB (61071360 x 512)
Filesystem: FAT12 "KEYBOX PART"
hpd_state=0
do_hpd_detect: hdmimode=1080p60hz
do_hpd_detect: colorattribute=444,8bit
no sink, fallback to 720p60hz[4]
hdr mode is 0
dv mode is ver:0 len: 0
hdr10+ mode is 0
HDMI HPD low, no need parse EDID
dolby_status 0 1
dolby_vision_process: no tv and dv disabled
Saving Environment to STORAGE... OK
[OSD]load fb addr from dts:/fb
[OSD]status disabled
[OSD]load fb addr from dts:/drm-vpu
[OSD]set initrd_high: 0x7f800000
[OSD]fb_addr for logo: 0x7f800000
[OSD]load fb addr from dts:/fb
[OSD]status disabled
[OSD]load fb addr from dts:/drm-vpu
[OSD]fb_addr for logo: 0x7f800000
[OSD]VPP_OFIFO_SIZE:0xfff01fff
[CANVAS]canvas init
[CANVAS]addr=0x7f800000 width=3840, height=2160
dolby_status 0 1
bootLogoPart=odm_ext_a
ext4logoLoadCmd=ext4load mmc 1:${logoPart} ${logoLoadAddr} ${ext4LogoPath}
4147338 bytes read in 13 ms (304.2 MiB/s)
[imgread]load bmp from ext4 part okay
[OSD]osd_hw.free_dst_data: 0,719,0,575
[OSD]osd1_update_disp_freescale_enable
vpp: vpp_matrix_update: 2
cvbs_performance_enhancement
cvbs_config_hdmipll_sc2
cvbs_set_vid2_clk
vdac_enable: 1, module_sel:0x8
dolby_status 0 1
dolby_status 0 1
hdr_packet
vpp: hdr_policy = 1
vpp: Rx hdr_info.hdr_sup_eotf_smpte_st_2084 = 0
s_version: 01.01.211222.010738
[KM]Msg:key_num: 20
[EFUSE_MSG]keynum is 4
[KM]Error:f[key_manage_query_size]L401:key[usid] not programed yet
[KM]Error:f[key_manage_query_size]L401:key[region_code] not programed yet
[KM]Error:f[key_manage_query_size]L401:key[mac] not programed yet
[KM]Error:f[key_manage_query_size]L401:key[deviceid] not programed yet
Interface: MMC
Device 1: Vendor: Man 000045 Snr 7c719276 Rev: 0.1 Prod: DA6032
Type: Removable Hard Disk
Capacity: 29820.0 MB = 29.1 GB (61071360 x 512)
Filesystem: FAT12 "KEYBOX PART"
gpio: pin GPIOD_3 (gpio 32) value is 1
Command: bcb uboot-command
Start read misc partition datas!
BCB hasn't any datas,exit!
Hit any key to stop autoboot: 0  0
sc2_ah212# <INTERRUPT>
sc2_ah212# <INTERRUPT>
sc2_ah212# <INTERRUPT>
sc2_ah212# <INTERRUPT>
sc2_ah212# <INTERRUPT>
sc2_ah212# <INTERRUPT>
sc2_ah212# <INTERRUPT>
sc2_ah212# fastboot usb 1
serial num: ah212560142a21c05
No ----gpio-vbus-power
PHY2=00000000fe03a020,PHY3=00000000fe03a080
USB RESET
SPEED ENUM
USB RESET
SPEED ENUM
Start read misc partition datas!
active slot = 0
set vendor_boot_mode true
fastboot_getvar cmd_parameter: product
Start read misc partition datas!
active slot = 0
set vendor_boot_mode true
fastboot_getvar cmd_parameter: version
Start read misc partition datas!
active slot = 0
set vendor_boot_mode true
fastboot_getvar cmd_parameter: version-bootloader
s_version: 01.01.211222.010738
Start read misc partition datas!
active slot = 0
set vendor_boot_mode true
fastboot_getvar cmd_parameter: serialno
Start read misc partition datas!
active slot = 0
set vendor_boot_mode true
fastboot_getvar cmd_parameter: secure
lock state: 10100000
lock state: 10100000
Starting download of 10219520 bytes
..........................................................................
...
downloading of 10219520 bytes finished
Booting kernel at 0x0000000010200000...
avb2: 1
Start read misc partition datas!
active slot = 0
set vendor_boot_mode true
active_slot is _a
ab_suffix is _a
AVB2 verify with default kpub size:520, vbmeta kpub size:520
Start read misc partition datas!
active slot = 0
set vendor_boot_mode true
avb verification: locked = 0, result = 0
avb2: 1
## Booting Android Image at 0x10200000 ...
Kernel load addr 0x03080000 size 9885 KiB
Kernel command line: console=ttyS0,921600 no_console_suspend earlycon=aml_uart,0xfe07a000 debug loglevel=8 androidboot.dtb_idx=1
No androidboot.dtbo_idx configuredload dtb from 0x1000000 ......
Amlogic Multi-DTB tool
Single DTB detected
env select addr: 0x0x1000000
## Flattened Device Tree blob at 01000000
Booting using the fdt blob at 0x1000000
active_slot is _a
Start read dtbo_a partition datas!
find 1 dtbos
No androidboot.dtbo_idx configured
And no dtbos will be applied
Loading Kernel Image ... OK
libfdt fdt_getprop(): FDT_ERR_NOTFOUND
Loading Device Tree to 000000001ffeb000, end 000000001ffff9a7 ... OK
Starting kernel ...
uboot time: 13173908 us
boot 64bit kernel
[ 0.000000@0]d Booting Linux on physical CPU 0x0
[ 0.000000@0]d Linux version 4.9.180+ (dama@orangelemp) (gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04.1) ) #14 SMP PREEMPT Sun Jul 16 05:36:21 CEST 2023
[ 0.000000@0]d Boot CPU: AArch64 Processor [412fd050]
[ 0.000000@0]d earlycon: aml_uart0 at MMIO 0x00000000fe07a000 (options '')
[ 0.000000@0]d bootconsole [aml_uart0] enabled
[ 0.000000@0]d Reserved memory: created CMA memory pool at 0x0000000005000000, size 52 MiB
[ 0.000000@0]d OF: reserved mem: initialized node linux,secmon, compatible id shared-dma-pool
[ 0.000000@0]d Reserved memory: created CMA memory pool at 0x000000007f800000, size 8 MiB
[ 0.000000@0]d OF: reserved mem: initialized node linux,meson-fb, compatible id shared-dma-pool
[ 0.000000@0]d Reserved memory: created CMA memory pool at 0x00000000eac00000, size 92 MiB
[ 0.000000@0]d OF: reserved mem: initialized node linux,ion-dev, compatible id shared-dma-pool
[ 0.000000@0]d Reserved memory: created CMA memory pool at 0x00000000e8800000, size 36 MiB
[ 0.000000@0]d OF: reserved mem: initialized node linux,ion-fb, compatible id shared-dma-pool
[ 0.000000@0]d OF: reserved mem: invalid size property in 'linux,ppmgr' node.
[ 0.000000@0]d Reserved memory: created CMA memory pool at 0x00000000cd800000, size 432 MiB
[ 0.000000@0]d OF: reserved mem: initialized node linux,codec_mm_cma, compatible id shared-dma-pool
[ 0.000000@0]d Reserved memory: created CMA memory pool at 0x00000000cc400000, size 20 MiB
[ 0.000000@0]d OF: reserved mem: initialized node linux,vdin0_cma, compatible id shared-dma-pool
[ 0.000000@0]d Reserved memory: created CMA memory pool at 0x00000000cb000000, size 20 MiB
[ 0.000000@0]d OF: reserved mem: initialized node linux,vdin1_cma, compatible id shared-dma-pool
[ 0.000000@0]d Reserved memory: created CMA memory pool at 0x0000000030000000, size 8 MiB
[ 0.000000@0]d OF: reserved mem: initialized node linux,dsp_fw, compatible id shared-dma-pool
[ 0.000000@0]d cma: Reserved 32 MiB at 0x00000000c9000000
[ 0.000000@0]d NUMA: No NUMA configuration found
[ 0.000000@0]d NUMA: Faking a node at [mem 0x0000000000000000-0x00000000f07fffff]
[ 0.000000@0]d NUMA: Adding memblock [0x0 - 0xf07fffff] on node 0
[ 0.000000@0]d NUMA: Initmem setup node 0 [mem 0x00000000-0xf07fffff]
[ 0.000000@0]d NUMA: NODE_DATA [mem 0xc8f8a980-0xc8f8c8ff]
[ 0.000000@0]d Zone ranges:
[ 0.000000@0]d DMA [mem 0x0000000000000000-0x00000000f07fffff]
[ 0.000000@0]d Normal empty
[ 0.000000@0]d Movable zone start for each node
[ 0.000000@0]d Early memory node ranges
[ 0.000000@0]d node 0: [mem 0x0000000000000000-0x00000000f07fffff]
[ 0.000000@0]d Initmem setup node 0 [mem 0x0000000000000000-0x00000000f07fffff]
[ 0.000000@0]d On node 0 totalpages: 985088
[ 0.000000@0]d DMA zone: 15392 pages used for memmap
[ 0.000000@0]d DMA zone: 0 pages reserved
[ 0.000000@0]d DMA zone: 985088 pages, LIFO batch:31
[ 0.000000@0]d psci: probing for conduit method from DT.
[ 0.000000@0]d psci: PSCIv1.0 detected in firmware.
[ 0.000000@0]d psci: Using standard PSCI v0.2 function IDs
[ 0.000000@0]d psci: Trusted OS migration not required
[ 0.000000@0]d psci: SMC Calling Convention v1.1
[ 0.000000@0]d percpu: Embedded 20 pages/cpu s43544 r8192 d30184 u81920
[ 0.000000@0]d pcpu-alloc: s43544 r8192 d30184 u81920 alloc=20*4096
[ 0.000000@0]d pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000@0]d Detected VIPT I-cache on CPU0
[ 0.000000@0]d Built 1 zonelists in Node order, mobility grouping on. Total pages: 969696
[ 0.000000@0]d Policy zone: DMA
[ 0.000000@0]d Kernel command line: init=/init console=ttyS0,921600 no_console_suspend earlycon=aml-uart,0xfe07a000 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 loop.max_part=4 loglevel=7 otg_device=0 logo=osd0,loaded,0x00300000 vout=576cvbs,enable panel_type=lcd_1 hdmitx=,444,8bit hdmimode=1080p60hz hdmichecksum=0x00000000 dolby_vision_on=0 hdr_policy=1 hdr_priority= 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.bootloader=01.01.211222.010738 androidboot.hardware=amlogic androidboot.serialno=ah212560142a21c05 androidboot.wificountrycode=US androidboot.rpmb_state=0x0 androidboot.vbmeta.device=/dev/block/vbmeta androidboot.vbmeta.avb_version=1.1 androidboot.vbmeta.device_state=unlocked androidboot.vbmeta.hash_alg=sha256 androidboot.vbmeta.size=6912 androidboot.vbmeta.digest=f0e6d00d505e7b343ec7d252c7559f2354d639ccef919e91731416e0e
[ 0.000000@0]d PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000@0]d Memory: 3145852K/3940352K available (4990K kernel code, 450K rwdata, 2936K rodata, 1344K init, 408K bss, 77700K reserved, 716800K cma-reserved)
[ 0.000000@0]d Virtual kernel memory layout:
[ 0.000000@0]d modules : 0xffff000000000000 - 0xffff000008000000 ( 128 MB)
[ 0.000000@0]d vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000 (129022 GB)
[ 0.000000@0]d .text : 0xffff000009080000 - 0xffff000009560000 ( 4992 KB)
[ 0.000000@0]d .rodata : 0xffff000009560000 - 0xffff000009850000 ( 3008 KB)
[ 0.000000@0]d .init : 0xffff000009850000 - 0xffff0000099a0000 ( 1344 KB)
[ 0.000000@0]d .data : 0xffff0000099a0000 - 0xffff000009a10808 ( 451 KB)
[ 0.000000@0]d .bss : 0xffff000009a10808 - 0xffff000009a769a4 ( 409 KB)
[ 0.000000@0]d fixed : 0xffff7dfffe7fb000 - 0xffff7dfffec00000 ( 4116 KB)
[ 0.000000@0]d PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000 ( 16 MB)
[ 0.000000@0]d vmemmap : 0xffff7e0000000000 - 0xffff800000000000 ( 2048 GB maximum)
[ 0.000000@0]d 0xffff7e0000000000 - 0xffff7e0003c20000 ( 60 MB actual)
[ 0.000000@0]d memory : 0xffff800000000000 - 0xffff8000f0800000 ( 3848 MB)
[ 0.000000@0]d SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000@0]d Preemptible hierarchical RCU implementation.
[ 0.000000@0]d RCU debugfs-based tracing is enabled.
[ 0.000000@0]d Build-time adjustment of leaf fanout to 64.
[ 0.000000@0]d RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[ 0.000000@0]d RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[ 0.000000@0]d NR_IRQS:64 nr_irqs:64 0
[ 0.000000@0]d arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000@0]d clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000004@0]d sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.001368@0]- Console: colour dummy device 80x25
[ 0.001653@0]- Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ 0.002924@0]- pid_max: default: 32768 minimum: 301
[ 0.003578@0]- Security Framework initialized
[ 0.004693@0]- Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[ 0.007094@0]- Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 0.008215@0]- Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.008392@0]- Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.010052@0]- sched-energy: CPU device node has no sched-energy-costs
[ 0.010172@0]- Invalid sched_group_energy for CPU0
[ 0.010799@0]- CPU0: update cpu_capacity 1024
[ 0.022834@0]- ASID allocator initialised with 32768 entries
[ 0.043099@0]- Meson chip version = Rev0 (0:0 - 0:0)
[ 0.079110@1]d Detected VIPT I-cache on CPU1
[ 0.079155@1]d Invalid sched_group_energy for CPU1
[ 0.079156@1]d CPU1: update cpu_capacity 1024
[ 0.079159@1]d CPU1: Booted secondary processor [412fd050]
[ 0.107120@2]d Detected VIPT I-cache on CPU2
[ 0.107151@2]d Invalid sched_group_energy for CPU2
[ 0.107152@2]d CPU2: update cpu_capacity 1024
[ 0.107155@2]d CPU2: Booted secondary processor [412fd050]
[ 0.135162@3]d Detected VIPT I-cache on CPU3
[ 0.135186@3]d Invalid sched_group_energy for CPU3
[ 0.135189@3]d CPU3: update cpu_capacity 1024
[ 0.135192@3]d CPU3: Booted secondary processor [412fd050]
[ 0.135244@0]- Brought up 4 CPUs
[ 0.142002@0]- SMP: Total of 4 processors activated.
[ 0.142620@0]- CPU features: detected feature: Privileged Access Never
[ 0.143437@0]- CPU features: detected feature: User Access Override
[ 0.144213@0]- CPU features: detected feature: Virtualization Host Extensions
[ 0.145098@0]- CPU features: detected feature: 32-bit EL0 Support
[ 0.145858@0]- CPU features: detected feature: Kernel page table isolation (KPTI)
[ 0.151117@0]- CPU: All CPU(s) started at EL2
[ 0.151146@0]d alternatives: patching kernel code
[ 0.152285@0]- Invalid sched_group_energy for CPU3
[ 0.152306@0]- Invalid sched_group_energy for Cluster3
[ 0.152823@0]- Invalid sched_group_energy for CPU2
[ 0.153418@0]- Invalid sched_group_energy for Cluster2
[ 0.154058@0]- Invalid sched_group_energy for CPU1
[ 0.154653@0]- Invalid sched_group_energy for Cluster1
[ 0.155303@0]- Invalid sched_group_energy for CPU0
[ 0.155888@0]- Invalid sched_group_energy for Cluster0
[ 0.157766@0]- devtmpfs: initialized
[ 0.169602@0]- clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.170186@0]- futex hash table entries: 1024 (order: 5, 131072 bytes)
[ 0.180877@0]- pinctrl core: initialized pinctrl subsystem
[ 0.181946@0]- NET: Registered protocol family 16
[ 0.195440@0]- cpuidle: using governor menu
[ 0.196154@0]- vdso: 2 pages (1 code @ (ptrval), 1 data @ (ptrval))
[ 0.196423@0]- hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.197789@0]- DMA: preallocated 256 KiB pool for atomic allocations
[ 0.198133@0]- Serial: AMBA PL011 UART driver
[ 0.200114@0]- meson_mhu_fifo: mhu fifo start
[ 0.200163@0]- meson_mhu_fifo fe006000.mhu: no payload, only use fifo
[ 0.200986@0]- meson_mhu_fifo: mbox fifo init done node:ffff8000c3d20410, mhuf:0x2
[ 0.201823@0]- meson_mhu_sec: mhu sec start
[ 0.202391@0]- meson_mhu_sec: mbox sec init done 12051 node:ffff8000c3d21410, mhuf:0xa
[ 0.227799@0]- HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.229270@2]- pps_core: LinuxPPS API ver. 1 registered
[ 0.229296@2]- pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.230402@2]- PTP clock support registered
[ 0.231560@2]- clocksource: Switched to clocksource arch_sys_counter
[ 0.231802@2]- VFS: Disk quotas dquot_6.6.0
[ 0.232262@2]- VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.238151@2]- NET: Registered protocol family 2
[ 0.251692@2]- TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[ 0.252128@2]- TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[ 0.253186@2]- TCP: Hash tables configured (established 32768 bind 32768)
[ 0.253705@2]- UDP hash table entries: 2048 (order: 4, 65536 bytes)
[ 0.254456@2]- UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[ 0.255385@2]- NET: Registered protocol family 1
[ 0.256250@2]- hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[ 0.258484@3]- audit: initializing netlink subsys (disabled)
[ 0.258557@3]- audit: type=2000 audit(0.252:1): initialized
[ 0.259419@3]- Initialise system trusted keyrings
[ 0.259975@3]- workingset: timestamp_bits=41 max_order=20 bucket_order=0
[ 0.264950@3]- squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.265120@3]- 9p: Installing v9fs 9p2000 file system support
[ 0.267770@0]- Key type asymmetric registered
[ 0.267791@0]- Asymmetric key parser 'x509' registered
[ 0.268394@0]- Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 0.269209@0]- io scheduler noop registered
[ 0.269729@0]- io scheduler deadline registered
[ 0.270435@0]- io scheduler cfq registered (default)
[ 0.274243@0]- Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.275333@0]- fe07a000.serial: ttyAML0 at MMIO 0xfe07a000 (irq = 16, base_baud = 1500000) is a meson_uart
[ 0.276172@0]- fe080000.serial: ttyAML1 at MMIO 0xfe080000 (irq = 35, base_baud = 1500000) is a meson_uart
[ 0.277512@3]d random: fast init done
[ 0.277595@3]- random: crng init done
[ 0.277600@0]- Unable to detect cache hierarchy for CPU 0
[ 0.280723@1]- loop: module loaded
[ 0.281422@1]- libphy: Fixed MDIO Bus: probed
[ 0.281506@1]- tun: Universal TUN/TAP device driver, 1.6
[ 0.281927@1]- tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 0.283761@1]- ethclk81 fdc00000.ethernet: stmmac_dvr_probe: warning: cannot get CSR clock
[ 0.284197@1]- ethclk81: probe of fdc00000.ethernet failed with error -2
[ 0.285134@1]- i2c /dev entries driver
[ 0.287008@1]- ledtrig-cpu: registered to indicate activity on CPUs
[ 0.287994@1]- proc_dir_entry 'driver/meson_uart' already registered
[ 0.288099@1]d ------------[ cut here ]------------
[ 0.288709@1]d WARNING: CPU: 1 PID: 1 at fs/proc/generic.c:344 proc_register+0x124/0x150
[ 0.289702@1]d Modules linked in:
[ 0.290113@1]d
[ 0.290334@1]d CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.9.180 #14
[ 0.291121@1]d Hardware name: Amlogic (DT)
[ 0.291632@1]d task: 00000000c7ba67bc task.stack: 000000007091d8e7
[ 0.292401@1]d PC is at proc_register+0x124/0x150
[ 0.292984@1]d LR is at proc_register+0x124/0x150
[ 0.293569@1]d pc : [<ffff00000925a054>] lr : [<ffff00000925a054>] pstate: 60c00049
[ 0.294522@1]d sp : ffff8000c428bc70
[ 0.294965@1]d x29: ffff8000c428bc70 x28: 0000000000000000
[ 0.295659@1]d x27: 000000000000000a x26: ffff8000c3a04f85
[ 0.296352@1]d x25: ffff8000c4806d00 x24: ffff8000c4806d38
[ 0.297045@1]d x23: ffff000009a60788 x22: 0000000000000000
[ 0.297739@1]d x21: 000000000000000a x20: ffff8000c3a04f00
[ 0.298432@1]d x19: ffff8000c38e3640 x18: ffffffffffffffff
[ 0.299125@1]d x17: 000000000000000e x16: 0000000000000000
[ 0.299819@1]d x15: ffff000089a2bf97 x14: ffffffffffffffff
[ 0.300512@1]d x13: ffff000009a2bfa6 x12: 00000000000000af
[ 0.301205@1]d x11: ffff000009a2c000 x10: ffff000009690510
[ 0.301899@1]d x9 : 00000000000464fa x8 : 6165726c61202774
[ 0.302592@1]d x7 : 7261755f6e6f7365 x6 : ffff00000945dcb4
[ 0.303285@1]d x5 : 000000000000000d x4 : 0000000000000000
[ 0.303979@1]d x3 : 0000000000000000 x2 : ffff0000099c1c78
[ 0.304672@1]d x1 : ffff8000c4280000 x0 : 0000000000000035
[ 0.305368@1]d
[ 0.305368@1]d SP: 0xffff8000c428bbf0:
[ 0.306048@1]d bbf0 00000000 00000000 09a60788 ffff0000 c4806d38 ffff8000 c4806d00 ffff8000
[ 0.307098@1]d bc10 c3a04f85 ffff8000 0000000a 00000000 00000000 00000000 c428bc70 ffff8000
[ 0.308149@1]d bc30 0925a054 ffff0000 c428bc70 ffff8000 0925a054 ffff0000 60c00049 00000000
[ 0.309200@1]d bc50 00000000 00000000 00000000 00000000 ffffffff ffffffff ffffffff ffffffff
[ 0.310251@1]d bc70 c428bcd0 ffff8000 0925a25c ffff0000 c3a04f00 ffff8000 095b43e8 ffff0000
[ 0.311302@1]d bc90 c3a04e00 ffff8000 099e69b8 ffff0000 095b4398 ffff0000 000001a8 00000000
[ 0.312353@1]d bcb0 09850374 ffff0000 09889d00 ffff0000 00000000 00000000 096b40f8 ffff0000
[ 0.313403@1]d bcd0 c428bd10 ffff8000 0925d19c ffff0000 c3a04e00 ffff8000 099fa100 ffff0000
[ 0.314455@1]d
[ 0.314455@1]d X1: 0xffff8000c427ff80:
[ 0.315137@1]d ff80 0dd77377 81030392 c74bbaef c4c49312 f0b5ce81 36fe4ad5 c2e7a3aa f6387c21
[ 0.316187@1]d ffa0 3a120359 1f8de6c9 60490143 69e7ed0f 1572b64a 9e55933c 9e1652c3 96a6f9bb
[ 0.317238@1]d ffc0 5b56656d 10b9c275 920df6aa a2743d01 d6914dc0 fea0d63d ae8c89d9 da8f61b9
[ 0.318289@1]d ffe0 39022f45 562f6a78 6cc72aaa fea03765 c1e9ba40 1a4d99f0 826904f7 cbdcbee5
[ 0.319340@1]d 0000 00000010 00000000 ffffffff ffffffff 00000001 00000000 00000000 00000000
[ 0.320391@1]d 0020 c4288000 ffff8000 00000002 00200140 00000000 00000000 00000000 00000000
[ 0.321442@1]d 0040 00000001 00000001 000000a3 00000000 fffedb0b 00000000 c3841a00 ffff8000
[ 0.322492@1]d 0060 00000001 00000001 00000078 00000078 00000078 00000000 09569bc8 ffff0000
[ 0.323548@1]d
[ 0.323548@1]d X19: 0xffff8000c38e35c0:
[ 0.324237@1]d 35c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.325288@1]d 35e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.326338@1]d 3600 f0000090 00008124 00000001 00000000 00000000 00000000 00000000 00000000
[ 0.327389@1]d 3620 0957cf80 ffff0000 095b43e8 ffff0000 c4806d00 ffff8000 00000000 00000000
[ 0.328440@1]d 3640 c38dbc40 ffff8000 00000000 00000000 00000000 00000000 c38e3500 ffff8000
[ 0.329491@1]d 3660 00000001 00000000 00000000 00000000 c38e3670 ffff8000 c38e3670 ffff8000
[ 0.330542@1]d 3680 00000000 73656d0a 755f6e6f 00747261 00000000 00000000 00000000 00000000
[ 0.331592@1]d 36a0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.332644@1]d
[ 0.332644@1]d X20: 0xffff8000c3a04e80:
[ 0.333337@1]d 4e80 c39eb480 ffff8000 c39eb380 ffff8000 c39eb400 ffff8000 099fa210 ffff0000
[ 0.334388@1]d 4ea0 095b42a0 ffff0000 c38e35a8 ffff8000 099e69e0 ffff0000 00000000 00000000
[ 0.335438@1]d 4ec0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.336489@1]d 4ee0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.337540@1]d 4f00 f0000092 00008124 00000001 00000000 00000000 00000000 00000000 00000000
[ 0.338591@1]d 4f20 0957cf80 ffff0000 095b43e8 ffff0000 c4806d00 ffff8000 00000000 00000000
[ 0.339642@1]d 4f40 00000000 00000000 00000000 00000000 00000000 00000000 c3a04e00 ffff8000
[ 0.340693@1]d 4f60 00000001 00000000 00000000 00000000 c3a04f70 ffff8000 c3a04f70 ffff8000
[ 0.341745@1]d
[ 0.341745@1]d X24: 0xffff8000c4806cb8:
[ 0.342437@1]d 6cb8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.343488@1]d 6cd8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.344538@1]d 6cf8 00000000 00000000 f000000c 00004140 00000002 00000000 00000000 00000000
[ 0.345589@1]d 6d18 00000000 00000000 0957ce80 ffff0000 0957cd80 ffff0000 c4806b00 ffff8000
[ 0.346640@1]d 6d38 c38dbc40 ffff8000 00000001 00000000 c4806e40 ffff8000 c4806c40 ffff8000
[ 0.347691@1]d 6d58 00000000 00000000 00000001 00000000 00000000 00000000 c4806d70 ffff8000
[ 0.348742@1]d 6d78 c4806d70 ffff8000 00000000 69726406 00726576 00000000 00000000 00000000
[ 0.349792@1]d 6d98 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.350844@1]d
[ 0.350844@1]d X25: 0xffff8000c4806c80:
[ 0.351537@1]d 6c80 00000000 69646c05 00006373 00000000 00000000 00000000 00000000 00000000
[ 0.352588@1]d 6ca0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.353638@1]d 6cc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.354689@1]d 6ce0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.355740@1]d 6d00 f000000c 00004140 00000002 00000000 00000000 00000000 00000000 00000000
[ 0.356791@1]d 6d20 0957ce80 ffff0000 0957cd80 ffff0000 c4806b00 ffff8000 c38dbc40 ffff8000
[ 0.357842@1]d 6d40 00000001 00000000 c4806e40 ffff8000 c4806c40 ffff8000 00000000 00000000
[ 0.358892@1]d 6d60 00000001 00000000 00000000 00000000 c4806d70 ffff8000 c4806d70 ffff8000
[ 0.359944@1]d
[ 0.359944@1]d X26: 0xffff8000c3a04f05:
[ 0.360637@1]d 4f04 00008124 00000001 00000000 00000000 00000000 00000000 00000000 0957cf80
[ 0.361687@1]d 4f24 ffff0000 095b43e8 ffff0000 c4806d00 ffff8000 00000000 00000000 00000000
[ 0.362738@1]d 4f44 00000000 00000000 00000000 00000000 00000000 c3a04e00 ffff8000 00000001
[ 0.363789@1]d 4f64 00000000 00000000 00000000 c3a04f70 ffff8000 c3a04f70 ffff8000 00000000
[ 0.364840@1]d 4f84 73656d0a 755f6e6f 00747261 00000000 00000000 00000000 00000000 00000000
[ 0.365891@1]d 4fa4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.366942@1]d 4fc4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.367993@1]d 4fe4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001
[ 0.369043@1]d 5004 00000000 c3a03e88 ffff8000 0969b258 ffff0000 c3a03f91 ffff8000 00000000
[ 0.370096@1]d
[ 0.370096@1]d X29: 0xffff8000c428bbf0:
[ 0.370788@1]d bbf0 00000000 00000000 09a60788 ffff0000 c4806d38 ffff8000 c4806d00 ffff8000
[ 0.371838@1]d bc10 c3a04f85 ffff8000 0000000a 00000000 00000000 00000000 c428bc70 ffff8000
[ 0.372889@1]d bc30 0925a054 ffff0000 c428bc70 ffff8000 0925a054 ffff0000 60c00049 00000000
[ 0.373940@1]d bc50 00000000 00000000 00000000 00000000 ffffffff ffffffff ffffffff ffffffff
[ 0.374991@1]d bc70 c428bcd0 ffff8000 0925a25c ffff0000 c3a04f00 ffff8000 095b43e8 ffff0000
[ 0.376042@1]d bc90 c3a04e00 ffff8000 099e69b8 ffff0000 095b4398 ffff0000 000001a8 00000000
[ 0.377093@1]d bcb0 09850374 ffff0000 09889d00 ffff0000 00000000 00000000 096b40f8 ffff0000
[ 0.378143@1]d bcd0 c428bd10 ffff8000 0925d19c ffff0000 c3a04e00 ffff8000 099fa100 ffff0000
[ 0.379194@1]d
[ 0.379421@1]d ---[ end trace 2a29f267739a42d5 ]---
[ 0.380020@1]d Call trace:
[ 0.380357@1]d Exception stack(0xffff8000c428ba80 to 0xffff8000c428bbb0)
[ 0.381191@1]d ba80: ffff8000c38e3640 0000ffffffffffff ffff8000c428bc70 ffff00000925a054
[ 0.382197@1]d baa0: 0000000060c00049 000000000000003d 0000000000000000 0000000000000002
[ 0.383205@1]d bac0: 0000000000000035 0000000000000040 0000000000000000 0000000000000035
[ 0.384212@1]d bae0: ffff0000099ad358 00000001090f3a3c 0000000000000048 0000000000000000
[ 0.385220@1]d bb00: ffff8000c428bb90 ffff0000090f3bbc ffff8000c38e3640 ffff8000c3a04f00
[ 0.386227@1]d bb20: 000000000000000a 0000000000000000 ffff000009a60788 ffff8000c4806d38
[ 0.387235@1]d bb40: 0000000000000035 ffff8000c4280000 ffff0000099c1c78 0000000000000000
[ 0.388242@1]d bb60: 0000000000000000 000000000000000d ffff00000945dcb4 7261755f6e6f7365
[ 0.389250@1]d bb80: 6165726c61202774 00000000000464fa ffff000009690510 ffff000009a2c000
[ 0.390256@1]d bba0: 00000000000000af ffff000009a2bfa6
[ 0.390898@1]d [<00000000fdb810ca>] proc_register+0x124/0x150
[ 0.391612@1]d [<00000000a0fc3c73>] proc_create_data+0x7c/0xd0
[ 0.392339@1]d [<000000000947e721>] proc_tty_register_driver+0x4c/0x60
[ 0.393155@1]d [<00000000d4361d0a>] tty_register_driver+0x188/0x1b0
[ 0.393934@1]d [<00000000fdcd887f>] uart_register_driver+0x12c/0x1bc
[ 0.394725@1]d [<00000000700f8e0c>] meson_uart_init+0x24/0xc0
[ 0.395439@1]d [<00000000facf89be>] do_one_initcall+0x38/0x11c
[ 0.396166@1]d [<000000000b8fe896>] kernel_init_freeable+0x188/0x21c
[ 0.396954@1]d [<00000000e3cb95ea>] kernel_init+0x10/0xfc
[ 0.397624@1]d [<0000000082dd5ff6>] ret_from_fork+0x10/0x40
[ 0.398350@1]- Error: Driver 'meson_uart' is already registered, aborting...
[ 0.399353@1]- aml_dma fe440400.aml_dma: Aml dma
[ 0.401001@1]- aml_aes_dma fe440400.aml_dma:aml_aes: Aml AES_dma
[ 0.401661@1]- aml_tdes_dma fe440400.aml_dma:aml_tdes: Aml TDES_dma
[ 0.402142@1]- aml_sha_dma fe440400.aml_dma:aml_sha: Aml SHA1/SHA224/SHA256 dma
[ 0.402792@1]- sysled: module init
[ 0.403519@1]- NET: Registered protocol family 17
[ 0.403805@1]- 9pnet: Installing 9P2000 support
[ 0.404334@1]- Key type dns_resolver registered
[ 0.405339@1]- registered taskstats version 1
[ 0.405422@1]- Loading compiled-in X.509 certificates
[ 0.406194@1]- hctosys: unable to open rtc device (rtc0)
[ 0.407053@1]- Warning: unable to open an initial console.
[ 0.407541@1]- VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[ 0.408381@1]- Please append a correct "root=" boot option; here are the available partitions:
[ 0.409439@1]d Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 0.410494@1]d CPU: 1 PID: 1 Comm: swapper/0 Tainted: G W 4.9.180 #14
[ 0.411433@1]d Hardware name: Amlogic (DT)
[ 0.411943@1]d Call trace:
[ 0.412290@1]d [<000000009787eaee>] dump_backtrace+0x0/0x210
[ 0.412986@1]d [<000000009aa1f576>] show_stack+0x14/0x20
[ 0.413647@1]d [<00000000ce5d5287>] dump_stack+0x98/0xc4
[ 0.414308@1]d [<0000000095854063>] panic+0x118/0x258
[ 0.414937@1]d [<00000000786a7208>] mount_block_root+0x218/0x2b8
[ 0.415680@1]d [<000000004a6a618c>] mount_root+0x6c/0x78
[ 0.416341@1]d [<0000000015dc189e>] prepare_namespace+0x12c/0x170
[ 0.417101@1]d [<0000000036232b8a>] kernel_init_freeable+0x1fc/0x21c
[ 0.417894@1]d [<00000000e3cb95ea>] kernel_init+0x10/0xfc
[ 0.418562@1]d [<0000000082dd5ff6>] ret_from_fork+0x10/0x40
[ 0.419256@1]d SMP: stopping secondary CPUs
[ 0.419777@1]d Kernel Offset: disabled
[ 0.420241@1]d Memory Limit: none
[ 0.420657@1]d ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Transpeed TV-Box

Serial

291600 baud

SoC

S905X4 aka sc2 (sc2_s905x4_ah212), see also LineageOS <amlogic_notes/README.md>.

https://forum.libreelec.tv/user-post-list/30396-hkall/

https://github.com/hkallweit/linux-amlogic-sc2/blob/sc2/arch/arm64/boot/dts/amlogic/meson-sc2-s905x4-ah212.dts

Upstream Android

https://android.googlesource.com/kernel/arm64/+/refs/tags/android-tv-11.0.0_r0.1

https://android.googlesource.com/kernel/arm64/+/f5269100977385d1fd4a5ef68e49631892cf4fe4/arch/arm/boot/dts/amlogic/sc2_s905x4_ah212.dts

... can we boot our own kernel?

https://github.com/orangecms/aosp-kernel-arm64/commit/f5fc53f622dcfbb56eb2c82cfcf2859485ed24ca

https://github.com/orangecms/aosp-kernel-arm64/commits/linux-android-tv-11.0.0_r0.1-sc2

Reenable U-Boot from Linux

reboot preboot

fastboot

U-Boot

fastboot usb 1

should get a USB device 18d1:0d02 Google Inc. Celkon A88

Host OS

  1. Unlock for flashing:
fastboot flashing unlock
  1. Wrap kernel+dtb in fastboot image:
#!/bin/sh

CONS="console=ttyAML0,921600 no_console_suspend earlycon=meson,0xfe07a000,921600"

mkbootimg \
  --header_version 2 \
  --dtb_offset 0x01000000 \
  --dtb arch/arm64/boot/dts/amlogic/meson-sc2-s905x4-ah212.dtb \
  --cmdline "${CONS} debug loglevel=8 androidboot.dtb_idx=1" \
  --ramdisk NONE --pagesize 2048 --base 0x3078000 \
  --kernel arch/arm64/boot/Image -o boot.img

ls -l boot.img
  1. Run it:
fastboot boot boot.img

Timeouts

If this happens, just reset the device tons of times, pressing the boot button.

detect upgrade key
No ----gpio-vbus-power
PHY2=00000000fe03a020,PHY3=00000000fe03a080
noSof
sof timeout, reset usb phy tuning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment