sunbory / stb-repo

1 stars 0 forks source link

M301A uboot: gxl_p211_v1# #1

Open QGB opened 1 year ago

QGB commented 1 year ago

gxl_p211_v1#mmc list
SDIO Port B: 0
SDIO Port C: 1
gxl_p211_v1#mmc dev 0
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
emmc/sd response timeout, cmd1, status=0x1ff2800
gxl_p211_v1#mmc dev 1
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
[mmc_init] mmc init success
switch to partitions #0, OK
mmc1(part 0) is current device
gxl_p211_v1#mmc info
Device: SDIO Port C
Manufacturer ID: 90
OEM: 14a
Name: H8G4a
Tran Speed: 52000000
Rd Block Len: 512
MMC version 5.1
High Capacity: Yes
Capacity: 7.3 GiB
mmc clock: 40000000
Bus Width: 8-bit
gxl_p211_v1#
QGB commented 1 year ago
gxl_p211_v1#fatload usb 0:1 1080000 u-boot-p212.bin
reading u-boot-p212.bin
606670 bytes read in 366 ms (1.6 MiB/s)
gxl_p211_v1#bootm 1080000
ee_gate_off ...
Wrong Image Format for bootm command
ERROR: can't get kernel image!
ERROR: booting os 'Invalid OS' (0) is not supported
ee_gate_on ...
gxl_p211_v1#usbboot  usb 0:1

Loading from usb device 0, partition 1: Name: usbda1  Type: U-Boot
BUG: failure at ../drivers/usb/host/xhci-mem.c:36/xhci_flush_cache()!
BUG!
resetting ...
GXLX:BL1:9ac50e:4a8da0;FEAT:ADFC318C:0;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0;
TE: 64370

BL2 Built : 14:48:45, Sep 26 2018.
gxl g6d68897 - yao.zhang@droid07

Board ID = 0, adc=12
set vcck to 1070 mv
set vddee to 1070 mv
CPU clk: 1200MHz
DDR3
DDR3 chl: Rank0 @ 792MHz

bist_test rank: 0 24 02 47 38 16 5a 21 00 42 41 22 61 23 00 46 3e 1d 5f 1f 00 3f 3d 1c 5f 637
Rank0: 1024MB(auto)-2T-11
ssc: ppm1000-
AddrBus test pass!
-s
Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000
New fip structure!
Load bl30 from eMMC, src: 0x00010200, des: 0x013c0000, size: 0x00007600
Load bl301 from eMMC, src: 0x00018200, des: 0x01380000, size: 0x00002200
Load bl31 from eMMC, src: 0x0001c200, des: 0x10100000, size: 0x00019600
Load bl33 from eMMC, src: 0x00038200, des: 0x01000000, size: 0x0006d800
NOTICE:  BL3-1: v1.0(debug):3048f05
NOTICE:  BL3-1: Built : 22:38:14, Aug 20 2017
NOTICE:  BL31: GXL normal boot!
NOTICE:  BL31: BL33 decompress pass
[Image: gxl_v1.1.3099-b073c3c 2017-12-13 19:56:41 xiaobo.gu@droid12]
efuse init ops = c1
efuse init hdcp = c, cf9=7
QGB commented 1 year ago
usb start
fatload usb 0:1 1020000 s905_autoscript
autoscr 1020000
QGB commented 1 year ago

2: Mass Storage,  USB Revision 2.10
 - Fanxiang USB Disk 267905A3
 - Class: (from Interface) Mass Storage
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x058f  Product 0x6387 Version 0.2
   Configuration: 1
   - Interfaces: 1 Bus Powered 200mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 2
     - Class Mass Storage, Transp. SCSI, Bulk only
     - Endpoint 1 In Bulk MaxPacket 512
     - Endpoint 2 Out Bulk MaxPacket 512

