Uboot Build
http://linux-exynos.org/wiki/ODROID/u-bootUboot 소스
https://github.com/hardkernel/u-boot/tree/odroid-v2010.12
How to write zImage via dd command. (fastboot 참고)
http://codewalkerster.blogspot.kr/2014/03/how-to-write-zimage-via-dd-command.html
DD 명령어로 Image Backup
http://major.io/2010/12/14/mounting-a-raw-partition-file-made-with-dd-or-dd_rescue-in-linux/
BL2/BL1 정보 (Bootloader1/2)
http://com.odroid.com/sigong/nf_board/nboard_view.php?brd_id=odroidx&bid=3944
Uboot Build 및 Toolchain
https://wiki.odroid.com/old_product/odroid-x_u_q/odroid_u3/u3_building_u-boot
DD 명령어
http://forum.falinux.com/zbxe/index.php?document_srl=561988&mid=lecture_tip
https://en.wikipedia.org/wiki/Dd_(Unix)
https://linoxide.com/linux-command/linux-dd-command-create-1gb-file/
- ODROID-U3 Partition Table 구성
- Partition 관련설정부분
https://github.com/hardkernel/u-boot/blob/odroid-v2010.12/arch/arm/include/asm/arch-exynos/movi_partition.h
$ vi arch/arm/include/asm/arch-exynos/movi_partition.h #define PART_SIZE_FWBL1 (15 * 1024) #define PART_SIZE_BL1 (16 * 1024) #define PART_SIZE_UBOOT (1024 * 1024) #define PART_SIZE_TZSW (156 * 1024) #define PART_SIZE_KERNEL (8 * 1024 * 1024) #define PART_SIZE_ROOTFS (24 * 1024 * 1024)
SD Card Fusing Shell Script
https://github.com/hardkernel/u-boot/tree/odroid-v2010.12/sd_fuse
https://github.com/hardkernel/u-boot/blob/odroid-v2010.12/sd_fuse/sd_fusing.sh
- dd를 이용하여 직접 Image 구성방법
//각 binary file을 mmcblk0에 직접 write $ dd if=sd_fuse/bl1.HardKernel of=/dev/mmcblk0 seek=1 //seek= 1x512 bytes (default 512byte) $ dd if=sd_fuse/bl2.HardKernel of=/dev/mmcblk0 seek=31 //seek= 31x512 bytes (default 512byte) $ dd if=u-boot.bin of=/dev/mmcblk0 seek=63 $ dd if=sd_fuse/tzsw.HardKernel of=/dev/mmcblk0 seek=2111 $ dd conv=notrunc seek=2455 bs=512 if=zImage of=/dev/block/mmcblk0 $ dd if=zImage of=/dev/mmcblk0 seek=1 //seek= 1x512 bytes (default 512byte) $ dd if= of=/dev/mmcblk0 seek=31 $ dd if=u-boot.bin of=/dev/mmcblk0 seek=63 $ dd if=sd_fuse/tzsw.HardKernel of=/dev/mmcblk0 seek=2111 $ fdisk -l /media/sf_SHARED/images/sd_self_installer.img Disk /media/sf_SHARED/images/sd_self_installer.img: 524 MB, 524288000 bytes 189 heads, 61 sectors/track, 88 cylinders, total 1024000 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00008403 Device Boot Start End Blocks Id System /media/sf_SHARED/images/sd_self_installer.img1 204800 1023999 409600 b W95 FAT32 $ mount -o loop,offset=104857600 /media/sf_SHARED/images/sd_self_installer.img //204800 x512 = 104857600
댓글 없음 :
댓글 쓰기