Jump to content

how to enable multi boot on original firmware of B860h


Ryanfab

Recommended Posts

my device is using amlogic s905


U-Boot 2015.01-ge1b7b3f-dirty (Jul 22 2017 - 16:51:56)
Linux version 3.14.29-g9b417e7-dirty (wulinkui@A23131934)
 

here is the detail, device has been rooted

 

https://pastebin.com/H7NskL64

 

I have make bootable my sdcard with Armbian_5.89_Aml-s905_Debian_buster_default_5.1.0_desktop_20190617, but maybe original firmware doesn't support multi boot, which one that compatible with my amlogic and how to do that.

I have read 

there is 2 method to make multi boot, toothpick and and  update mode of the standard firmware

 

I have try to dd if=u-boot.bin of=/dev/block/bootloader

it won't run and my box become blank and I check from UART there is no boot log just 

 

set vddee to 1000 mv
~~~~.......................................................................................set vcck to 1120 mv

 

I jumper C125 while put power cable + put USB + power button then refirmware with original firmware to run android.

 

what I want to do is change android to armbian through make first to multiboot, 

CMIIW 

 

thank you and appreciate to response my question.

 

photo_2021-11-30_05-33-53.jpg

photo_2021-11-30_05-33-48.jpg

Link to comment
Share on other sites

  • Ryanfab changed the title to how to enable multi boot on original firmware of B860h

Why are you not using the build linked to in the posted instructions?  Please follow the instructions as listed in the FAQ, starting with a freshly reinstalled working android firmware.  Does your board have a reset button to use the 'toothpick' method?

Link to comment
Share on other sites

appriciate your response @SteeMan. now, I have fresh reinstall firmware and my android box is running and rooted,

but, my box doesn't boot from sdcard,  because I think it doesn't support multi boot,

my question is how to make my box start from sdcard ? 

do I need to change /dev/block/bootloader on my android ?

soo I can follow installation instruction.

FYI, my board doesn't have reset button.  

Link to comment
Share on other sites

There won't be any compatible bootloader for your box so there isn't any boot loader to install.

You need to get multiboot working.  If you don't have a reset button (are you sure?  what is the thing in the upper right corner of your first picture?), then you are going to need to run the update through android.  Have you tried the update app method of installing multiboot?

Link to comment
Share on other sites

@SteeMan, thanks for your response.

 

I found tool updater from windows command line that I can set uboot param like this

update bulkcmd “setenv -f EnableSelinux permissive”

update bulkcmd “saveenv”

 

I press switch button on upper right corner and put power switch and usb togather

I got this response

 