gxl_p211_v1#fatload usb 0:1 1020000  aml_autoscript
reading aml_autoscript
709 bytes read in 22 ms (31.3 KiB/s)
gxl_p211_v1#autoscr 1020000
## Executing script at 01020000
## Error: "bootfromsd" not defined
Saving Environment to aml-storage...
mmc env offset: 0x37400000
Writing to MMC(1)... done
reboot use default mode: normal
INFO:    PSCI Affinity Map:
INFO:      AffInst: Level 0, MPID 0x0, State ON
INFO:      AffInst: Level 0, MPID 0x1, State OFF
INFO:      AffInst: Level 0, MPID 0x2, State OFF
INFO:      AffInst: Level 0, MPID 0x3, State OFF
bl31 reb▒GXLX:BL1:9ac50e:4a8da0;FEAT:ADFC318C:0;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0;
TE: 134901

BL2 Built : 14:48:45, Sep 26 2018.
gxl g6d68897 - yao.zhang@droid07

Board ID = 0, adc=10
set vcck to 1070 mv
set vddee to 1070 mv
CPU clk: 1200MHz
DDR3
DDR3 chl: Rank0 @ 792MHz

bist_test rank: 0 23 01 46 3b 1b 5c 22 00 44 40 20 61 22 00 45 3e 1d 5f 1f 00 3f 3e 1d 5f 637
Rank0: 1024MB(auto)-2T-11
ssc: ppm1000-
AddrBus test pass!
-s
Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000
New fip structure!
Load bl30 from eMMC, src: 0x00010200, des: 0x013c0000, size: 0x00007600
Load bl301 from eMMC, src: 0x00018200, des: 0x01380000, size: 0x00002200
Load bl31 from eMMC, src: 0x0001c200, des: 0x10100000, size: 0x00019600
Load bl33 from eMMC, src: 0x00038200, des: 0x01000000, size: 0x0006d800
NOTICE:  BL3-1: v1.0(debug):3048f05
NOTICE:  BL3-1: Built : 22:38:14, Aug 20 2017
NOTICE:  BL31: GXL normal boot!
NOTICE:  BL31: BL33 decompress pass
[Image: gxl_v1.1.3099-b073c3c 2017-12-13 19:56:41 xiaobo.gu@droid12]
efuse init ops = c1
efuse init hdcp = c, cf9=7
bl30: check_permit, count is 1
bl30: check_permit: ok!
chipid: 0 0 3 c c 0 4e b4 60 a0 0 c1 not ES chip
[0.553356 Inits done]
INFO:    BL3-1: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL3-1: Preparing for EL3 exit to normal world
INFO:    BL3-1: Next image address = 0x1000000
INFO:    BL3-1: Next image spsr = 0x3c9

U-Boot 2015.01 (Oct 21 2018 - 17:43:16)

