UBUNTU 20.4 Thanks
open /tmp/mounts/dumps/downloads/vim3-ubuntu-20.04-server-linux-4.9-fenix-1.0.11
│ │
│ wait… │
│ │
│ ┌────────────────────────────────────────────────────────────────────────┐ │
│ │ 10 │ │
│ └────────────────────────────────────────────────────────────────────────┘ │
└──────────────────────────────────────────────────────────────────────────────┘
[burn] ++++++++++++++++±------------------------------------------
┌─────────────────────────Image write: ───────────────────────────┐
│ vim3-ubuntu-20.04-server-linux-4.9-fenix-1.0.11-220429.img.xz │
│ size: 2.6 G │
│ type:xz │
│ label: Ubuntu │
│ match: BOARD=VIM3 │
│ builder: fenix │
│ link: https://dl.khadas.com/Firmware/ │
│ desc: Ubuntu 1.0.11 server focal - fenix generated images │
│ https://github.com/khadas/fenix │
│ duration: 60 │
│ date: Fri 29 Apr 2022 01:59:56 PM UTC │
├─────────────────────────────────────────────────────────────────┤
│ <INSTALL> < CHECK > <CANCEL > │
└─────────────────────────────────────────────────────────────────┘
┌───────────────────Image was written──────────────────────┐
│ IMAGE : vim3-ubuntu-20.04-server-linux-4.9-fenix-1.0 │
│ STATUS : COMPLETED │
│ DURATION: 79 sec │
│ --------------------------------------------------- │
│ Press REBOOT to new system! or BACK to continue │
│ --------------------------------------------------- │
├──────────────────────────────────────────────────────────┤
│ <REBOOT> < BACK > │
└──────────────────────────────────────────────────────────┘
┌─────────────────Shutdown system────────────────────┐
│ To boot into your new system! │
│ press Reboot or Poweroff │
│ - -------------------------------------------- - │
│ please eject SD card before for reboot from eMMC │
├────────────────────────────────────────────────────┤
│ < Reboot > <Poweroff> < Back > │
└────────────────────────────────────────────────────┘
| _ \ | | ___ ___ | |
| |) / _ \ ’ \ / _ \ / _ | |
| _ < / |) | () | () | |
|_| __|_./ _/ _/ __|
Terminated
root@Krescue:/# [ 1093.297746] reboot: Restarting system
bl31 reboot reason: 0xd
bl31 reboot reason: 0x0
system cmd 1.
G12B:BL:6e7c85:2a3b91;FEAT:E0F83180:402000;POC:F;RCY:0;EMMC:0;READ:0;0.0x01
bl2_stage_init 0x81
hw id: 0x0000 - pwm id 0x01
bl2_stage_init 0xc1
bl2_stage_init 0x02
L0:00000000
L1:20000703
L2:00008067
L3:14000000
B2:00402000
B1:e0f83180
TE: 101283
BL2 Built : 15:22:05, Aug 28 2019. g12b g1bf2b53 - luan.yuan@droid15-sz
Board ID = 8
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: 0001d381
eMMC boot @ 0
sw8 s
DDR driver_vesion: LPDDR4_PHY_V_0_1_18 build time: Aug 28 2019 15:22:01
board id: 8
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
00000000
emmc switch 2 ok
fastboot data verify
verify result: 265
Cfg max: 4, cur: 1. Board id: 255. Force loop cfg
LPDDR4 probe
ddr clk to 1608MHz
Load ddrfw from eMMC, src: 0x0003c200, des: 0xfffd0000, size: 0x0000c000, part: 0
00000000
emmc switch 0 ok
dmc_version 0001
Check phy result
INFO : End of CA training
INFO : End of initialization
INFO : Training has run successfully!
Check phy result
INFO : End of initialization
INFO : End of read enable training
INFO : End of fine write leveling
INFO : End of Write leveling coarse delay
INFO : Training has run successfully!
Check phy result
INFO : End of initialization
INFO : End of read dq deskew training
INFO : End of MPR read delay center optimization
INFO : End of write delay center optimization
INFO : End of read delay center optimization
INFO : End of max read latency training
INFO : Training has run successfully!
1D training succeed
Load ddrfw from eMMC, src: 0x00048200, des: 0xfffd0000, size: 0x0000c000, part: 0
Check phy result
INFO : End of initialization
INFO : End of 2D read delay Voltage center optimization
INFO : End of 2D read delay Voltage center optimization
INFO : End of 2D write delay Voltage center optimization
INFO : End of 2D write delay Voltage center optimization
INFO : Training has run successfully!
channel==0
RxClkDly_Margin_A0==87 ps 9
TxDqDly_Margin_A0==106 ps 11
RxClkDly_Margin_A1==97 ps 10
TxDqDly_Margin_A1==106 ps 11
TrainedVREFDQ_A0==27
TrainedVREFDQ_A1==27
VrefDac_Margin_A0==27
DeviceVref_Margin_A0==26
VrefDac_Margin_A1==26
DeviceVref_Margin_A1==26
channel==1
RxClkDly_Margin_A0==87 ps 9
TxDqDly_Margin_A0==106 ps 11
RxClkDly_Margin_A1==97 ps 10
TxDqDly_Margin_A1==97 ps 10
TrainedVREFDQ_A0==24
TrainedVREFDQ_A1==25
VrefDac_Margin_A0==26
DeviceVref_Margin_A0==24
VrefDac_Margin_A1==27
DeviceVref_Margin_A1==24
dwc_ddrphy_apb_wr((0<<20)|(2<<16)|(0<<12)|(0xb0):0004
soc_vref_reg_value 0x 00000027 00000026 00000027 00000025 00000026 00000025 00000025 00000025 00000027 00000023 00000026 00000024 00000024 00000026 00000025 00000024 00000027 00000026 00000028 00000026 00000026 00000028 00000027 00000024 00000025 00000027 00000025 00000027 00000026 00000024 00000025 00000026 dram_vref_reg_value 0x 00000013
2D training succeed
aml_ddr_fw_vesion: LPDDR4_PHY_V_0_1_18 build time: Aug 28 2019 13:54:19
auto size-- 65535DDR cs0 size: 2048MB
DDR cs1 size: 2048MB
DMC_DDR_CTRL: 00e00024DDR size: 3928MB
cs0 DataBus test pass
cs1 DataBus test pass
cs0 AddrBus test pass
cs1 AddrBus test pass
100bdlr_step_size ps== 414
result report
boot times 0Enable ddr reg access
00000000
emmc switch 3 ok
Authentication key not yet programmed
get rpmb counter error 0x00000007
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: 0x000d0000, part: 0
0.0;M3 CHK:0;cm4_sp_mode 0
MVN_1=0x00000000
MVN_2=0x00000000
[Image: g12b_v1.1.3390-6ac5299 2019-09-26 14:10:05 luan.yuan@droid15-sz]
OPS=0x10
ring efuse init
chipver efuse init
29 0b 10 00 01 0f 13 00 00 02 37 30 4e 42 4e 50
[0.890210 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
ERROR: Error initializing runtime service opteed_fast
U-Boot 2015.01 (Apr 29 2022 - 21:51:49)
DRAM: 3.8 GiB
Relocation Offset is: d6e42000
spi_post_bind(spifc): req_seq = 0
register usb cfg[0][1] = 00000000d7f39210
aml_i2c_init_port init regs for 0
MCU version: 0x00 0x02
MCU version is to low! Doesn’t support froce boot from SD card.
MMC: aml_priv->desc_buf = 0x00000000d3e32a70
aml_priv->desc_buf = 0x00000000d3e34db0
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=0x3ff2800
emmc/sd response timeout, cmd55, status=0x3ff2800
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x1, tx-dly 0, clock 40000000
aml_sd_retry_refix[983]:delay = 0x0,gadjust =0x2000
[mmc_startup] mmc refix success
init_part() 282: PART_TYPE_DOS
[mmc_init] mmc init success
start dts,buffer=00000000d3e37620,dt_addr=00000000d3e37620
check_valid_dts: FDT_ERR_BADMAGIC
get_partition_from_dts() 91: ret -9
get_partition_from_dts() 94: ret -9
get_ptbl_from_dtb()-272: get partition table from dts faild
mmc_device_init()-1254: get partition table from dtb failed
get_ptbl_rsv()-494: magic faild MPT,
mmc_device_init()-1281: dtb&rsv are not exist, no LPT source
get partition info failed !!
Using default environment
In: serial
Out: serial
Err: serial
reboot_mode=cold_boot
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
_verify_dtb_checksum()-3477: calc a7978dce, store 5011944
update_dtb_info()-3585: cpy 1 is not valid
_verify_dtb_checksum()-3477: calc 96e51623, store 60f81f
update_dtb_info()-3585: cpy 0 is not valid
dtb_read()-3694: total valid 0
emmc - EMMC sub system
Usage:
emmc dtb_read addr size
emmc dtb_write addr size
emmc erase dtb
emmc erase key
emmc fastboot_read addr size
emmc fastboot_write addr size
aml_i2c_init_port init regs for 0
fusb302_init: Device ID: 0x91
CC connected in 1 as UFP
fusb302 detect chip.port_num = 0
[KM]Error:f[keymanage_dts_parse]L307:not a fdt at 0x0000000001000000
vpu: error: vpu: check dts: FDT_ERR_BADMAGIC, load default parameters
vpu: clk_level = 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_RESET PIN: 0
lcd: error: check dts: FDT_ERR_BADMAGIC, load default lcd parameters
lcd: detect mode: tablet, key_valid: 0
lcd: load config from bsp
lcd: use panel_type=lcd_0
lcd: bl: name: lcd_0, method: 1
lcd: bl: aml_bl_power_ctrl: 0
Net: [KM]Error:f[keymanage_dts_get_key_device]L100:/unify not parsed yet!
[KM]Error:f[_get_km_ops_by_name]L248:key eth_exphy_para not know device 4
[KM]Error:f[key_unify_read]L312:key[eth_exphy_para] no cfg in dts
dwmac.ff3f0000 Waiting for PHY auto negotiation to complete… done
The Best Window is index 40
[KM]Error:f[keymanage_dts_get_key_device]L100:/unify not parsed yet!
[KM]Error:f[_get_km_ops_by_name]L248:key eth_exphy_para not know device 4
[KM]Error:f[key_unify_write]L279:key[eth_exphy_para] no cfg in dts
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr " command.
Aborting!
dwmac.ff3f0000[KM]Error:f[keymanage_dts_parse]L307:not a fdt at 0x0000000001000000
upgrade_step=0
reboot_mode:::: cold_boot
[KM]Error:f[keymanage_dts_parse]L307:not a fdt at 0x0000000001000000
edid preferred_mode is [0]
hdr mode is 0
dv mode is ver:0 len: 0
hdr10+ mode is 0
HDMI cable is NOT connected
hpd_state=0
[OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters
[OSD]set initrd_high: 0x3d800000
[OSD]fb_addr for logo: 0x3d800000
[OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters
[OSD]fb_addr for logo: 0x3d800000
[OSD]VPP_OFIFO_SIZE:0xfff01fff
[CANVAS]canvas init
[CANVAS]addr=0x3d800000 width=5760, height=2160
card in
co-phase 0x2, tx-dly 0, clock 400000
co-phase 0x2, tx-dly 0, clock 400000
co-phase 0x2, tx-dly 0, clock 400000
co-phase 0x2, tx-dly 0, clock 400000
co-phase 0x2, tx-dly 0, clock 40000000
aml_sd_retry_refix[983]:delay = 0x0,gadjust =0xc2000
[mmc_startup] mmc refix success
init_part() 282: PART_TYPE_DOS
[mmc_init] mmc init success
Failed to mount ext2 filesystem…
** Unrecognized filesystem type **
1080138 bytes read in 44 ms (23.4 MiB/s)
[OSD]osd_hw.free_dst_data: 0,767,0,1023
[OSD]osd1_update_disp_freescale_enable
cvbs: outputmode[panel] is invalid
hdmitx: outputmode[panel] is invalid
vpp: vpp_matrix_update: 0
vpp: g12a/b post2(bit12) matrix: YUV limit → RGB …
lcd: enable: lcd_0, mipi, 768x1024@60.0Hz
lcd: tablet driver init(ver 20180718): mipi
lcd: lcd_pll_wait_lock: pll_lock=1, wait_loop=1
vpp: vpp_init_lcd_gamma_table
lcd: pixel_clk = 64.843MHz, bit_rate = 518.744MHz, lanebyteclk = 64.843MHz
lcd: Waiting STOP STATE LANE
lcd: dsi init on
lcd: bl: set level: 100, last level: 0
lcd: bl: aml_bl_power_ctrl: 1
lcd: clear mute
vpp: Rx hdr_info.hdr_sup_eotf_smpte_st_2084 = 0
[KM]Error:f[keymanage_dts_parse]L307:not a fdt at 0x0000000001000000
gpio: pin GPIOAO_7 (gpio 7) value is 1
saradc: 0x289, hw_ver: 0x32 (VIM3.V12)
Product checking: pass! Hardware version: VIM3.V12
normal power on
boot wol: disable
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
port mode is usb3.0
No FDT memory address configured. Please configure
the FDT address via "fdt addr " command.
Aborting!
No FDT memory address configured. Please configure
the FDT address via "fdt addr " command.
Aborting!
Hit Enter or space or Ctrl+C key to stop autoboot – : 0
pll tsensor avg: 0x20a0, u_efuse: 0x800b
temp1: 43
ddr tsensor avg: 0x20cc, u_efuse: 0xb
temp2: 45
device cool done
cfgload: start …
cfgload: reading /boot.ini from mmc 0:1 …
reading /boot.ini
9502 bytes read in 4 ms (2.3 MiB/s)
cfgload: applying boot.ini…
[#] Script a:d3e545c0 l:9472 c:0 s:0 - run
saradc: 0x289, hw_ver: 0x32 (VIM3.V12)
** KRESCUE START hwver: VIM3.V12 hostname: KVIM3 maxcpus: 6 fdt: source: : target: **
[i] scan rescue device usb 0
** Bad device usb 0 **
[i] scan rescue device usb 1
** Bad device usb 1 **
[i] scan rescue device usb 2
** Bad device usb 2 **
[i] scan rescue device usb 1:5
** Bad device usb 1 **
[i] scan rescue device mmc 0
reading /rescue/80_user_env.txt
1898 bytes read in 3 ms (617.2 KiB/s)
[i] rescue loading via fatload mmc 0 …
[w] detect by maxcpus -6-
KRESCUE LOAD by fatload mmc 0 FROM // + post: // VIM3.V12 // VIM3.V12
load env
fatload mmc 0 0x32000000 /rescue/80_user_env.txt
reading /rescue/80_user_env.txt
1898 bytes read in 3 ms (617.2 KiB/s)
env import -t 0x32000000 76a
load logo
fatload mmc 0 0x30000000 /splash.bmp
reading /splash.bmp
7660 bytes read in 3 ms (2.4 MiB/s)
There is no valid bmp file at the given address
BMP KO
fatload mmc 0 0x30000000 /rescue/splash.bmp.2.gz
reading /rescue/splash.bmp.2.gz
** Unable to read file /rescue/splash.bmp.2.gz **
unzip 0x30000000 0x7f800000
Uncompressed size: 518454 = 0x7E936
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
KRESCUE_TIME: 1641796810
KRESCUE_DATE: Mon Jan 10 06:40:10 2022
KRESCUE_VER : 220110_266
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
addrs: UIMAGE_ADDR :: UINITRD_ADDR :: DTB_ADDR
addrs: 0x6000000 :: 0x8000000 :: 0x1000000
setenv kernel_addr_r ; setenv ramdisk_addr_r ; setenv fdt_addr_r ;
:::::::::::::::
load dtb
fatload mmc 0 0x1000000 /rescue/fdt.kresq/amlogic/meson-g12b-a311d-khadas-vim3.dtb
reading /rescue/fdt.kresq/amlogic/meson-g12b-a311d-khadas-vim3.dtb
76986 bytes read in 12 ms (6.1 MiB/s)
libfdt fdt_path_offset() returned FDT_ERR_BADPATH
port mode is usb3.0
** port mode is 0 **
load packed initrd
fatload mmc 0 0x8000000 /rescue/uInitrd
reading /rescue/uInitrd
9155280 bytes read in 484 ms (18 MiB/s)
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
[i] bootargs: rw panic=10 net.ifnames=0 loglevel=4 fbcon=font:TER16x32 video=HDMI-A-1:1920x1080@60e config_firewall=private kresq_type=sd config_test=sd booted= hwver=VIM3.V12 no_console_suspend consoleblank=0 dtb=/rescue/fdt.kresq/amlogic/meson-g12b-a311d-khadas-vim3.dtb
[i] bootcmd: run storeboot
load packed kernel
bootm 0x6000000 0x8000000 0x1000000
fatload mmc 0 0x6000000 /rescue/uImage
reading /rescue/uImage
6547474 bytes read in 348 ms (17.9 MiB/s)
CONFIG_AVB2:
avb2: 0
ee_gate_off …
avb2: 0
Booting kernel from Legacy Image at 06000000 …
Image Name: kernel
Image Type: AArch64 Linux Kernel Image (gzip compressed)
Data Size: 6547410 Bytes = 6.2 MiB
Load Address: 0d080000
Entry Point: 0d080000
Verifying Checksum … OK
Loading init Ramdisk from Legacy Image at 08000000 …
Image Name: uInitrd
Image Type: AArch64 Linux RAMDisk Image (uncompressed)
Data Size: 9155216 Bytes = 8.7 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum … OK
load dtb from 0x1000000 …
Flattened Device Tree blob at 01000000
Booting using the fdt blob at 0x1000000
Uncompressing Kernel Image … OK
kernel loaded at 0x0d080000, end = 0x0e09ba00
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
[rsvmem] fdt get prop fail.
Loading Ramdisk to 3cf44000, end 3d7ff290 … OK
Loading Device Tree to 000000001ffea000, end 000000001ffffcb9 … OK
Starting kernel …
uboot time: 8150891 us
[i] INITRD INIT :: UPTIME: 1.72 8.50 Linux (none) 5.14.0-rc5 #1 SMP PREEMPT Wed Dec 15 10:08:36 CST 2021 aarch64 GNU/Linux
[i] init display
failed to find a module named meson_ee_pwrc
failed to find a module named meson_dw_hdmi
#MANUAL
link/ether 00:15:18:01:81:31 brd ff:ff:ff:ff:ff:ff
BusyBox v1.30.1 () built-in shell (ash)
Krescue
__ _____ Khadas ## hyphop ##
/ //_/ _ \___ ___ ______ _____
/ ,< / , / -|-</ __/ // / -)
//|//||_//_/_,/__/
extreme tiny and fast rescue system
BUILD: 220110_266 from: Mon Jan 10 06:40:10 2022
[i] POST_CONFIG: kresq_type=sd + booted= + || start: /dev/mmcblk0
[i] Device: VIM3 Amlogic:G12B ver:0x0002 6 cores 4G ram 29.1 G eMMC
[w] root password undefined
[i] just type > krescue < to start gui
root@Krescue:/#