Spoiler
03:19:50.700 -> ~~~~....................................................................set vcck to 1070 mv
03:22:59.388 -> set vddee to 1070 mv
03:22:59.388 -> 
03:22:59.388 -> 
03:22:59.388 -> U-Boot 2015.01-ge1b7b3f-dirty (Aug 24 2017 - 23:11:22)
03:22:59.388 -> 
03:22:59.388 -> DRAM:  1 GiB
03:22:59.388 -> Relocation Offset is: 3eeaf000
03:22:59.388 -> 
03:22:59.388 -> Starting uboot
03:22:59.388 -> -----board_version[8]
03:22:59.388 -> gpio: pin GPIOAO_6 (gpio 106) value is 1
03:22:59.388 -> gpio: pin GPIOCLK_1 (gpio 99) value is 1
03:22:59.388 -> gpio: pin GPIOAO_4 (gpio 104) value is 1
03:22:59.388 -> gpio: pin GPIOX_15 (gpio 15) value is 1
03:22:59.388 -> register usb cfg[0][1] = 000000003ff59d60
03:22:59.388 -> [CANVAS]canvas init
03:22:59.388 -> vpu: error: vpu: check dts: FDT_ERR_BADMAGIC, load default parameters
03:22:59.388 -> vpu: clk_level = 7
03:22:59.388 -> vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300)
03:22:59.388 -> vpp: vpp_init
03:22:59.388 -> boot_device_flag : 1
03:22:59.388 -> Nand PHY Ver:1.01.001.0006 (c) 2013 Amlogic Inc.
03:22:59.388 -> init bus_cycle=6, bus_timing=7, system=5.0ns
03:22:59.388 -> reset failed
03:22:59.388 -> get_chip_type and ret:fffffffe
03:22:59.388 -> get_chip_type and ret:fffffffe
03:22:59.388 -> chip detect failed and ret:fffffffe
03:22:59.388 -> nandphy_init failed and ret=0xfffffff1
03:22:59.388 -> MMC:   aml_priv->desc_buf = 0x000000003beafdb0
03:22:59.388 -> aml_priv->desc_buf = 0x000000003beb20d0
03:22:59.421 -> SDIO Port B: 0, SDIO Port C: 1
03:22:59.421 -> emmc/sd response timeout, cmd8, status=0x1ff2800
03:22:59.421 -> emmc/sd response timeout, cmd55, status=0x1ff2800
03:22:59.421 -> [mmc_startup] mmc refix success
03:22:59.421 -> [mmc_init] mmc init success
03:22:59.421 -> mmc read lba=0x14000, blocks=0x400
03:22:59.421 ->       Amlogic multi-dtb tool
03:22:59.421 ->       Multi dtb detected
03:22:59.421 -> checkhw: g_board_type = 0x8
03:22:59.421 ->       Multi dtb tool version: v2 .
03:22:59.421 ->       Support 3 dtbs.
03:22:59.421 ->         aml_dt soc: gxl platform: p212 variant: 1g
03:22:59.421 ->         dtb 0 soc: gxl   plat: p212   vari: 1g
03:22:59.421 ->         dtb 1 soc: gxl   plat: p212   vari: 2g
03:22:59.421 ->         dtb 2 soc: gxl   plat: p215   vari: 1g
03:22:59.421 ->       Find match dtb: 0
03:22:59.421 -> start dts,buffer=000000003beb4eb0,dt_addr=000000003beb56b0
03:22:59.421 -> parts: 11
03:22:59.421 -> 00:      logo	0000000001000000 1
03:22:59.421 -> 01:  recovery	0000000001800000 1
03:22:59.421 -> 02:       rsv	0000000000800000 1
03:22:59.421 -> 03:       tee	0000000000800000 1
03:22:59.421 -> 04:     crypt	0000000002000000 1
03:22:59.421 -> 05:      misc	0000000000400000 1
03:22:59.421 -> 06:      conf	0000000000400000 1
03:22:59.421 -> 07:      boot	0000000001000000 1
03:22:59.421 -> 08:     cache	0000000037a00000 2
03:22:59.421 -> 09:    system	000000006cc00000 1
03:22:59.421 -> 10:      data	ffffffffffffffff 4
03:22:59.421 -> get_dtb_struct: Get emmc dtb OK!
03:22:59.421 -> Partition table get from SPL is : 
03:22:59.421 ->         name                        offset              size              flag
03:22:59.421 -> ===================================================================================
03:22:59.421 ->    0: bootloader                         0            400000                  0
03:22:59.421 ->    1: reserved                     2400000           4000000                  0
03:22:59.421 ->    2: env                          6500000            800000                  0
03:22:59.421 ->    3: logo                         6e00000           1000000                  1
03:22:59.421 ->    4: recovery                     7f00000           1800000                  1
03:22:59.421 ->    5: rsv                          9800000            800000                  1
03:22:59.421 ->    6: tee                          a100000            800000                  1
03:22:59.421 ->    7: crypt                        aa00000           2000000                  1
03:22:59.421 ->    8: misc                         cb00000            400000                  1
03:22:59.421 ->    9: conf                         d000000            400000                  1
03:22:59.421 ->   10: boot                         d500000           1000000                  1
03:22:59.421 ->   11: cache                        e600000          37a00000                  2
03:22:59.421 ->   12: system                      46100000          6cc00000                  1
03:22:59.421 ->   13: data                        b2e00000         11f200000                  4
03:22:59.421 -> mmc read lba=0x12000, blocks=0x2
03:22:59.421 -> mmc read lba=0x12002, blocks=0x2
03:22:59.421 -> mmc_read_partition_tbl: mmc read partition OK!
03:22:59.421 -> eMMC/TSD partition table have been checked OK!
03:22:59.421 -> mmc env offset: 0x6500000 
03:22:59.421 -> In:    serial
03:22:59.421 -> Out:   serial
03:22:59.421 -> Err:   serial
03:22:59.421 -> ------reboot_mode(0xc810023c)=0x0
03:22:59.421 -> reboot_mode=cold_boot
03:22:59.421 -> hpd_state=0
03:22:59.421 -> cvbs performance type = 6, table = 0
03:22:59.421 -> [store]To run cmd[emmc dtb_read 0x1000000 0x40000]
03:22:59.421 -> read emmc dtb
03:22:59.421 ->       Amlogic multi-dtb tool
03:22:59.421 ->       Multi dtb detected
03:22:59.421 ->       Multi dtb tool version: v2 .
03:22:59.421 ->       Support 3 dtbs.
03:22:59.421 ->         aml_dt soc: gxl platform: p212 variant: 1g
03:22:59.421 ->         dtb 0 soc: gxl   plat: p212   vari: 1g
03:22:59.421 ->         dtb 1 soc: gxl   plat: p212   vari: 2g
03:22:59.421 ->         dtb 2 soc: gxl   plat: p215   vari: 1g
03:22:59.421 ->       Find match dtb: 0
03:22:59.421 -> Net:   dwmac.c9410000
03:22:59.421 -> zteDbg: original preboot=run init_display;run storeargs;run irremote_update;run upgrade_key;run switch_bootmode;
03:22:59.421 -> zteDbg: current preboot=run init_display;run storeargs;run irremote_update;run upgrade_key;run switch_bootmode;
03:22:59.421 -> [OSD]load fb addr from dts
03:22:59.421 -> [OSD]fb_addr for logo: 0x3f400000
03:22:59.421 -> [OSD]load fb addr from dts
03:22:59.421 -> [OSD]fb_addr for logo: 0x3f400000
03:22:59.421 -> [CANVAS]addr=0x3f400000 width=5760, height=2160
03:22:59.421 -> amlkey_init() enter!
03:22:59.421 -> [EFUSE_MSG]keynum is 4
03:22:59.421 -> [KM]Error:f[key_manage_query_size]L507:key[usid] not programed yet
03:22:59.421 -> [KM]Error:f[key_manage_query_size]L507:key[mac] not programed yet
03:22:59.421 -> [KM]Error:f[key_manage_query_size]L507:key[deviceid] not programed yet
03:22:59.421 -> ## Error: "irremote_update" not defined
03:22:59.421 -> gpio: pin GPIOAO_2 (gpio 102) value is 0
03:22:59.421 -> detect upgrade key
03:22:59.421 -> gpio: pin GPIOAO_2 (gpio 102) value is 0
03:22:59.421 -> InUsbBurn
03:22:59.421 -> [MSG]sof
03:22:59.421 -> Set Addr 4
03:22:59.421 -> Get DT cfg
03:22:59.421 -> Get DT cfg
03:22:59.421 -> Get DT cfg
03:22:59.421 -> set CFG

 

 

 

what u-boot command to make it multiboot?

 

 

then I put sdcard with armbian image with modified extlinux, boot.ini, rename u-boot.ext

I still cann't boot to sdcard. need your guidance.

Edited by TRS-80
put long output inside spoiler
Link to comment
Share on other sites

I'm still not understanding what instructions you are using nor what build you are using.

I want to correct a couple of items in your previous post.  You don't seem to be looking at the correct aml_autoscript as the 20.10_xxx_5.9.0 build doesn't have a line like setenv bootfromnand 0.

You mention modifying boot.ini, but that isn't a step that needs to be done. 

So again, I ask, what build are you using and what instructions are you trying to follow?

Finally, if you have a working console that you can access the u-boot command line from, then you should be able to just enter the commands one by one as they appear in the aml_autoscript file.

Link to comment
Share on other sites

here my printenv

 

Spoiler
BULKcmd[printenv]
1080p_h=1043
1080p_w=1853
1080p_x=33
1080p_y=18
576i_h=519
576i_w=649
576i_x=35
576i_y=28
720p_h=691
720p_w=1229
720p_x=25
720p_y=14
CTSEnable=0
EnableSelinux=permissive
ProductID=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
aml_dt=gxl_p212_1g
baudrate=115200
bootargs=rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend earlyprintk=aml-uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 androidboot.selinux=permissive logo=osd1,loaded,0x3d800000,576cvbs maxcpus=4 vout=576cvbs,enable hdmimode=720p50hz cvbsmode=576cvbs hdmitx= rxsen1 cvbsdrv=0 androidboot.firstboot=0 jtag=apee androidboot.hardware=amlogic
bootcmd=jpeg ${outputmode};bootsys
bootdelay=1
bootfromnand=0
cmdline_keys=if keyman init 0x1234; then if keyman read usid ${loadaddr} str; then setenv bootargs ${bootargs} androidboot.serialno=${usid};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;
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=osd1
display_width=720
dtb_mem_addr=0x1000000
ethact=dwmac.c9410000
ethaddr=00:15:18:01:81:31
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
firstboot=0
force_auto_update=false
gatewayip=10.18.9.1
hdcp_process=0
hdmimode=720p50hz
hostname=arm_gxbb
init_display=osd open;osd clear;bmp scale
initargs=rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend earlyprintk=aml-uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 
ipaddr=10.18.9.97
is.bestmode=false
jtag=apee
loadaddr=1080000
market=3601,1
maxcpus=4
netmask=255.255.255.0
outputmode=576cvbs
preboot=run init_display;run storeargs;run irremote_update;run upgrade_key;run switch_bootmode;
reboot_mode=cold_boot
recovery_from_flash=setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset} androidboot.selinux=permissive;if imgread kernel ${recovery_part} ${loadaddr} ${recovery_offset}; then wipeisb; bootm ${loadaddr}; fi
recovery_from_sdcard=setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset};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; bootm ${loadaddr};fi;
recovery_from_udisk=setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset};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; bootm ${loadaddr};fi;
recovery_offset=0
recovery_part=recovery
sdc_burning=sdc_burn ${sdcburncfg}
sdcburncfg=aml_sdc_burn.ini
serverip=10.18.9.113
start_autoscript=if usb start ; then run start_usb_autos\