DRAM:  1 GiB
Relocation Offset is: 36ea6000
gpio: pin GPIODV_24 (gpio 43) value is 1
register usb cfg[0][1] = 0000000037f59060
[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 = 0x0000000033e96aa0
aml_priv->desc_buf = 0x0000000033e98dc0
SDIO Port B: 0, SDIO Port C: 1
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
[mmc_init] mmc init success
dtb magic 08088b1f
      Amlogic multi-dtb tool
      GZIP format, decompress...
      Multi dtb detected
      unified board, board id = 0
      Multi dtb tool version: v2 .
      Support 10 dtbs.
        aml_dt soc: gxlx platform: p261 variant: 1g
        dtb 0 soc: gxbb   plat: p201   vari: 1g
        dtb 1 soc: gxbb   plat: p201   vari: 2g
        dtb 2 soc: gxl   plat: p211   vari: 1g
        dtb 3 soc: gxl   plat: p211   vari: 2g
        dtb 4 soc: gxl   plat: p215   vari: 1g
        dtb 5 soc: gxl   plat: p215   vari: 2g
        dtb 6 soc: gxlx   plat: p261   vari: 1g
        dtb 7 soc: gxlx   plat: p261   vari: 2g
        dtb 8 soc: gxlx   plat: p265   vari: 1g
        dtb 9 soc: gxlx   plat: p265   vari: 2g
      Find match dtb: 6
start dts,buffer=0000000033e9b5f0,dt_addr=0000000033e9b5f0
      Amlogic multi-dtb tool
      Single dtb detected
parts: 16
00:      logo   0000000002000000 1
01:  recovery   0000000002000000 1
02:       rsv   0000000000400000 1
03:       tee   0000000000800000 1
04:     crypt   0000000002000000 1
05:      misc   0000000000400000 1
06: instaboot   0000000000400000 1
07:      boot   0000000002000000 1
08:    params   0000000004000000 2
09:     skmac   0000000000400000 1
10:   skparam   0000000004000000 1
11:  skbackup   0000000030000000 1
12:    system   0000000040000000 1
13:     cache   0000000030000000 2
14:   cobargs   0000000000800000 1
15:      data   ffffffffffffffff 4
eMMC/TSD partition table have been checked OK!
check pattern success
mmc env offset: 0x37400000
In:    serial
Out:   serial
Err:   serial
board id is : 0
hpd_state=1
[720p60hz] is invalid for cvbs.
set hdmitx VIC = 4
config HPLL = 2970
HPLL: 0xc000027b
config HPLL done
j = 2  vid_clk_div = 1
hdmitx: set enc for VIC: 4
HDMITX-DWC addr=0x10004006 rd_data=0x40
Error: HDMITX-DWC exp_data=0xff mask=0x9f
hdmitx phy setting done
div40 = 0
hdmtix: set audio
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
_verify_dtb_checksum()-924: calc a2927e78, store a2927e78
_verify_dtb_checksum()-924: calc a2927e78, store a2927e78
dtb_read()-1046: total valid 2
dtb_read()-1113: do nothing
      Amlogic multi-dtb tool
      GZIP format, decompress...
      Multi dtb detected
      unified board, board id = 0
      Multi dtb tool version: v2 .
      Support 10 dtbs.
        aml_dt soc: gxlx platform: p261 variant: 1g
        dtb 0 soc: gxbb   plat: p201   vari: 1g
        dtb 1 soc: gxbb   plat: p201   vari: 2g
        dtb 2 soc: gxl   plat: p211   vari: 1g
        dtb 3 soc: gxl   plat: p211   vari: 2g
        dtb 4 soc: gxl   plat: p215   vari: 1g
        dtb 5 soc: gxl   plat: p215   vari: 2g
        dtb 6 soc: gxlx   plat: p261   vari: 1g
        dtb 7 soc: gxlx   plat: p261   vari: 2g
        dtb 8 soc: gxlx   plat: p265   vari: 1g
        dtb 9 soc: gxlx   plat: p265   vari: 2g
      Find match dtb: 6
Net:   dwmac.c9410000
into judge_factory_reset_protect
upgrade_step=2
bmp pixel: 24
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x3dc00000
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x3dc00000
[CANVAS]addr=0x3dc00000 width=5760, height=2160
amlkey_init() enter!
[EFUSE_MSG]keynum is 4
[BL31]: tee size: 0
[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
key1 = 66994cb3
key2 = 6699fd01
key3 = 6699dd22
time_out = 493e0
ir init
irkey - irkey key_value1 key_value2 key_value3 time_value

Usage:
irkey
key1 = 3ec14cb3
key2 = 3ec1fd01
key3 = 3ec1dd22
time_out = 0
irkey - irkey key_value1 key_value2 key_value3 time_value

Usage:
irkey
gpio: pin GPIOAO_2 (gpio 102) value is 1
rebootmode=normal
Hit any key to stop autoboot:  0
card out
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
emmc/sd response timeout, cmd1, status=0x1ff2800
(Re)start USB...
USB0:   USB3.0 XHCI init start
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... init_part() 278: PART_TYPE_DOS
1 Storage Device(s) found
reading s905_autoscript
1654 bytes read in 32 ms (49.8 KiB/s)
## Executing script at 01020000
start amlogic old u-boot
## Error: "bootfromsd" not defined
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
emmc/sd response timeout, cmd1, status=0x1ff2800
** Bad device mmc 0 **
reading boot_android
** Unable to read file boot_android **
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
emmc/sd response timeout, cmd1, status=0x1ff2800
** Bad device mmc 0 **
reading u-boot.ext
** Unable to read file u-boot.ext **
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
emmc/sd response timeout, cmd1, status=0x1ff2800
** Bad device mmc 0 **
start test usb
reading uEnv.txt
349 bytes read in 52 ms (5.9 KiB/s)
## Error: "mac" not defined
## Error: "eth_mac" not defined
reading /zImage
25264640 bytes read in 13030 ms (1.8 MiB/s)
reading /uInitrd
8198938 bytes read in 4273 ms (1.8 MiB/s)
reading /dtb/meson-gxl-s905x-p212.dtb
** Unable to read file /dtb/meson-gxl-s905x-p212.dtb **
** Bad device usb 1 **
** Bad device usb 2 **
** Bad device usb 3 **
** Bad device usb 1 **
** Bad device usb 2 **
** Bad device usb 3 **
** Unrecognized filesystem type **
ee_gate_off ...
## Booting Android Image at 0x01080000 ...
reloc_addr =33f1b890
copy done
      Amlogic multi-dtb tool
      Single dtb detected
load dtb from 0x1000000 ......
   Uncompressing Kernel Image ... OK
   kernel loaded at 0x01080000, end = 0x02057928
   Loading Ramdisk to 33d9a000, end 33e94489 ... OK
   Loading Device Tree to 000000001fff3000, end 000000001ffff5c5 ... OK
signature:
fdt_instaboot: get header err

Starting kernel ...

uboot time: 24212865 us
get_dvfs_info 0000
INFO:    HDCP22 key read fail!
INFO:    p1d 0
INFO:    pd1 0
QGB commented 1 year ago
Ubuntu 18.04.2 LTS aml ttyAML0

aml login: root
Password:
 ____  ___   ___  ____
/ ___|/ _ \ / _ \| ___|
\___ \ (_) | | | |___ \
 ___) \__, | |_| |___) |
