Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Boot from SD?

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

    Boot from SD?

    I've seen that Odroid C1 S805 boots Linux or Android from SD. Also Wetek offers on Amlogic MX chipset Openelec SD image that boots from SD card.
    Any idea how to make other players based on Amlogic chipsets boot OS from SD?

    #2
    yes it possible

    I dont have amlogic device. but amlogic official out

    orginal link: http://openlinux.amlogic.com/wiki/in...rom_an_SD_Card Running Android from an SD Card

    Page last modified 11:36, 16 Apr 2013 by cary.wu
    Instead of running Android from internal storage, you can run Android from SD card.
    You will need to prepare the SD card as follow:
    $ sudo fdisk /dev/<your sdcard,for example sdd>
    Command (m for help): p

    Disk /dev/sdd: 1977 MB, 1977614336 bytes
    64 heads, 63 sectors/track, 957 cylinders
    Units = cylinders of 4032 * 512 = 2064384 bytes
    Disk identifier: 0x00000000

    Device Boot Start End Blocks Id System
    /dev/sdd1 1 30 60448+ b W95 FAT32
    /dev/sdd2 31 957 1868832 83 Linux
    Format the partitions using the following commands:
    $ sudo mkfs.msdos /dev/sdd1
    $ sudo mkfs.ext3 /dev/sdd2
    Download a kernel the Android release from here and placed it in the FAT32 partition:
    $ sudo mkdir -p /mnt/fat32
    $ sudo mount /dev/sdd1 /mnt/fat32
    $ sudo cp uImage.android /mnt/fat32
    Unpack the Android rootfs tarball prepared earlier onto the EXT2 partition:
    $ sudo mkdir -p /mnt/ext3
    $ sudo mount /dev/sdd2 /mnt/ext3
    $ sudo tar jxfv out/target/product/m1ref/rootfs.tar.bz2 --numeric-owner -C /mnt/ext3
    And the final steps:
    $ sync
    $ sudo umount /mnt/fat32
    $ sudo umount /mnt/ext3
    Now you can take the SD card and insert into the M1 reference board, at the uboot command line prompt, issue the following command:
    # setenv bootcmd 'mmc init;mmcinfo;fatload mmc 0:1 82000000 uImage.android;bootm 82000000;'
    # setenv bootargs 'console=ttyS0,115200n8 root=/dev/cardblksd2 rw rootfstype=ext3 init=/init mac=${ethaddr} rootwait'
    # saveenv
    # boot

    Comment


      #3
      But how to generate the 'uImage.android' ?
      RK3288 Devices
      - Overview BOX (LINK !)
      - Overview STICK (Dongle) (LINK !)

      MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
      UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
      Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
      Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

      RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
      Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

      Comment


        #4
        boot.img should contain uimage.Android, which is Android uimage kernel.
        But this method of booting requires serial access & other boxes (Wetek and Odroid C1) don't need serial access to boot from SD card.

        Comment

        Working...
        X