start_emmc_autoscript=if fatload mmc 1 1020000 emmc_autoscript; then autoscr 1020000; fi;
start_mmc_autoscript=if fatload mmc 0 1020000 s905_autos\

start_usb_autoscript=if fatload usb 0 1020000 s905_autos\

stderr=serial
stdin=serial
stdout=serial
storeargs=setenv bootargs ${initargs} androidboot.selinux=${EnableSelinux} logo=${display_layer},loaded,${fb_addr},${outputmode} maxcpus=${maxcpus} vout=${outputmode},enable hdmimode=${hdmimode} cvbsmode=${cvbsmode} hdmitx=${cecconfig} rxsen1 cvbsdrv=${cvbs_drv} androidboot.firstboot=${firstboot} jtag=${jtag}; setenv bootargs ${bootargs} androidboot.hardware=amlogic;run cmdline_keys;
storeboot=if imgread kernel boot ${loadaddr}; then bootm ${loadaddr}; fi;run update;
switch_bootmode=get_rebootmode;if test ${reboot_mode} = factory_reset; then run recovery_from_flash;else if test ${reboot_mode} = update; then run update;else if test ${reboot_mode} = cold_boot; then fi;fi;fi;
try_auto_burn=update 700 750;
uimode=1080p
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_2; then echo detect upgrade key;if gpio input GPIOAO_2; then run update; fi;fi;
upgrade_step=0
usb_burning=update 1000
wipe_cache=successful
wipe_data=successful

Environment size: 5229/65532 bytes
[MSG]ret = 0
[info]success

 

 

 

 

Edited by TRS-80
put long output inside spoiler
Link to comment
Share on other sites

just now I burn image on sdcard and change some file

 

boot.ini changed into this

ODROIDN2-UBOOT-CONFIG

if test "${devtype}" = ""; then setenv devtype "/dtb/amlogic/meson-gxl-s905x-p212.dtb"; fi

if fatload ${devtype} ${devnum} 0x1000000 u-boot.ext; then go 0x1000000; fi;

 

extlinux/extlinux.conf changed into this

 

LABEL Armbian
LINUX /zImage
INITRD /uInitrd

FDT /dtb/amlogic/meson-gxl-s905x-p212.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

 

rename u-boot-s905x2-s912 to u-boot.ext

 

then I push the button to reset then i found it search on reading aml_autoscript

 

finally got this ## Error: "bootfromsd" not defined

 

Spoiler
set vddee to 1070 mv


U-Boot 2015.01-ge1b7b3f-dirty (Aug 24 2017 - 23:11:22)

DRAM:  1 GiB
Relocation Offset is: 3eeaf000

Starting uboot
-----board_version[8]
gpio: pin GPIOAO_6 (gpio 106) value is 1
gpio: pin GPIOCLK_1 (gpio 99) value is 1
gpio: pin GPIOAO_4 (gpio 104) value is 1
gpio: pin GPIOX_15 (gpio 15) value is 1
register usb cfg[0][1] = 000000003ff59d60
[CANVAS]canvas init
vpu: error: vpu: check dts: FDT_ERR_BADMAGIC, load default parameters
vpu: clk_level = 7
vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300)
vpp: vpp_init
boot_device_flag : 1
Nand PHY Ver:1.01.001.0006 (c) 2013 Amlogic Inc.
init bus_cycle=6, bus_timing=7, system=5.0ns
reset failed
get_chip_type and ret:fffffffe
get_chip_type and ret:fffffffe
chip detect failed and ret:fffffffe
nandphy_init failed and ret=0xfffffff1
MMC:   aml_priv->desc_buf = 0x000000003beafdb0
aml_priv->desc_buf = 0x000000003beb20d0
SDIO Port B: 0, SDIO Port C: 1
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
[mmc_startup] mmc refix success
[mmc_init] mmc init success
mmc read lba=0x14000, blocks=0x400
      Amlogic multi-dtb tool
      Multi dtb detected
checkhw: g_board_type = 0x8
      Multi dtb tool version: v2 .
      Support 3 dtbs.
        aml_dt soc: gxl platform: p212 variant: 1g
        dtb 0 soc: gxl   plat: p212   vari: 1g
        dtb 1 soc: gxl   plat: p212   vari: 2g
        dtb 2 soc: gxl   plat: p215   vari: 1g
      Find match dtb: 0
start dts,buffer=000000003beb4eb0,dt_addr=000000003beb56b0
parts: 11
00:      logo	0000000001000000 1
01:  recovery	0000000001800000 1
02:       rsv	0000000000800000 1
03:       tee	0000000000800000 1
04:     crypt	0000000002000000 1
05:      misc	0000000000400000 1
06:      conf	0000000000400000 1
07:      boot	0000000001000000 1
08:     cache	0000000037a00000 2
09:    system	000000006cc00000 1
10:      data	ffffffffffffffff 4
get_dtb_struct: Get emmc dtb OK!
Partition table get from SPL is : 
        name                        offset              size              flag
===================================================================================
   0: bootloader                         0            400000                  0
   1: reserved                     2400000           4000000                  0
   2: env                          6500000            800000                  0
   3: logo                         6e00000           1000000                  1
   4: recovery                     7f00000           1800000                  1
   5: rsv                          9800000            800000                  1
   6: tee                          a100000            800000                  1
   7: crypt                        aa00000           2000000                  1
   8: misc                         cb00000            400000                  1
   9: conf                         d000000            400000                  1
  10: boot                         d500000           1000000                  1
  11: cache                        e600000          37a00000                  2
  12: system                      46100000          6cc00000                  1
  13: data                        b2e00000         11f200000                  4