|____/  /_/ \___/|____/

Welcome to ARMBIAN 5.77 user-built Ubuntu 18.04.2 LTS 5.0.2-aml-s905
System load:   4.09 1.59 0.59   Up time:       2 min
Memory usage:  20 % of 833MB    IP:            192.168.2.103
CPU temp:      57°C
Usage of /:    2% of 115G       storage/:      55% of 128M

Thank you for choosing Armbian! Support: www.armbian.com

Creating a new user account. Press <Ctrl-C> to abort

Please provide a username (eg. your forename): qgb
Trying to add user qgb
adduser: The user `qgb' already exists.

Please provide a username (eg. your forename): tu0
Trying to add user tu0
Adding user `tu0' ...
Adding new group `tu0' (1001) ...
Adding new user `tu0' (1001) with group `tu0' ...
[  229.035665] EXT4-fs error (device sda2) in ext4_reserve_inode_write:5903: Journal has aborted
useradd: failure while writing changes to /etc/subgid
[  240.882537] EXT4-fs (sda2): Remounting filesystem read-only
[  240.887383] EXT4-fs error (device sda2) in ext4_free_blocks:4950: Journal has aborted
[  240.897554] EXT4-fs error (device sda2): ext4_journal_check_start:61: Detected aborted journal
adduser: `/usr/sbin/useradd -d /home/tu0 -g tu0 -s /bin/bash -u 1001 tu0' returned error code 18. Exiting.

Please provide a username (eg. your forename):