Tools:
├── s5p4418-sdmmc.sh -- For burnning ubootpak.bin to external booting SDCARD
/*******************************************************************************************/
2.
How to compile:
1)bootloader(ubootpak.bin)
./build.sh -u
1)to be ready one SD card, create a folder "x4418-android" in sd card root directory.
2)cp the images: ubootpak.bin boot.img system.img userdata.img cache.img, to x4418-android.
3)in folder x4418-android,create file "env.txt",it is used to configure which images to be updated.
eg:
ubootpak=1
boot=1
system=1
userdata=0
cache=0
'1' means 'to be updated'
'0' means 'do not be updated'
so above information means:to update ubootpak.bin boot.img system.img, do not update userdata.img cache.img
Notice:
when env.txt is not existent, or it is empty, it will be to update ubootpak.bin boot.img system.img default.
Case 2: when emmc(inand) is empty; we need to make a booting sd card.
1)use tools gparted to partition SD card: front space reserved 128MB; other format fat32 filesystem.
2)run:sudo mkfs.vfat /dev/sdb1 (or sdc1,sde1),to format sd card to FAT32.
3)write ubootpak into sd card.
To run: sudo ./s5p4418-sdmmc.sh /dev/sdb ubootpak.bin
4)create a folder "x4418-android" in sd card root directory.
3)cp the images: ubootpak.bin boot.img system.img userdata.img cache.img, to x4418-android.
4)in folder x4418-android,create file "env.txt",it is used to configure which images to be updated.
eg:
ubootpak=1
boot=1
system=1
userdata=0
cache=0
'1' means 'to be updated'
'0' means 'do not be updated'
so above information means:to update ubootpak.bin boot.img system.img, do not update userdata.img cache.img
Notice:
when env.txt is not existent, or it is empty, it will be to update ubootpak.bin boot.img system.img default.
/*******************************************************************************************/
5.
CPU boot up order:
SD0 --> eMMC(SD2) --> USB
when sd card has been writen ubootpak.bin and be inserted into SD0, cpu boot up from SD card.
or, it will boot up from eMMC.
or, if eMMC is empty, it will boot up form USB.
作者: zk2015 时间: 2015-5-20 16:21
它是否支持用SD卡升级呢?作者: lly 时间: 2015-6-1 12:10
支持,查看用户手册,里面有介绍作者: ach_dmatek816 时间: 2015-9-16 15:21
请问,2ndboot和nsih这两个文件是如何合并生成2ndboot.bin文件的呢?作者: yuxuefly 时间: 2015-9-30 20:54
Failed to mount ext2 filesystem...
使用SD卡烧写镜像,emmc(inand) is empty,出现的错误,如何解决?作者: yuxuefly 时间: 2015-9-30 20:55
Failed to mount ext2 filesystem...
使用SD卡烧写镜像,emmc(inand) is empty,出现的错误,如何解决?