mmc read lba=0x12000, blocks=0x2
mmc read lba=0x12002, blocks=0x2
mmc_read_partition_tbl: mmc read partition OK!
eMMC/TSD partition table have been checked OK!
mmc env offset: 0x6500000 
In:    serial
Out:   serial
Err:   serial
------reboot_mode(0xc810023c)=0x1
reboot_mode=normal
hpd_state=0
cvbs performance type = 6, table = 0
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
read emmc dtb
      Amlogic multi-dtb tool
      Multi dtb detected
      Multi dtb tool version: v2 .
      Support 3 dtbs.
        aml_dt soc: gxl platform: p212 variant: 1g
        dtb 0 soc: gxl   plat: p212   vari: 1g
        dtb 1 soc: gxl   plat: p212   vari: 2g
        dtb 2 soc: gxl   plat: p215   vari: 1g
      Find match dtb: 0
Net:   dwmac.c9410000
zteDbg: original preboot=run init_display;run storeargs;run irremote_update;run upgrade_key;run switch_bootmode;
zteDbg: current preboot=run init_display;run storeargs;run irremote_update;run upgrade_key;run switch_bootmode;
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x3f400000
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x3f400000
[CANVAS]addr=0x3f400000 width=5760, height=2160
amlkey_init() enter!
[EFUSE_MSG]keynum is 4
[KM]Error:f[key_manage_query_size]L507:key[usid] not programed yet
[KM]Error:f[key_manage_query_size]L507:key[mac] not programed yet
[KM]Error:f[key_manage_query_size]L507:key[deviceid] not programed yet
## Error: "irremote_update" not defined
gpio: pin GPIOAO_2 (gpio 102) value is 0
detect upgrade key
gpio: pin GPIOAO_2 (gpio 102) value is 0
InUsbBurn
noSof
card in
[mmc_init] mmc init success
Device: SDIO Port B
Manufacturer ID: 3
OEM: 5344
Name: SU16G 
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 14.8 GiB
mmc clock: 40000000
Bus Width: 4-bit
Device: SDIO Port B
Manufacturer ID: 3
OEM: 5344
Name: SU16G 
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 14.8 GiB
mmc clock: 40000000
Bus Width: 4-bit
reading aml_autoscript
709 bytes read in 4 ms (172.9 KiB/s)
## Executing script at 01080000
## Error: "bootfromsd" not defined
Saving Environment to aml-storage...
mmc env offset: 0x6500000 
Writing to MMC(1)... done
reboot use default mode: normal
~~~~....................................................................set vcck to 1070 mv
set vddee to 1070 mv

 

 

need advice about this

 

 

Edited by TRS-80
put long output inside spoiler
Link to comment
Share on other sites

I try to execute start_mmc_autoscript

 

BULKcmd[run start_mmc_autoscript]
card in
[mmc_init] mmc init success
reading s905_autoscript
1765 bytes read in 5 ms (344.7 KiB/s)
## Executing script at 01020000
** Bad device usb 0 **
** Bad device usb 1 **
** Bad device usb 2 **
** Bad device usb 3 **
reading zImage
20537352 bytes read in 1141 ms (17.2 MiB/s)
reading uInitrd
9426258 bytes read in 522 ms (17.2 MiB/s)
reading uEnv.ini
209 bytes read in 7 ms (28.3 KiB/s)
reading /dtb/meson-gxl-s905x-p212.dtb
25911 bytes read in 9 ms (2.7 MiB/s)
## Loading init Ramdisk from Legacy Image at 13000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    9426194 Bytes = 9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
use dts in boot.img/recovery.img instead of dts partition.
"Synchronous Abort" handler, esr 0x96000210
ELR:     3fec18b4
LR:      3febcd24
x0 : 0000000000000000 x1 : 0000000000000000
x2 : 000000003fed3c20 x3 : 0000000000000001
x4 : 000000003be9c950 x5 : 0000000000000000
x6 : 00000000ffffffc8 x7 : 0000000000000044
x8 : 0000000000000031 x9 : 0000000000000000
x10: 000000000000000f x11: 000000003ff38e40
x12: 0000000000000000 x13: 0000000000000000
x14: 0000000000000000 x15: 0000000000000000
x16: 0000000000000000 x17: 0000000000000000
x18: 000000003be9ee28 x19: 000000003ff6f4c8
x20: 0000000000000000 x21: 0000000000000003
x22: 000000003beba388 x23: 0000000000000000
x24: 0000000000000000 x25: 000000003ff3f000
x26: 0000000000000000 x27: 000000003beba3b0
x28: 0000000000000000 x29: 000000003be9cbe0

Resetting CPU ...

resetting ...
~~~~....................................................................set vcck to 1070 mv
set vddee to 1070 mv


U-Boot 2015.01-ge1b7b3f-dirty (Aug 24 2017 - 23:11:22)

DRAM:  1 GiB
Relocation Offset is: 3eeaf000

not working

Link to comment
Share on other sites

my image is Armbian_5.88_Aml-s905_Ubuntu_bionic_default_5.1.0_desktop_20190530.img

 

I guess the load address need to revise

 

setenv env_addr "0x10400000"

setenv kernel_addr "0x11000000"

setenv initrd_addr "0x13000000"

 

need suggestion

Link to comment
Share on other sites

success to execute and running into armbian but from InUsbBurn mode.

 

with this command

 

update bulkcmd "run start_mmc_autoscript;"

 

any suggestion to make run on bootmode=NORM and install to mmc ?

 

Spoiler
U-Boot 2015.01-ge1b7b3f-dirty (Aug 24 2017 - 23:11:22)

DRAM:  1 GiB
Relocation Offset is: 3eeaf000

Starting uboot
-----board_version[8]
gpio: pin GPIOAO_6 (gpio 106) value is 1
gpio: pin GPIOCLK_1 (gpio 99) value is 1
gpio: pin GPIOAO_4 (gpio 104) value is 1
gpio: pin GPIOX_15 (gpio 15) value is 1
register usb cfg[0][1] = 000000003ff59d60
[CANVAS]canvas init
vpu: error: vpu: check dts: FDT_ERR_BADMAGIC, load default parameters
vpu: clk_level = 7
vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300)
vpp: vpp_init
boot_device_flag : 1
Nand PHY Ver:1.01.001.0006 (c) 2013 Amlogic Inc.
init bus_cycle=6, bus_timing=7, system=5.0ns
reset failed
get_chip_type and ret:fffffffe
get_chip_type and ret:fffffffe
chip detect failed and ret:fffffffe
nandphy_init failed and ret=0xfffffff1
MMC:   aml_priv->desc_buf = 0x000000003beafdb0
aml_priv->desc_buf = 0x000000003beb20d0
SDIO Port B: 0, SDIO Port C: 1
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
[mmc_startup] mmc refix success
[mmc_init] mmc init success
mmc read lba=0x14000, blocks=0x400
      Amlogic multi-dtb tool
      Multi dtb detected
