Lines Matching +full:1 +full:kb

12 1. Secondary Program Loader (SPL)
70 specified by providing kobs-ng with the --search_exponent=1 argument). Once in
74 kobs-ng init -v -x --search_exponent=1 SPL
88 Ventana > setenv mtdparts mtdparts=nand:14m(spl),2m(uboot),1m(env),-(rootfs)
99 - env: 1M
111 MMC the SPL will be loaded from offset 0x400 (1KB). Once the SPL is
112 booted, it will load and execute U-Boot (u-boot.img) from offset 69KB
126 # zero out 1MB of device
127 sudo dd if=/dev/zero of=$DEV count=1 bs=1M oflag=sync status=none && sync
128 # copy SPL to 1KB offset
129 sudo dd if=SPL of=$DEV bs=1K seek=1 oflag=sync status=none && sync
130 # copy U-Boot to 69KB offset
131 sudo dd if=u-boot.img of=$DEV bs=1K seek=69 oflag=sync status=none && sync
132 # create a partition table with a single rootfs partition starting at 1MB
133 printf "1,,L\n" | sudo sfdisk --in-order --no-reread -L -uM $DEV && sync
135 sudo mkfs.ext4 -L root ${DEV}1
137 sudo udisks --mount ${DEV}1
144 - spl : 1KB-69KB (68KB) required by IMX6 BOOT ROM
145 - uboot : 69KB-709KB (640KB) defined by
147 - env : 709KB-965KB (256KB) defined by
150 - rootfs : 1MB-
165 with ~1MB kernel) to 6 seconds or more (2GB NAND Flash with ~6 kernel)
174 as the size of the SPL is fairly limitted (to 64KB based on the smallest
214 Ventana > setenv mtdparts 'mtdparts=nand:14m(spl),2m(uboot),1m(env),1m(args),10m(kernel),-(rootfs)'
239 Ventana > i2c dev 0 && i2c mw 0x50 0x00.0 0 1
259 CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0x800 (1MB) - offset of 'args'
266 IMX6 BOOT ROM (fixed offset of 1KB), and U-Boot can be loaded by the SPL
267 (fixed offset of 69KB defined by CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR).
273 # zero out 1MB of device
274 sudo dd if=/dev/zero of=$DEV count=1 bs=1M oflag=sync status=none && sync
275 # copy SPL to 1KB offset
276 sudo dd if=SPL of=$DEV bs=1K seek=1 oflag=sync status=none && sync
277 # copy U-Boot to 69KB offset
278 sudo dd if=u-boot.img of=$DEV bs=1K seek=69 oflag=sync status=none && sync
282 sudo mkfs.ext4 -L root ${DEV}1
284 sudo udisks --mount ${DEV}1
295 Ventana > ext2load mmc 0:1 ${fdt_addr} boot/${fdt_file2}
298 Ventana > ext2load mmc 0:1 ${loadaddr} boot/uImage
309 # write args 1MB data (0x800 sectors) to 1MB offset (0x800 sectors)
313 Ventana > i2c dev 0 && i2c mw 0x50 0x00.0 0 1