Home
last modified time | relevance | path

Searched refs:img (Results 1 – 25 of 108) sorted by relevance

12345

/rk3399_rockchip-uboot/board/freescale/common/
H A Dfsl_validate.c65 static u32 check_ie(struct fsl_secboot_img_priv *img) in check_ie() argument
67 if (img->hdr.ie_flag & IE_FLAG_MASK) in check_ie()
183 static u32 check_srk(struct fsl_secboot_img_priv *img) in check_srk() argument
188 return !check_ie(img); in check_srk()
192 if (img->hdr.len_kr.srk_table_flag & SRK_FLAG) in check_srk()
220 static u32 read_validate_srk_tbl(struct fsl_secboot_img_priv *img) in read_validate_srk_tbl() argument
224 struct fsl_secboot_img_hdr *hdr = &img->hdr; in read_validate_srk_tbl()
225 void *esbc = (u8 *)(uintptr_t)img->ehdrloc; in read_validate_srk_tbl()
243 memcpy(&img->srk_tbl, esbc + hdr->srk_tbl_off, size); in read_validate_srk_tbl()
246 if (!CHECK_KEY_LEN(img->srk_tbl[i].key_len)) in read_validate_srk_tbl()
[all …]
/rk3399_rockchip-uboot/tools/
H A Dmksunxiboot.c70 struct boot_img img; in main() local
77 if ((sizeof(img.header) % 32) != 0) { in main()
116 memset(&img, 0, sizeof(img)); in main()
134 count = read(fd_in, img.code, file_size); in main()
141 img.header.b_instruction = /* b instruction */ in main()
145 memcpy(img.header.magic, BOOT0_MAGIC, 8); /* no '0' termination */ in main()
146 img.header.length = in main()
148 img.header.b_instruction = cpu_to_le32(img.header.b_instruction); in main()
149 img.header.length = cpu_to_le32(img.header.length); in main()
151 memcpy(img.header.spl_signature, SPL_SIGNATURE, 3); /* "sunxi" marker */ in main()
[all …]
H A Dkwboot.c571 void *img; in kwboot_mmap_image() local
574 img = NULL; in kwboot_mmap_image()
586 img = mmap(NULL, st.st_size, prot, flags, fd, 0); in kwboot_mmap_image()
587 if (img == MAP_FAILED) { in kwboot_mmap_image()
588 img = NULL; in kwboot_mmap_image()
595 if (rc && img) { in kwboot_mmap_image()
596 munmap(img, st.st_size); in kwboot_mmap_image()
597 img = NULL; in kwboot_mmap_image()
602 return img; in kwboot_mmap_image()
617 kwboot_img_patch_hdr(void *img, size_t size) in kwboot_img_patch_hdr() argument
[all …]
/rk3399_rockchip-uboot/scripts/
H A DREADME.rockchip16 ./scripts/pack_resource.sh resource.img
19 ./scripts/unpack_resource.sh resource.img out/
22 ./scripts/mkbootimg --kernel zImage --second resource.img --ramdisk ramdisk.img --out boot.img
25 ./scripts/unpack_bootimg --boot_img boot.img --out out/
28 ./scripts/repack-bootimg --boot_img boot.img --kernel zImage -o boot_repack.img
36 ./scripts/avbtool.py info_image --image vbmeta.img
41 ./tools/resource_tool --unpack --image=resource.img out/
45 ./tools/trust_merger --unpack trust.img
52 ./tools/loaderimage --pack --uboot ./u-boot.bin uboot.img 0x60000000 --size 1024 2
53 ./tools/loaderimage --unpack --uboot uboot.img uboot.bin
[all …]
H A Duimage-pack.sh10 IMG_NAME=boot.img
19 …fff -e 0xffffffff -d ${IMG_DIR}/kernel.img:${IMG_DIR}/ramdisk.img:${IMG_DIR}/rk-kernel.dtb:${IMG_D…
H A Datf.sh45 rm trust*.img -f
50 cp ${IMG} ./trust.img
H A Duboot.sh32 rm uboot.img -f
53 ../rkbin/tools/loaderimage --pack --uboot u-boot.bin uboot.img ${LOAD_ADDR} ${SIZE}
/rk3399_rockchip-uboot/test/fs/
H A Dfat-noncontig-test.sh57 img=${odir}/fat-noncontig.img
60 testfn=noncontig.img
75 if [ ! -f ${img} ]; then
76 fallocate -l 40M ${img}
79 dd if=/dev/zero of=${img} bs=1024 count=$((40 * 1024))
85 mkfs.fat ${img}
91 sudo mount -o loop,uid=$(id -u) ${img} ${mnt}
98 fn=${mnt}/keep-${sects}.img
100 fn=${mnt}/remove-${sects}.img
104 rm -f ${mnt}/remove-*.img
[all …]
/rk3399_rockchip-uboot/cmd/
H A Dbootuimage.c56 image_header_t *img; in do_boot_uimage() local
67 img = do_boot_uimage_storage(); in do_boot_uimage()
69 img = do_boot_uimage_ram(argv); in do_boot_uimage()
71 if (!img) { in do_boot_uimage()
76 if (uimage_sysmem_reserve_each(img, &ramdisk_sz)) in do_boot_uimage()
79 snprintf(uimg_addr, sizeof(uimg_addr), "0x%lx", (ulong)img); in do_boot_uimage()
95 uimage_sysmem_free_each(img, ramdisk_sz); in do_boot_uimage()
/rk3399_rockchip-uboot/board/freescale/mx6sabresd/
H A DREADME24 This will generate the SPL and u-boot.img binaries.
30 - Flash the u-boot.img binary into the SD card:
32 $ sudo dd if=u-boot.img of=/dev/sdX bs=1K seek=69 && sync
42 This will generate the SPL and u-boot.img binaries.
54 - Flash SPL and u-boot.img binaries into the eMMC:
57 $ sudo dd if=u-boot.img of=/dev/sdX bs=1K seek=69 && sync
68 This will generate the SPL image called SPL and the u-boot.img.
74 - Flash the u-boot.img image into the SD card:
76 $ sudo dd if=u-boot.img of=/dev/sdX bs=1K seek=69 oflag=sync status=none && sync
/rk3399_rockchip-uboot/board/freescale/mx6sabreauto/
H A DREADME12 This will generate the SPL and u-boot.img binaries.
18 - Flash the u-boot.img binary into the SD card:
20 $ sudo dd if=u-boot.img of=/dev/sdX bs=1K seek=69 && sync
35 This will generate the SPL image called SPL and the u-boot.img.
41 - Flash the u-boot.img image into the SD card:
43 $ sudo dd if=u-boot.img of=/dev/sdb bs=1K seek=69 && sync
/rk3399_rockchip-uboot/board/udoo/
H A DREADME10 This will generate the SPL image called SPL and the u-boot.img.
16 - Flash the u-boot.img image into the SD card:
18 sudo dd if=u-boot.img of=/dev/mmcblk0 bs=1k seek=69; sync
/rk3399_rockchip-uboot/board/solidrun/mx6cuboxi/
H A DREADME10 This will generate the SPL image called SPL and the u-boot.img.
16 - Flash the u-boot.img image into the SD card:
18 sudo dd if=u-boot.img of=/dev/mmcblk0 bs=1k seek=69; sync
/rk3399_rockchip-uboot/board/rockchip/evb_rk3399/
H A DREADME81 > tools/mkimage -n rk3399 -T rksd -d spl/u-boot-spl.bin idbspl.img
83 Get idbspl.img in this step.
90 > ./rkbin/tools/loaderimage --pack --uboot u-boot/u-boot-dtb.bin uboot.img
92 Get trust.img and uboot.img in this step.
101 > rkdeveloptool wl 64 u-boot/idbspl.img
110 > rkdeveloptool wl 0x4000 u-boot/uboot.img
111 > rkdeveloptool wl 0x6000 u-boot/trust.img
/rk3399_rockchip-uboot/board/congatec/cgtqmx6eval/
H A DREADME18 - u-boot.img
23 Copy SPL and u-boot.img to the exported TFTP directory of the
38 => tftp 0x12000000 u-boot.img
53 - Flash the u-boot.img image into the SD card:
55 sudo dd if=u-boot.img of=/dev/mmcblk0 bs=1k seek=69; sync
/rk3399_rockchip-uboot/board/rockchip/sheep_rk3368/
H A DREADME3 Get miniloader and trust.img form rockchip vendor u-boot source code
17 > ../rockchip-uboot/tools/loaderimage --pack --uboot u-boot.bin u-boot.img
25 > rkdeveloptool wl 0x6000 ./rockchip-uboot/trust.img
26 > rkdeveloptool wl 0x4000 ./u-boot/u-boot.img
/rk3399_rockchip-uboot/board/rockchip/kylin_rk3036/
H A DREADME46 > tools/mkimage -n rk3036 -T rksd -d tpl/u-boot-tpl.bin idbloader.img
47 > cat spl/u-boot-spl.bin >> idbloader.img
49 Get idbloader.img in this step.
56 > rkdeveloptool wl 64 u-boot/idbloader.img
62 > dd if=u-boot/idbloader.img of=/dev/sdb seek=64
/rk3399_rockchip-uboot/board/grinn/chiliboard/
H A DREADME10 This will generate the SPL image called MLO and the u-boot.img.
16 - Flash the u-boot.img image into the micro SD card:
18 sudo dd if=u-boot.img of=/dev/mmcblk0 bs=128k seek=3; sync
/rk3399_rockchip-uboot/board/work-microwave/work_92105/
H A DREADME35 3. u-boot.img A U-Boot image with a mkimage header prepended.
45 (in addition to spl/u-boot-spl.bin and u-boot.img if they were not made
48 4. lpc32xx-spl.img spl/u-boot-spl.bin, with a LPC32XX boot header
55 5. lpc32xx-boot-0.bin lpc32xx-spl.img, padded with 0xFF bytes to a
64 u-boot.img concatenated. This file represents
83 (load lpc32xx-spl.img or lpc32xx-boot-N.bin at location $loadaddr)
90 (load u-boot.img at location $loadaddr)
/rk3399_rockchip-uboot/board/qualcomm/dragonboard410c/
H A Dreadme.txt18 $ dtbTool -o dt.img arch/arm/dts
21 $ mkbootimg --kernel=u-boot-dtb.bin --output=u-boot.img --dt=dt.img \
27 $ fastboot boot u-boot.img
29 $ fastboot flash boot u-boot.img
/rk3399_rockchip-uboot/board/rockchip/gva_rk3229/
H A DREADME13 <android root>/vendor/bsp/rockchip/security/optee/os/trust_with_ta.img)
53 > rkbin/tools/loaderimage --pack --uboot u-boot-dtb.bin uboot.img 0x61000000
55 Get uboot.img in this step.
64 > rkdeveloptool wl 0x4000 uboot.img
65 > rkdeveloptool wl 0x6000 trust.img
/rk3399_rockchip-uboot/board/rockchip/evb_rk3229/
H A DREADME50 > tools/mkimage -n rk322x -T rksd -d tpl/u-boot-spl.bin idbloader.img
51 > cat spl/u-boot-spl.bin >> idbloader.img
53 Get idbloader.img in this step.
60 > rkdeveloptool wl 64 u-boot/idbloader.img
66 > dd if=u-boot/idbloader.img of=/dev/sdb seek=64
/rk3399_rockchip-uboot/board/grinn/liteboard/
H A DREADME10 This will generate the SPL image called SPL and the u-boot.img.
16 - Flash the u-boot.img image into the micro SD card:
18 sudo dd if=u-boot.img of=/dev/mmcblk0 bs=1k seek=69; sync
/rk3399_rockchip-uboot/board/engicam/geam6ul/
H A DREADME10 This will generate the SPL image called SPL and the u-boot-dtb.img.
16 - Flash the u-boot-dtb.img image into the micro SD card:
18 sudo dd if=u-boot-dtb.img of=/dev/mmcblk0 bs=1k seek=69; sync
/rk3399_rockchip-uboot/board/engicam/isiotmx6ul/
H A DREADME10 This will generate the SPL image called SPL and the u-boot-dtb.img.
16 - Flash the u-boot-dtb.img image into the micro SD card:
18 sudo dd if=u-boot-dtb.img of=/dev/mmcblk0 bs=1k seek=69; sync

12345