checkhw: g_board_type = 0x8
      Multi dtb tool version: v2 .
      Support 3 dtbs.
        aml_dt soc: gxl platform: p212 variant: 1g
        dtb 0 soc: gxl   plat: p212   vari: 1g
        dtb 1 soc: gxl   plat: p212   vari: 2g
        dtb 2 soc: gxl   plat: p215   vari: 1g
      Find match dtb: 0
start dts,buffer=000000003beb4eb0,dt_addr=000000003beb56b0
parts: 11
00:      logo	0000000001000000 1
01:  recovery	0000000001800000 1
02:       rsv	0000000000800000 1
03:       tee	0000000000800000 1
04:     crypt	0000000002000000 1
05:      misc	0000000000400000 1
06:      conf	0000000000400000 1
07:      boot	0000000001000000 1
08:     cache	0000000037a00000 2
09:    system	000000006cc00000 1
10:      data	ffffffffffffffff 4
get_dtb_struct: Get emmc dtb OK!
Partition table get from SPL is : 
        name                        offset              size              flag
===================================================================================
   0: bootloader                         0            400000                  0
   1: reserved                     2400000           4000000                  0
   2: env                          6500000            800000                  0
   3: logo                         6e00000           1000000                  1
   4: recovery                     7f00000           1800000                  1
   5: rsv                          9800000            800000                  1
   6: tee                          a100000            800000                  1
   7: crypt                        aa00000           2000000                  1
   8: misc                         cb00000            400000                  1
   9: conf                         d000000            400000                  1
  10: boot                         d500000           1000000                  1
  11: cache                        e600000          37a00000                  2
  12: system                      46100000          6cc00000                  1
  13: data                        b2e00000         11f200000                  4
mmc read lba=0x12000, blocks=0x2
mmc read lba=0x12002, blocks=0x2
mmc_read_partition_tbl: mmc read partition OK!
eMMC/TSD partition table have been checked OK!
mmc env offset: 0x6500000 
In:    serial
Out:   serial
Err:   serial
------reboot_mode(0xc810023c)=0x0
reboot_mode=cold_boot
hpd_state=0
cvbs performance type = 6, table = 0
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
read emmc dtb
      Amlogic multi-dtb tool
      Multi dtb detected
      Multi dtb tool version: v2 .
      Support 3 dtbs.
        aml_dt soc: gxl platform: p212 variant: 1g
        dtb 0 soc: gxl   plat: p212   vari: 1g
        dtb 1 soc: gxl   plat: p212   vari: 2g
        dtb 2 soc: gxl   plat: p215   vari: 1g
      Find match dtb: 0
