Changes between Version 7 and Version 8 of newport/firmware
- Timestamp:
- 11/09/2018 05:24:39 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
newport/firmware
v7 v8 255 255 The U-Boot bootloader is wrapped in a ATF FIP package placed at '0x0f00000 - 0x0ff00000' (960KiB at 15MiB offset) and is loaded/verified/executed by the ATF. You can update this taking the 'fip.img' created by the Newport BSP Makefile uboot target and using Linux {{{dd}}} or U-Boot {{{mmc-write}}}. 256 256 257 For example: 257 Examples: 258 * build u-boot and update the fip.img within the u-boot directory: 259 {{{#!bash 260 cd /usr/src/newport/bsp 261 . ./setup_environment 262 cd u-boot 263 make -j8 distclean thunderx_81xx_defconfig u-boot-nodtb.bin && \ 264 cp ../atf/build/t81/release/fip.bin fip.img && \ 265 fiptool update --nt-fw u-boot-nodtb.bin fip.img 266 }}} 258 267 * write fip.img in Linux: 259 268 {{{#!bash 260 dd if=fip.bin of=/dev/mmcblk0 bs=1M seek=15 # program at 15MiB offset 261 }}} 269 dd if=fip.img of=/dev/mmcblk0 bs=1M seek=15 # program at 15MiB offset 270 }}} 271 * write fip.img in U-Boot: 272 {{{#!bash 273 tftpboot $loadaddr newport/fip.img && mmc write $loadaddr 0x7800 0x780 # update 960kb at 15mb offset 274 }}} 275 262 276 263 277