Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Running Linux From SD Card or USB Flash Drive - Using Balbes150 Method And Files.

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to do that?

    Comment


      Write one of these images to the SD card and show the UART output when the SD card is inserted in TV box turn on.

      Посмотреть и скачать с Яндекс Диска

      Comment


        Used first image, Armbian_5.44_S9xxx_Debian_stretch_3.14.29_icewm_20 180729.img, unpacked it with 7z to get .img file,
        write it to SD card with Win32DiskImager, insert card to box, turn on the box. UART output is the same as before:

        GXM:BL1:dc8b51:76f1a5;FEAT:ADFC318C:0;POC:3;RCY:0; EMMC:800;NAND:81;SD:0;READ:0;CHK:AA;USB:8;LOOP:1;E MMC:800;NAND:81;SD:0;READ:0;CHK:AA;USB:8;LOOP:2;EM MC:800;NAND:81;SD:0;READ:0;CHK:AA;USB:8;LOOP:3;EMM C:800;NAND:81;SD:0;READ:0;CHK:AA;USB:8;LOOP:4;EMMC :800;NAND:81;SD:0;READ:0;CHK:AA;USB:8;LOOP:5;EMMC: 800;NAND:81;SD:0;READ:0;CHK:AA;USB:8;LOOP:6;EMMC:8 00;NAND:81;SD:0;READ:0;CHK:AA;USB:8;

        Comment


          What does the UART console show if you run the flashing process through the USB Burn Tool ? What shows the UART when running the card with Coreelec (the output from which you showed earlier) ?

          Comment


            Tried with the SD card that worked before I removed the chip, UART output is the same:

            GXM:BL1:dc8b51:76f1a5;FEAT:ADFC318C:0;POC:3;RCY:0; EMMC:800;NAND:81;SD:0;READ:0;CHK:AA;USB:8;LOOP:1;E MMC:800;NAND:81;SD:0;READ:0;CHK:AA;USB:8;LOOP:2;EM MC:800;NAND:81;SD:0;READ:0;CHK:AA;USB:8;LOOP:3;EMM C:800;NAND:81;SD:0;READ:0;CHK:AA;USB:8;

            USB burning tool don't recognize the box now, had to short pins before to recognize, now it's not recognizing. UART output is the same:

            GXM:BL1:dc8b51:76f1a5;FEAT:ADFC318C:0;POC:3;RCY:0; EMMC:800;NAND:81;SD:800;USB:8;LOOP:1;EMMC:800;NAND :81;SD:800;USB:8;LOOP:2;EMMC:800;NAND:81;SD:800;US B:8;LOOP:3;EMMC:800;NAND:81;SD:800;USB:8;LOOP:4;EM MC:800;NAND:81;SD:800;USB:8;LOOP:5;EMMC:800;NAND:8 1;SD:800;USB:8;LOOP:6;EMMC:800;NAND:81;SD:800;USB: 8;LOOP:7;EMMC:800;NAND:81;SD:800;USB:8;

            Have another SD card and tried Armbian but all the same. Tried also to shorting pins like before, but there is no chip and that not working anymore, now box won't boot at all.

            Comment


              The processor does not see any interface (Sd or USB). Any problems with the power supply (circuit) or PCB track.

              Comment


                Yes, but how it worked when the emmc was attached to the board?
                I just needed to short pins and it would boot.
                Is there any chance now to short some points and make it booting again?
                Power supply is good, I measured around the DC jack and have 5.0v.

                Edit:

                Interesting find:
                I have another broken box, Beelink GT1 Ultimate and have some files that I'm experimented with, u-boot.bin.
                Tried to burn the image with Win32DiskImager and put it in this box
                and get some UART readings:


                GXM:BL1:dc8b51:76f1a5;FEAT:ADFC318C:0;POC:3;RCY:0; EMMC:800;NAND:81;SD:0;READ:0;0.0;CHK:0;
                no sdio debug board detected
                TE: 321346

                BL2 Built : 11:58:42, May 27 2017.
                gxl gc3c9a84 - xiaobo.gu@droid05

                set vdd cpu_a to 1120 mv
                set vdd cpu_b to 1050 mv
                set vddee to 1000 mv
                Board ID = 2
                CPU clk: 1200MHz
                DQS-corr enabled
                DDR scramble enabled
                DDR4 chl: Rank0+1 @ 816MHz
                GXM:BL1:dc8b51:76f1a5;FEAT:ADFC318C:0;POC:3;RCY:0; EMMC:800;NAND:81;SD:0;READ:0;0.0;CHK:0;
                no sdio debug board detected
                TE: 150453

                So, the box see sd card but won't boot Coreelec or Armbian from it.
                Maybe this helps to find what is wrong.
                Last edited by Nebojsa; 09-15-2018, 13:46.

                Comment


                  Edit 2:

                  Found another .bin file, u-boot.bin.sd.bin for A95X (can't find u-boot.bin.sd.bin for my box, Sunvell T95V pro), made bootable sd card with Amlogic boot card maker and have uart reading:


                  GXM:BL1:dc8b51:76f1a5;FEAT:ADFC318C:0;POC:3;RCY:0; EMMC:800;NAND:81;SD:0;READ:0;0.0;CHK:0;
                  no sdio debug board detected
                  TE: 325963

                  BL2 Built : 18:01:20, Feb 17 2017.
                  gxl ge226e8f - xiaobo.gu@droid05

                  set vdd cpu_a to 1120 mv
                  set vdd cpu_b to 1050 mv
                  set vddee to 1000 mv
                  Board ID = 2
                  CPU clk: 1200MHz
                  DQS-corr enabled
                  DDR scramble enabled
                  DDR3 chl: Rank0+1 @ 792MHz - PASS
                  Rank0: 1024MB(auto)-2T-11
                  Rank1: 1024MB(auto)-2T-11
                  DataBus test pass!
                  AddrBus test pass!
                  Load fip header from SD, src: 0x0000c200, des: 0x01400000, size: 0x00004000
                  New fip structure!
                  Load bl30 from SD, src: 0x00010200, des: 0x01100000, size: 0x0000d600
                  Load bl31 from SD, src: 0x00020200, des: 0x10100000, size: 0x00015400
                  Load bl33 from SD, src: 0x00038200, des: 0x01000000, size: 0x000a9e00
                  NOTICE: BL3-1: v1.0(debug):34b885f
                  NOTICE: BL3-1: Built : 15:32:22, Oct 29 2016
                  aml log : bl31 normal boot !
                  [Image: gxl_v1.1.3154-065f772 2016-09-29 14:08:54 yan.wang@droid05]
                  OPS=0x82
                  7e 91 61 3c 62 9 9f 3c df 30 8d a [0.742051 Inits done]
                  secure task start!
                  high task start!
                  low task start!
                  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-g3ae4572-dirty (May 09 2017 - 15:11:16)

                  DRAM: 2 GiB
                  Relocation Offset is: 76ec9000
                  board_init sm1628
                  register usb cfg[0][1] = 0000000077f5f998
                  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 = 0x0000000073ec96b0
                  aml_priv->desc_buf = 0x0000000073ecb9d0
                  SDIO Port B: 0, SDIO Port C: 1
                  emmc/sd response timeout, cmd8, status=0x3ff2800
                  emmc/sd response timeout, cmd55, status=0x3ff2800
                  emmc/sd response timeout, cmd1, status=0x3ff2800
                  MMC init failed
                  Using default environment

                  In: serial
                  Out: serial
                  Err: serial
                  reboot_mode=cold_boot
                  hpd_state=1
                  [1080p60hz] is invalid for cvbs.
                  set hdmitx VIC = 16
                  config HPLL = 2970
                  HPLL: 0xc000027b
                  config HPLL done
                  j = 4 vid_clk_div = 1
                  hdmitx phy setting done
                  hdmitx: set enc for VIC: 16
                  rx version is 1.4 or below div=10
                  hdmtix: set audio
                  [store]To run cmd[emmc dtb_read 0x1000000 0x40000]
                  read emmc dtb
                  emmc/sd response timeout, cmd8, status=0x3ff2800
                  emmc/sd response timeout, cmd55, status=0x3ff2800
                  emmc/sd response timeout, cmd1, status=0x3ff2800
                  mmc init failed
                  Amlogic multi-dtb tool
                  Cannot find legal dtb!
                  [store]Err:do_store_dtb_ops,L236:Fail in fdt check header
                  board_late_init(): [store dtb read $dtb_mem_addr] fail
                  load dtb to 1000000
                  [store]To run cmd[emmc dtb_read 1000000 0x40000]
                  read emmc dtb
                  emmc/sd response timeout, cmd8, status=0x3ff2800
                  emmc/sd response timeout, cmd55, status=0x3ff2800
                  emmc/sd response timeout, cmd1, status=0x3ff2800
                  mmc init failed
                  Amlogic multi-dtb tool
                  Cannot find legal dtb!
                  [store]Err:do_store_dtb_ops,L236:Fail in fdt check header
                  board_late_init(): store dtb read 1000000 fail
                  card in
                  [mmc_init] mmc init success
                  Device: SDIO Port B
                  Manufacturer ID: 3
                  OEM: 5344
                  Name: SU08G
                  Tran Speed: 50000000
                  Rd Block Len: 512
                  SD version 3.0
                  High Capacity: Yes
                  Capacity: 7.4 GiB
                  mmc clock: 40000000
                  Bus Width: 4-bit
                  Net: dwmac.c9410000
                  wipe_data=successful
                  wipe_cache=successful
                  upgrade_step=0
                  [OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters
                  [OSD]fb_addr for logo: 0x3d800000
                  [OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters
                  [OSD]fb_addr for logo: 0x3d800000
                  [CANVAS]canvas init
                  [CANVAS]addr=0x3d800000 width=5760, height=2160
                  Cannot find dev.
                  amlmmc cmd <NULL> failed

                  store - STORE sub-system

                  Usage:
                  store store init flag
                  store read name addr off|partition size
                  read 'size' bytes starting at offset 'off'
                  to/from memory address 'addr', skipping bad blocks.
                  store write name addr off|partition size
                  write 'size' bytes starting at offset 'off'
                  to/from memory address 'addr', skipping bad blocks.
                  store rom_write add off size.
                  write uboot to the boot device
                  store erase boot/data:
                  erase the area which is uboot or data
                  store erase partition <partition_name>:
                  erase the area which partition in u-boot
                  store erase dtb
                  store erase key
                  store disprotect key
                  store rom_protect on/off
                  store scrub off|partition size
                  scrub the area from offset and size
                  store dtb iread/read/write addr <size>
                  read/write dtb, size is optional
                  store key read/write addr <size>
                  read/write key, size is optional

                  cmd store failed
                  Err imgread(L333):Fail to read 0x2000B from part[logo] at offset 0
                  There is no valid bmp file at the given address
                  [KM]Error:f[keymanage_dts_parse]L282:not a fdt at 0x0000000001000000
                  gpio: pin GPIOAO_2 (gpio 102) value is 1
                  get_cpu_id flag_12bit=1
                  Hit Enter or space or Ctrl+C key to stop autoboot -- : 0
                  Cannot find dev.
                  amlmmc cmd <NULL> failed

                  store - STORE sub-system

                  Usage:
                  store store init flag
                  store read name addr off|partition size
                  read 'size' bytes starting at offset 'off'
                  to/from memory address 'addr', skipping bad blocks.
                  store write name addr off|partition size
                  write 'size' bytes starting at offset 'off'
                  to/from memory address 'addr', skipping bad blocks.
                  store rom_write add off size.
                  write uboot to the boot device
                  store erase boot/data:
                  erase the area which is uboot or data
                  store erase partition <partition_name>:
                  erase the area which partition in u-boot
                  store erase dtb
                  store erase key
                  store disprotect key
                  store rom_protect on/off
                  store scrub off|partition size
                  scrub the area from offset and size
                  store dtb iread/read/write addr <size>
                  read/write dtb, size is optional
                  store key read/write addr <size>
                  read/write key, size is optional

                  cmd store failed
                  Err imgread(L132):Fail to read 0x100000B from part[boot] at offset 0
                  InUsbBurn
                  noSof
                  Device: SDIO Port B
                  Manufacturer ID: 3
                  OEM: 5344
                  Name: SU08G
                  Tran Speed: 50000000
                  Rd Block Len: 512
                  SD version 3.0
                  High Capacity: Yes
                  Capacity: 7.4 GiB
                  mmc clock: 40000000
                  Bus Width: 4-bit
                  Device: SDIO Port B
                  Manufacturer ID: 3
                  OEM: 5344
                  Name: SU08G
                  Tran Speed: 50000000
                  Rd Block Len: 512
                  SD version 3.0
                  High Capacity: Yes
                  Capacity: 7.4 GiB
                  mmc clock: 40000000
                  Bus Width: 4-bit
                  reading aml_autoscript
                  ** Unable to read file aml_autoscript **
                  reading recovery.img
                  ** Unable to read file recovery.img **
                  (Re)start USB...
                  USB0: USB3.0 XHCI init start
                  Register 3000140 NbrPorts 3
                  Starting the controller
                  USB XHCI 1.00
                  scanning bus 0 for devices... 1 USB Device(s) found
                  scanning usb for storage devices... 0 Storage Device(s) found
                  ** Bad device usb 0 **
                  ** Bad device usb 0 **
                  Cannot find dev.
                  amlmmc cmd <NULL> failed

                  store - STORE sub-system

                  Usage:
                  store store init flag
                  store read name addr off|partition size
                  read 'size' bytes starting at offset 'off'
                  to/from memory address 'addr', skipping bad blocks.
                  store write name addr off|partition size
                  write 'size' bytes starting at offset 'off'
                  to/from memory address 'addr', skipping bad blocks.
                  store rom_write add off size.
                  write uboot to the boot device
                  store erase boot/data:
                  erase the area which is uboot or data
                  store erase partition <partition_name>:
                  erase the area which partition in u-boot
                  store erase dtb
                  store erase key
                  store disprotect key
                  store rom_protect on/off
                  store scrub off|partition size
                  scrub the area from offset and size
                  store dtb iread/read/write addr <size>
                  read/write dtb, size is optional
                  store key read/write addr <size>
                  read/write key, size is optional

                  cmd store failed
                  Err imgread(L132):Fail to read 0x100000B from part[recovery] at offset 0
                  gxm_q200_v1#



                  Then I put usb with CoreElec that worked on device before, along with inserted sd card, and got this uart reading:


                  GXM:BL1:dc8b51:76f1a5;FEAT:ADFC318C:0;POC:3;RCY:0; EMMC:800;NAND:81;SD:0;READ:0;0.0;CHK:0;
                  no sdio debug board detected
                  TE: 326798

                  BL2 Built : 18:01:20, Feb 17 2017.
                  gxl ge226e8f - xiaobo.gu@droid05

                  set vdd cpu_a to 1120 mv
                  set vdd cpu_b to 1050 mv
                  set vddee to 1000 mv
                  Board ID = 2
                  CPU clk: 1200MHz
                  DQS-corr enabled
                  DDR scramble enabled
                  DDR3 chl: Rank0+1 @ 792MHz - PASS
                  Rank0: 1024MB(auto)-2T-11
                  Rank1: 1024MB(auto)-2T-11
                  DataBus test pass!
                  AddrBus test pass!
                  Load fip header from SD, src: 0x0000c200, des: 0x01400000, size: 0x00004000
                  New fip structure!
                  Load bl30 from SD, src: 0x00010200, des: 0x01100000, size: 0x0000d600
                  Load bl31 from SD, src: 0x00020200, des: 0x10100000, size: 0x00015400
                  Load bl33 from SD, src: 0x00038200, des: 0x01000000, size: 0x000a9e00
                  NOTICE: BL3-1: v1.0(debug):34b885f
                  NOTICE: BL3-1: Built : 15:32:22, Oct 29 2016
                  aml log : bl31 normal boot !
                  [Image: gxl_v1.1.3154-065f772 2016-09-29 14:08:54 yan.wang@droid05]
                  OPS=0x82
                  7e 91 61 3c 62 9 9f 3c df 30 8d a [0.742882 Inits done]
                  secure task start!
                  high task start!
                  low task start!
                  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-g3ae4572-dirty (May 09 2017 - 15:11:16)

                  DRAM: 2 GiB
                  Relocation Offset is: 76ec9000
                  board_init sm1628
                  register usb cfg[0][1] = 0000000077f5f998
                  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 = 0x0000000073ec96b0
                  aml_priv->desc_buf = 0x0000000073ecb9d0
                  SDIO Port B: 0, SDIO Port C: 1
                  emmc/sd response timeout, cmd8, status=0x3ff2800
                  emmc/sd response timeout, cmd55, status=0x3ff2800
                  emmc/sd response timeout, cmd1, status=0x3ff2800
                  MMC init failed
                  Using default environment

                  In: serial
                  Out: serial
                  Err: serial
                  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
                  emmc/sd response timeout, cmd8, status=0x3ff2800
                  emmc/sd response timeout, cmd55, status=0x3ff2800
                  emmc/sd response timeout, cmd1, status=0x3ff2800
                  mmc init failed
                  Amlogic multi-dtb tool
                  Cannot find legal dtb!
                  [store]Err:do_store_dtb_ops,L236:Fail in fdt check header
                  board_late_init(): [store dtb read $dtb_mem_addr] fail
                  load dtb to 1000000
                  [store]To run cmd[emmc dtb_read 1000000 0x40000]
                  read emmc dtb
                  emmc/sd response timeout, cmd8, status=0x3ff2800
                  emmc/sd response timeout, cmd55, status=0x3ff2800
                  emmc/sd response timeout, cmd1, status=0x3ff2800
                  mmc init failed
                  Amlogic multi-dtb tool
                  Cannot find legal dtb!
                  [store]Err:do_store_dtb_ops,L236:Fail in fdt check header
                  board_late_init(): store dtb read 1000000 fail
                  card in
                  [mmc_init] mmc init success
                  Device: SDIO Port B
                  Manufacturer ID: 3
                  OEM: 5344
                  Name: SU08G
                  Tran Speed: 50000000
                  Rd Block Len: 512
                  SD version 3.0
                  High Capacity: Yes
                  Capacity: 7.4 GiB
                  mmc clock: 40000000
                  Bus Width: 4-bit
                  Net: dwmac.c9410000
                  wipe_data=successful
                  wipe_cache=successful
                  upgrade_step=0
                  [OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters
                  [OSD]fb_addr for logo: 0x3d800000
                  [OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters
                  [OSD]fb_addr for logo: 0x3d800000
                  [CANVAS]canvas init
                  [CANVAS]addr=0x3d800000 width=5760, height=2160
                  Cannot find dev.
                  amlmmc cmd <NULL> failed

                  store - STORE sub-system

                  Usage:
                  store store init flag
                  store read name addr off|partition size
                  read 'size' bytes starting at offset 'off'
                  to/from memory address 'addr', skipping bad blocks.
                  store write name addr off|partition size
                  write 'size' bytes starting at offset 'off'
                  to/from memory address 'addr', skipping bad blocks.
                  store rom_write add off size.
                  write uboot to the boot device
                  store erase boot/data:
                  erase the area which is uboot or data
                  store erase partition <partition_name>:
                  erase the area which partition in u-boot
                  store erase dtb
                  store erase key
                  store disprotect key
                  store rom_protect on/off
                  store scrub off|partition size
                  scrub the area from offset and size
                  store dtb iread/read/write addr <size>
                  read/write dtb, size is optional
                  store key read/write addr <size>
                  read/write key, size is optional

                  cmd store failed
                  Err imgread(L333):Fail to read 0x2000B from part[logo] at offset 0
                  There is no valid bmp file at the given address
                  [KM]Error:f[keymanage_dts_parse]L282:not a fdt at 0x0000000001000000
                  gpio: pin GPIOAO_2 (gpio 102) value is 1
                  get_cpu_id flag_12bit=1
                  Hit Enter or space or Ctrl+C key to stop autoboot -- : 0
                  Cannot find dev.
                  amlmmc cmd <NULL> failed

                  store - STORE sub-system

                  Usage:
                  store store init flag
                  store read name addr off|partition size
                  read 'size' bytes starting at offset 'off'
                  to/from memory address 'addr', skipping bad blocks.
                  store write name addr off|partition size
                  write 'size' bytes starting at offset 'off'
                  to/from memory address 'addr', skipping bad blocks.
                  store rom_write add off size.
                  write uboot to the boot device
                  store erase boot/data:
                  erase the area which is uboot or data
                  store erase partition <partition_name>:
                  erase the area which partition in u-boot
                  store erase dtb
                  store erase key
                  store disprotect key
                  store rom_protect on/off
                  store scrub off|partition size
                  scrub the area from offset and size
                  store dtb iread/read/write addr <size>
                  read/write dtb, size is optional
                  store key read/write addr <size>
                  read/write key, size is optional

                  cmd store failed
                  Err imgread(L132):Fail to read 0x100000B from part[boot] at offset 0
                  InUsbBurn
                  noSof
                  Device: SDIO Port B
                  Manufacturer ID: 3
                  OEM: 5344
                  Name: SU08G
                  Tran Speed: 50000000
                  Rd Block Len: 512
                  SD version 3.0
                  High Capacity: Yes
                  Capacity: 7.4 GiB
                  mmc clock: 40000000
                  Bus Width: 4-bit
                  Device: SDIO Port B
                  Manufacturer ID: 3
                  OEM: 5344
                  Name: SU08G
                  Tran Speed: 50000000
                  Rd Block Len: 512
                  SD version 3.0
                  High Capacity: Yes
                  Capacity: 7.4 GiB
                  mmc clock: 40000000
                  Bus Width: 4-bit
                  reading aml_autoscript
                  ** Unable to read file aml_autoscript **
                  reading recovery.img
                  ** Unable to read file recovery.img **
                  (Re)start USB...
                  USB0: USB3.0 XHCI init start
                  Register 3000140 NbrPorts 3
                  Starting the controller
                  USB XHCI 1.00
                  scanning bus 0 for devices... 2 USB Device(s) found
                  scanning usb for storage devices... 1 Storage Device(s) found
                  reading aml_autoscript
                  1033 bytes read in 22 ms (44.9 KiB/s)
                  ## Executing script at 01080000
                  Saving Environment to aml-storage...
                  emmc/sd response timeout, cmd8, status=0x3ff2800
                  emmc/sd response timeout, cmd55, status=0x3ff2800
                  emmc/sd response timeout, cmd1, status=0x3ff2800
                  MMC init failed
                  [KM]Error:f[keymanage_dts_parse]L282:not a fdt at 0x0000000001000000
                  Device: SDIO Port B
                  Manufacturer ID: 3
                  OEM: 5344
                  Name: SU08G
                  Tran Speed: 50000000
                  Rd Block Len: 512
                  SD version 3.0
                  High Capacity: Yes
                  Capacity: 7.4 GiB
                  mmc clock: 40000000
                  Bus Width: 4-bit
                  reading kernel.img
                  ** Unable to read file kernel.img **
                  (Re)start USB...
                  USB0: USB3.0 XHCI init start
                  Register 3000140 NbrPorts 3
                  Starting the controller
                  USB XHCI 1.00
                  scanning bus 0 for devices... 2 USB Device(s) found
                  scanning usb for storage devices... 1 Storage Device(s) found
                  reading kernel.img
                  7821312 bytes read in 4473 ms (1.7 MiB/s)
                  reading dtb.img
                  159744 bytes read in 108 ms (1.4 MiB/s)
                  usb dtb.img loaded
                  ee_gate_off ...
                  ## Booting Android Image at 0x01080000 ...
                  reloc_addr =73ee5f10
                  copy done
                  Amlogic multi-dtb tool
                  Multi dtb detected
                  Multi dtb tool version: v2 .
                  Support 4 dtbs.
                  aml_dt soc: gxm platform: q200 variant: 2gled
                  dtb 0 soc: gxb plat: p200 vari: 1g
                  dtb 1 soc: gxb plat: p200 vari: 2g
                  dtb 2 soc: gxl plat: p212 vari: 1g
                  dtb 3 soc: gxl plat: p212 vari: 2g
                  Not match any dtb.
                  load dtb from 0x1000000 ......
                  ERROR: image is not a fdt - must RESET the board to recover.
                  load dtb from 0x74634710 ......
                  ERROR: image is not a fdt - must RESET the board to recover.
                  Could not find a valid device tree
                  libfdt fdt_check_header(): FDT_ERR_BADMAGIC
                  [rsvmem] fdt addr error.
                  Loading Ramdisk to 73ccb000, end 73eb5b92 ... OK
                  ERROR: image is not a fdt - must RESET the board to recover.
                  FDT creation failed! hanging...### ERROR ### Please RESET the board ###

                  Thinking, if sd card wake the device maybe it will find usb with CoreElec and boot from it, it find it but won't boot...

                  Comment


                    SUCCESS!

                    I found u-boot.bin.sd.bin for my box, write it to sd card with Boot card maker (not Burn card maker).
                    Make another usb flash drive with CoreElec from scratch, plug both sd card and usb flash to box.
                    Plug the power and... voila, it boots to CoreElec!

                    @balbes150, thanks for the help and for clarifying some things that I didn't know.
                    I have another question.
                    In this case I have to plug both sd card and usb flash for everything to work.
                    Is there any way to combine those two into one?
                    I'm Windows user and when make sd card with Boot card maker, card remains empty in Windows (looks like empty)
                    and cannot copy files to usb flash and make it the only device I need for boot.
                    Any suggestion how to do that?
                    Thanks.

                    Comment


                      I don't know how to implement system startup in coreelec. Libreelec and Armbian can be made to run from SD card. But for this you need to use Linux (it can be run in LIVE-CD mode on any PC) to write your u-boot option to the SD card.

                      Comment


                        I think that coreelec is the same as libre, but if don't work I will install libre, doesn't matter.
                        Will make live CD or live usb with Linux, any suggestions which Linux to try?
                        What then, what to do when boot to Linux?

                        Comment


                          You can use any LInux you like. Write the LE or Armbian image to the SD card. Rename the script "s905_autoscript"to " aml_autoscript". Copy to SD card need the file "u-boot.bin.sd.bin". Run Linux on your PC. Connect SD card to PC. Open the terminal. Switch to the "root" user mode with the "sudo su" command (a prompt with the "#" symbol should appear on the line). Run the command "fdisk l". Carefully examine the output of this command and find how your SD card is marked in this list. Execute two u-boot write commands on the SD card.

                          dd if=u-boot.bin.sd.bin of=/dev/<name of your Sd card in the system> conv=fsync bs=1 count=442
                          dd if=u-boot.bin.sd.bin of=/dev/<name of your Sd card in the system> conv=fsync bs=512 skip=1 seek=1

                          After these steps, the SD card will boot and have a working system.

                          Comment


                            Thanks, this works!
                            Made live usb with some small Linux distro, think Slack, wrote commands you gave me on prepared SD card with Libre and box boot just with that SD card.
                            Then I tried something else.
                            Made new SD card with CoreElec, then use Boot card maker to write u-boot.bin.sd.bin, just untick option "format".
                            I got bootable SD card with CoreElec , no need for Linux step.
                            So, everything is working now from SD card.
                            I tried to do the same with USB stick, but won't boot.
                            Think that boot device must be SD card.
                            I would like more if can use USB stick because I have couple of those that don't use, but never mind, it's important that works.
                            Thanks again.

                            Comment


                              USB media cannot be made bootable.

                              Comment


                                Help i never make it work to may tanix tx3 i try different dtb.img but no luck if someone make it on tanix tx3 can you help me please.

                                Comment

                                Working...
                                X