Net:   dwmac.c9410000
zteDbg: original preboot=run init_display;run storeargs;run irremote_update;run upgrade_key;run switch_bootmode;
zteDbg: current preboot=run init_display;run storeargs;run irremote_update;run upgrade_key;run switch_bootmode;
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x3f400000
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x3f400000
[CANVAS]addr=0x3f400000 width=5760, height=2160
amlkey_init() enter!
[EFUSE_MSG]keynum is 4
[KM]Error:f[key_manage_query_size]L507:key[usid] not programed yet
[KM]Error:f[key_manage_query_size]L507:key[mac] not programed yet
[KM]Error:f[key_manage_query_size]L507:key[deviceid] not programed yet
## Error: "irremote_update" not defined
gpio: pin GPIOAO_2 (gpio 102) value is 0
detect upgrade key
gpio: pin GPIOAO_2 (gpio 102) value is 0
InUsbBurn
[MSG]sof
Set Addr 6
Get DT cfg
Get DT cfg
Get DT cfg
set CFG
BULKcmd[run start_mmc_autoscript;]
card in
[mmc_init] mmc init success
reading s905_autoscript
537 bytes read in 7 ms (74.2 KiB/s)
## Executing script at 01020000
start amlogic old u-boot
## Error: "bootfromsd" not defined
reading boot_android
** Unable to read file boot_android **
** Bad device usb 0 **
reading u-boot.ext
650183 bytes read in 40 ms (15.5 MiB/s)
## Starting application at 0x01000000 ...
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.9.0-arm-64 (root@vbox) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #20.10 SMP PREEMPT Wed Oct 14 12:04:42 MSK 2020
[    0.000000] Machine model: Amlogic Meson GXL (S905X) P212 Development Board
[    0.000000] efi: UEFI not found.
[    0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
[    0.000000] Reserved memory: created CMA memory pool at 0x000000002b400000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000001000000-0x000000003fe5afff]
[    0.000000] NUMA: NODE_DATA [mem 0x3fc4d100-0x3fc4efff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000001000000-0x000000003fe5afff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000001000000-0x0000000004ffffff]
[    0.000000]   node   0: [mem 0x0000000007300000-0x000000000fffffff]
[    0.000000]   node   0: [mem 0x0000000010200000-0x000000003fe5afff]
[    0.000000] Zeroed struct page in unavailable ranges: 421 pages
[    0.000000] Initmem setup node 0 [mem 0x0000000001000000-0x000000003fe5afff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv0.2 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] percpu: Embedded 22 pages/cpu s51480 r8192 d30440 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: 244129
[    0.000000] Policy zone: DMA
[    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: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 670196K/992620K available (16188K kernel code, 1308K rwdata, 6464K rodata, 3392K init, 927K bss, 60280K reserved, 262144K cma-reserved)
[    0.000000] random: get_random_u64 called from cache_random_seq_create+0x80/0x150 with crng_init=0
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] 	Trampoline variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] irq_meson_gpio: 110 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.000003] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000294] Console: colour dummy device 80x25
[    0.000704] printk: console [tty0] enabled
[    0.000796] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.000818] pid_max: default: 32768 minimum: 301
[    0.000922] LSM: Security Framework initializing
[    0.001017] AppArmor: AppArmor initialized
[    0.001070] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.001089] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.002452] rcu: Hierarchical SRCU implementation.
[    0.003361] EFI services will not be available.
[    0.003631] smp: Bringing up secondary CPUs ...
[    0.004216] Detected VIPT I-cache on CPU1
[    0.004270] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.004820] Detected VIPT I-cache on CPU2
[    0.004866] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.005393] Detected VIPT I-cache on CPU3
[    0.005435] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.005507] smp: Brought up 1 node, 4 CPUs
[    0.005570] SMP: Total of 4 processors activated.
[    0.005581] CPU features: detected: 32-bit EL0 Support
[    0.005593] CPU features: detected: CRC32 instructions
[    0.015376] CPU: All CPU(s) started at EL2
[    0.015433] alternatives: patching kernel code
[    0.016391] devtmpfs: initialized
[    0.021698] Registered cp15_barrier emulation handler
[    0.021727] Registered setend emulation handler
[    0.021741] KASLR disabled due to lack of seed
[    0.022078] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.022111] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.029179] xor: measuring software checksum speed
[    0.068164]    8regs     :  2373.000 MB/sec
[    0.108195]    32regs    :  2723.000 MB/sec
[    0.148235]    arm64_neon:  2310.000 MB/sec
[    0.148245] xor: using function: 32regs (2723.000 MB/sec)
[    0.148302] pinctrl core: initialized pinctrl subsystem
[    0.148832] DMI not present or invalid.
[    0.149308] NET: Registered protocol family 16
[    0.150822] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.150931] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.151033] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.151134] audit: initializing netlink subsys (disabled)
[    0.151339] audit: type=2000 audit(0.148:1): state=initialized audit_enabled=0 res=1
[    0.152316] thermal_sys: Registered thermal governor 'step_wise'
[    0.152558] cpuidle: using governor ladder
[    0.152598] cpuidle: using governor menu
[    0.152920] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.153033] ASID allocator initialised with 65536 entries
[    0.153796] Serial: AMBA PL011 UART driver
[    0.178427] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.178452] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.178465] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.178477] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.180249] cryptd: max_cpu_qlen set to 1000
[    0.248456] raid6: neonx8   gen()  2149 MB/s
[    0.316504] raid6: neonx8   xor()  1608 MB/s
[    0.384573] raid6: neonx4   gen()  2195 MB/s
[    0.452626] raid6: neonx4   xor()  1591 MB/s
[    0.520687] raid6: neonx2   gen()  2096 MB/s
[    0.588742] raid6: neonx2   xor()  1477 MB/s
[    0.656801] raid6: neonx1   gen()  1827 MB/s
[    0.724868] raid6: neonx1   xor()  1250 MB/s
[    0.792921] raid6: int64x8  gen()  1491 MB/s
[    0.860988] raid6: int64x8  xor()   784 MB/s
[    0.929030] raid6: int64x4  gen()  1668 MB/s
[    0.997081] raid6: int64x4  xor()   839 MB/s
[    1.065132] raid6: int64x2  gen()  1420 MB/s
[    1.133191] raid6: int64x2  xor()   730 MB/s
[    1.201243] raid6: int64x1  gen()  1059 MB/s
[    1.269299] raid6: int64x1  xor()   559 MB/s
[    1.269309] raid6: using algorithm neonx4 gen() 2195 MB/s
[    1.269319] raid6: .... xor() 1591 MB/s, rmw enabled
[    1.269329] raid6: using neon recovery algorithm
[    1.269813] ACPI: Interpreter disabled.
[    1.270925] iommu: Default domain type: Translated 
[    1.271180] vgaarb: loaded
[    1.271757] SCSI subsystem initialized
[    1.272159] usbcore: registered new interface driver usbfs
[    1.272208] usbcore: registered new interface driver hub
[    1.272272] usbcore: registered new device driver usb
[    1.272671] pps_core: LinuxPPS API ver. 1 registered
[    1.272684] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.272712] PTP clock support registered
[    1.272748] EDAC MC: Ver: 3.0.0
[    1.273557] FPGA manager framework
[    1.273657] Advanced Linux Sound Architecture Driver Initialized.
[    1.274179] NetLabel: Initializing
[    1.274192] NetLabel:  domain hash size = 128
[    1.274201] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    1.274253] NetLabel:  unlabeled traffic allowed by default
[    1.274772] clocksource: Switched to clocksource arch_sys_counter
[    1.275041] VFS: Disk quotas dquot_6.6.0
[    1.275099] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.275226] FS-Cache: Loaded
[    1.275694] AppArmor: AppArmor Filesystem Enabled
[    1.276282] pnp: PnP ACPI: disabled
[    1.281343] NET: Registered protocol family 2
[    1.281863] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[    1.281906] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.281974] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    1.282085] TCP: Hash tables configured (established 8192 bind 8192)
[    1.282217] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.282254] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.282436] NET: Registered protocol family 1
[    1.282904] RPC: Registered named UNIX socket transport module.
[    1.282924] RPC: Registered udp transport module.
[    1.282934] RPC: Registered tcp transport module.
[    1.282943] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.282959] NET: Registered protocol family 44
[    1.282978] PCI: CLS 0 bytes, default 64
[    1.283161] Trying to unpack rootfs image as initramfs...
[    1.768733] Freeing initrd memory: 11448K
[    1.769589] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    1.772893] Initialise system trusted keyrings
[    1.773084] workingset: timestamp_bits=44 max_order=18 bucket_order=0
[    1.777749] zbud: loaded
[    1.779116] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.779402] FS-Cache: Netfs 'nfs' registered for caching
[    1.779946] NFS: Registering the id_resolver key type
[    1.779983] Key type id_resolver registered
[    1.779992] Key type id_legacy registered
[    1.780082] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.780095] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.781065] FS-Cache: Netfs 'cifs' registered for caching
[    1.781359] Key type cifs.spnego registered
[    1.781379] Key type cifs.idmap registered
[    1.781403] ntfs: driver 2.1.32 [Flags: R/W].
[    1.781929] JFS: nTxBlock = 7373, nTxLock = 58986
[    1.785959] SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled
[    1.787516] ocfs2: Registered cluster interface o2cb
[    1.787730] OCFS2 User DLM kernel interface loaded
[    1.789327] gfs2: GFS2 installed
[    1.826383] NET: Registered protocol family 38
[    1.826412] Key type asymmetric registered
[    1.826423] Asymmetric key parser 'x509' registered
[    1.826433] Asymmetric key parser 'pkcs8' registered
[    1.826490] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    1.826646] io scheduler mq-deadline registered
[    1.826659] io scheduler kyber registered
[    1.826843] io scheduler bfq registered
[    1.840263] soc soc0: Amlogic Meson GXL (S905X) Revision 21:a (82:2) Detected
[    1.844195] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
[    1.845969] Serial: AMBA driver
[    1.846334] c11084c0.serial: ttyAML6 at MMIO 0xc11084c0 (irq = 12, base_baud = 1500000) is a meson_uart
[    1.846496] serial serial0: tty port ttyAML6 registered
[    1.846935] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 15, base_baud = 1500000) is a meson_uart
[    2.908564] printk: console [ttyAML0] enabled
[    2.925558] brd: module loaded
[    2.933289] loop: module loaded
[    2.934094] Loading iSCSI transport class v2.0-870.
[    2.936242] iscsi: registered transport (tcp)
[    2.943684] libphy: Fixed MDIO Bus: probed
[    2.945716] VFIO - User Level meta-driver version: 0.3
[    2.950432] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.955606] ehci-pci: EHCI PCI platform driver
[    2.960041] ehci-platform: EHCI generic platform driver
[    2.965318] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.971305] ohci-pci: OHCI PCI platform driver
[    2.975724] ohci-platform: OHCI generic platform driver
[    2.981363] usbcore: registered new interface driver usb-storage
[    2.986999] mousedev: PS/2 mouse device common for all mice
[    2.993231] i2c /dev entries driver
[    2.999571] sdhci: Secure Digital Host Controller Interface driver
[    3.001891] sdhci: Copyright(c) Pierre Ossman
[    3.006383] Synopsys Designware Multimedia Card Interface Driver
[    3.023661] meson-gx-mmc d0072000.mmc: Got CD GPIO
[    3.051050] meson-gx-mmc d0074000.mmc: allocated mmc-pwrseq
[    3.078540] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.079577] ledtrig-cpu: registered to indicate activity on CPUs
[    3.085270] meson-sm: secure-monitor enabled
[    3.089571] gxl-crypto c883e000.crypto: will run requests pump with realtime priority
[    3.096719] gxl-crypto c883e000.crypto: will run requests pump with realtime priority
[    3.104847] hid: raw HID events driver (C) Jiri Kosina
[    3.108631] mmc0: new high speed SDHC card at address e624
[    3.109822] usbcore: registered new interface driver usbhid
[    3.115691] mmcblk0: mmc0:e624 SU16G 14.8 GiB 
[    3.120454] usbhid: USB HID core driver
[    3.121460] platform-mhu c883c404.mailbox: Platform MHU Mailbox registered
[    3.128984]  mmcblk0: p1 p2
[    3.141859] no UART detected at 0x1
[    3.145729] NET: Registered protocol family 17
[    3.146177] Key type dns_resolver registered
[    3.150699] registered taskstats version 1
[    3.154279] Loading compiled-in X.509 certificates
[    3.157978] mmc1: new HS200 MMC card at address 0001
[    3.159193] zswap: loaded using pool lzo/zbud
[    3.164810] mmcblk1: mmc1:0001 8GME4R 7.28 GiB 
[    3.168591] Key type ._fscrypt registered
[    3.173111] mmcblk1boot0: mmc1:0001 8GME4R partition 1 4.00 MiB
[    3.176646] Key type .fscrypt registered
[    3.182861] mmcblk1boot1: mmc1:0001 8GME4R partition 2 4.00 MiB
[    3.186386] Key type fscrypt-provisioning registered
[    3.192499] mmcblk1rpmb: mmc1:0001 8GME4R partition 3 512 KiB, chardev (241:0)
[    3.198124] Btrfs loaded, crc32c=crc32c-generic
[    3.206224]  mmcblk1: p1 p2
[    3.221075] Key type encrypted registered
[    3.221124] AppArmor: AppArmor sha1 policy hashing enabled
[    3.241071] meson-drm d0100000.vpu: Queued 3 outputs on vpu
[    3.270824] meson-dw-hdmi c883a000.hdmi-tx: Detected HDMI TX controller v2.01a with HDCP (meson_dw_hdmi_phy)
[    3.275526] meson-dw-hdmi c883a000.hdmi-tx: registered DesignWare HDMI I2C bus driver
[    3.283607] meson-drm d0100000.vpu: bound c883a000.hdmi-tx (ops meson_dw_hdmi_ops)
[    3.290841] [drm] Initialized meson 1.0.0 20161109 for d0100000.vpu on minor 0
[    3.335854] Console: switching to colour frame buffer device 90x36
[    3.356103] meson-drm d0100000.vpu: [drm] fb0: mesondrmfb frame buffer device
[    3.364826] meson8b-dwmac c9410000.ethernet: IRQ eth_wake_irq not found
[    3.369768] meson8b-dwmac c9410000.ethernet: IRQ eth_lpi not found
[    3.375982] meson8b-dwmac c9410000.ethernet: PTP uses main clock
[    3.381811] meson8b-dwmac c9410000.ethernet: no reset control found
[    3.388781] meson8b-dwmac c9410000.ethernet: User ID: 0x11, Synopsys ID: 0x37
[    3.395152] meson8b-dwmac c9410000.ethernet: 	DWMAC1000
[    3.400266] meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
[    3.407681] meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
[    3.415102] meson8b-dwmac c9410000.ethernet: COE Type 2
[    3.420272] meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
[    3.427263] meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
[    3.433719] meson8b-dwmac c9410000.ethernet: Normal descriptors
[    3.439508] meson8b-dwmac c9410000.ethernet: Ring mode enabled
[    3.445286] meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    3.453624] libphy: stmmac: probed
[    3.457919] dwc3-meson-g12a d0078080.usb: USB2 ports: 2
[    3.461797] dwc3-meson-g12a d0078080.usb: USB3 ports: 0
[    3.999817] dwc2 c9100000.usb: supply vusb_d not found, using dummy regulator
[    4.003845] dwc2 c9100000.usb: supply vusb_a not found, using dummy regulator
[    4.010965] dwc2 c9100000.usb: EPs: 7, dedicated fifos, 712 entries in SPRAM
[    4.019481] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[    4.023209] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 1
[    4.030892] xhci-hcd xhci-hcd.3.auto: hcc params 0x0228f664 hci version 0x100 quirks 0x0000000002010010
[    4.040125] xhci-hcd xhci-hcd.3.auto: irq 42, io mem 0xc9000000
[    4.046203] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
[    4.054132] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.061276] usb usb1: Product: xHCI Host Controller
[    4.066105] usb usb1: Manufacturer: Linux 5.9.0-arm-64 xhci-hcd
[    4.071973] usb usb1: SerialNumber: xhci-hcd.3.auto
[    4.077328] hub 1-0:1.0: USB hub found
[    4.080547] hub 1-0:1.0: 2 ports detected
[    4.084807] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[    4.089928] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 2
[    4.097524] xhci-hcd xhci-hcd.3.auto: Host supports USB 3.0 SuperSpeed
[    4.104019] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.112084] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.09
[    4.120197] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.120204] usb usb2: Product: xHCI Host Controller
[    4.132177] usb usb2: Manufacturer: Linux 5.9.0-arm-64 xhci-hcd
[    4.138037] usb usb2: SerialNumber: xhci-hcd.3.auto
[    4.143362] hub 2-0:1.0: USB hub found
[    4.146602] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)
[    4.156295] meson-gx-mmc d0070000.mmc: allocated mmc-pwrseq
[    4.184581] scpi_protocol scpi: SCP Protocol legacy pre-1.0 firmware
[    4.197215] debugfs: Directory 'c1105400.audio-controller' with parent 'GXL-S905X-P212' already present!
[    4.206921] gx-sound-card sound: ASoC: no DMI vendor name!
[    4.212047] simple-framebuffer 3fe5b000.framebuffer: framebuffer at 0x3fe5b000, 0x195000 bytes, mapped to 0x(____ptrval____)
[    4.223503] simple-framebuffer 3fe5b000.framebuffer: format=x8r8g8b8, mode=720x576x32, linelength=2880
[    4.233214] simple-framebuffer 3fe5b000.framebuffer: fb1: simplefb registered!
[    4.241395] libphy: mdio_mux: probed
[    4.249557] libphy: mdio_mux: probed
[    4.252225] printk: console [netcon0] enabled
[    4.255553] netconsole: network logging started
[    4.259197] ALSA device list:
[    4.262429]   #0: GXL-S905X-P212
[    4.266604] Freeing unused kernel memory: 3392K
[    4.270861] Run /init as init process
[    4.696885] random: fast init done
[    5.326733] EXT4-fs (mmcblk0p2): mounted filesystem with writeback data mode. Opts: data=writeback
[    6.227309] systemd[1]: System time before build time, advancing clock.
[    6.315902] NET: Registered protocol family 10
[    6.339049] Segment Routing with IPv6
[    6.382552] systemd[1]: systemd 245.4-4ubuntu3.2 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.414958] systemd[1]: Detected architecture arm64.
[    6.474788] systemd[1]: Set hostname to <arm-64>.
[    6.878611] systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.
[    7.158351] random: systemd: uninitialized urandom read (16 bytes read)
[    7.165708] systemd[1]: Created slice system-modprobe.slice.
[    7.171476] random: systemd: uninitialized urandom read (16 bytes read)
[    7.176611] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    7.184144] random: systemd: uninitialized urandom read (16 bytes read)
[    7.188964] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    7.198088] systemd[1]: Created slice User and Session Slice.
[    7.203549] systemd[1]: Condition check resulted in Dispatch Password Requests to Console Directory Watch when bootsplash is active being skipped.
[    7.216176] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    7.226409] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
[    7.237825] systemd[1]: Reached target Local Encrypted Volumes.
[    7.246705] systemd[1]: Reached target Remote File Systems.
[    7.252424] systemd[1]: Reached target Slices.
[    7.257881] systemd[1]: Reached target Swap.
[    7.263370] systemd[1]: Reached target System Time Set.
[    7.269432] systemd[1]: Listening on Syslog Socket.
[    7.275521] systemd[1]: Listening on fsck to fsckd communication Socket.
[    7.282339] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    7.289529] systemd[1]: Listening on Journal Audit Socket.
[    7.295569] systemd[1]: Listening on Journal Socket (/dev/log).
[    7.301805] systemd[1]: Listening on Journal Socket.
[    7.307916] systemd[1]: Listening on udev Control Socket.
[    7.313696] systemd[1]: Listening on udev Kernel Socket.
[    7.322798] systemd[1]: Mounting Huge Pages File System...
[    7.331975] systemd[1]: Mounting POSIX Message Queue File System...
[    7.341544] systemd[1]: Mounting Kernel Debug File System...
[    7.347126] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    7.363916] systemd[1]: Starting Restore / save the current clock...
[    7.376709] systemd[1]: Starting Set the console keyboard layout...
[    7.388027] systemd[1]: Starting Create list of static device nodes for the current kernel...
[    7.399017] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
[    7.410985] systemd[1]: Started Nameserver information manager.
[    7.417750] systemd[1]: Reached target Network (Pre).
[    7.431323] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    7.442345] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    7.464796] systemd[1]: Starting Load Kernel Modules...
[    7.476358] systemd[1]: Starting Remount Root and Kernel File Systems...
[    7.488193] systemd[1]: Starting udev Coldplug all Devices...
[    7.499994] systemd[1]: Mounted Huge Pages File System.
[    7.505121] EXT4-fs (mmcblk0p2): re-mounted. Opts: commit=600,errors=remount-ro
[    7.513952] systemd[1]: Mounted POSIX Message Queue File System.
[    7.520821] systemd[1]: Mounted Kernel Debug File System.
[    7.528706] systemd[1]: Finished Restore / save the current clock.
[    7.537330] systemd[1]: Finished Create list of static device nodes for the current kernel.
[    7.552951] systemd[1]: Finished Load Kernel Modules.
[    7.561285] systemd[1]: Finished Remount Root and Kernel File Systems.
[    7.569135] systemd[1]: Condition check resulted in FUSE Control File System being skipped.
[    7.581496] systemd[1]: Mounting Kernel Configuration File System...
[    7.591577] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[    7.600171] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[    7.613037] systemd[1]: Starting Load/Save Random Seed...
[    7.623101] systemd[1]: Starting Apply Kernel Variables...
[    7.633212] systemd[1]: Starting Create System Users...
[    7.646627] systemd[1]: Mounted Kernel Configuration File System.
[    7.696450] systemd[1]: Finished Set the console keyboard layout.
[    7.721119] systemd[1]: Finished Create System Users.
[    7.731512] systemd[1]: Starting Create Static Device Nodes in /dev...


Armbian 20.10 Focal ttyAML0 

arm-64 login: 

 

 

 

Edited by TRS-80
put long output inside spoiler
Link to comment
Share on other sites

If you aren't going to follow the instructions on this site, which would include running the version the instructions point to, then I'm not able to help you.  You are trying to run a version that is different in many ways than the one the instructions are designed for.  Please try again with the correct build if you would like my help.

Link to comment
Share on other sites

OK, now  that you have the latest build, I would recommend that you start over.  Reinstall a fresh android firmware and then try again.  Because you used an old build, that caused you to set uboot variables that are not correct for the latest build.

Also, it looks like you are using either the wrong dtb or the wrong u-boot.ext.  Since the dtb you mentioned above is for an s905x cpu (meson-gxl-s905x-p212.dtb) but you are using the s905x2 uboot.ext (rename u-boot-s905x2-s912 to u-boot.ext)

 

Link to comment
Share on other sites

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

Important Information

Terms of Use - Privacy Policy - Guidelines