Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Temporarily boot firmware from SD card with plain files dtb.img, boot.img etc. on SD root possible?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Temporarily boot firmware from SD card with plain files dtb.img, boot.img etc. on SD root possible?

    I read bout libre- or corelec and the ability to boot temporarily from SD card if I understood right.Users advised to just put plain img files in root dir of SD card press reset while connecting power supply - that's it!

    I ask, because this way I was able to test some firmware without taking risk of brick due to incompatibility...

    (cant remove query on bottom......)
    Starts
    03-04-2019
    Ends
    04-04-2019

    #2
    hmm..
    libreelec has a tool that makes a sdcard (see site or better the forum )
    are you trying to boot android from sdcard?
    if yes...
    there are treads/posts about it here :



    last time.. I checked, it required a lot of editing of the firmware

    anyway.. goodluck

    Comment


      #3
      I've read somewhere to just put images on it...dtb.img, boot.img ...

      Yes I'd like to boot android from sd

      Comment


        #4
        Alright, maybe someone can assist. I grabbed this firmware package: NEXBOX-A95X_S905X_7.1_8189_8g1g_171118

        It came along with these files:

        aml_sdc_burn.ini
        aml_upgrade_package.img
        u-boot.bin.sd.bin


        I wondered about the u-boot.bin.sd.bin and was about to delete that, then I googled and found this VIM related: https://docs.khadas.com/vim1/CreateBootableSDCard.html

        Getting Started

        Download VIM1 U-Boot or build U-Boot to get the bootloader blob for your SD-Card.
        No matter which method you choose, you need to keep in mind that there are different bootloader blobs for different boot disks/media:
        • U-Boot blob u-boot.bin.sd.bin is built for SD-Cards
        • U-Boot blob u-boot.bin is built for eMMC Storage
        Insert the SD-Card into your PC, and make sure the disk is unmounted:
        $ umount /dev/sdb1
        Format the SD-Card as Fat32:
        $ sudo mkfs.vfat /dev/sdb1
        Run dd to write the U-Boot blob into the first sector of SD-Card:
        $ sudo dd if=u-boot.bin.sd.bin of=/dev/sdb conv=fsync,notrunc bs=1 count=444 $ sudo dd if=u-boot.bin.sd.bin of=/dev/sdb conv=fsync,notrunc bs=512 skip=1 seek=1
        Eject the SD-Card from your PC:
        $ sudo eject /dev/sdb
        Check Your Bootable SD-Card

        Ensure that you have done the correct setup of your Serial to USB Module.

        In order to check the Bootable SD-Card, you may also need to make sure that all data stored in the onboard eMMC has been completely erased.
        I am in Windows....how can I write into first sector of SD?

        Comment

        Working...
        X