summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGatis Paeglis <gatis.paeglis@qt.io>2017-01-05 13:24:59 +0100
committerGatis Paeglis <gatis.paeglis@qt.io>2017-01-05 12:30:32 +0000
commit9a7eef1fec80e732451d501a658df9f8058a404d (patch)
tree9eaa1d2f037657d1bbdd276917ef2f2cda53ca24
parent7e24f7a9c233184b52c11ce9598cc923e9aa61d5 (diff)
update device integration README file
The 'bootdir' now ends with '/'. Update code snippets to reflect that. Change-Id: Ia0d0ca50bc55472573dc4593c76911a8b9b91b38 Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
-rw-r--r--examples/device-integration/README11
1 files changed, 3 insertions, 8 deletions
diff --git a/examples/device-integration/README b/examples/device-integration/README
index cc91335..8fcf97c 100644
--- a/examples/device-integration/README
+++ b/examples/device-integration/README
@@ -36,11 +36,6 @@ EXAMPLE 1 - nitrogen6x/ (Boundary Devices i.MX6)
the copy with 'vim' editor and manually remove the u-boot header.
Replace:
- if ${fs}load ${dtype} ${disk}:1 12000000 ${bootdir}$dtbname ; then
- With:
- if ${fs}load ${dtype} ${disk}:1 12000000 ${bootdir}/$dtbname ; then
-
- Replace:
if ${fs}load ${dtype} ${disk}:1 10800000 ${bootdir}uImage ; then
if itest.s x$havedtb == x ; then
bootm 10800000 ;
@@ -131,7 +126,7 @@ EXAMPLE 2 - beaglebone/ (BeagleBone Black)
optargs=consoleblank=0 vt.global_cursor_default=0 quiet
mmcroot=/dev/mmcblk0p2
loaduimage=load mmc ${bootpart} ${loadaddr} ${kernel_image}
- loadfdt=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
+ loadfdt=load mmc ${bootpart} ${fdtaddr} ${bootdir}${fdtfile}
loadramdisk=load mmc ${bootpart} ${rdaddr} ${ramdisk_image}
mmcargs=setenv bootargs $bootargs console=${console} ${optargs} root=${mmcroot} rootfstype=${mmcrootfstype}
mmcboot=run loadramdisk; echo Booting from mmc ....; run mmcargs; bootz ${loadaddr} ${rdaddr} ${fdtaddr}
@@ -166,7 +161,7 @@ EXAMPLE 3 - colibri-vf/ (Toradex Colibri VF)
bootpart=0:1
ramdisk_addr_r=0x86000000
loaduimage=load mmc ${bootpart} ${kernel_addr_r} ${kernel_image}
- loadfdt=load mmc ${bootpart} ${fdt_addr_r} ${bootdir}/${soc}-colibri-${fdt_board}.dtb
+ loadfdt=load mmc ${bootpart} ${fdt_addr_r} ${bootdir}${soc}-colibri-${fdt_board}.dtb
loadramdisk=load mmc ${bootpart} ${ramdisk_addr_r} ${ramdisk_image}
sdboot=run setup; setenv bootargs ${bootargs} ${defargs} ${sdargs} ${mtdparts} ${setupargs} ${vidargs}; echo Booting from MMC/SD card...; run loaduimage && run loadfdt && run loadramdisk && bootz ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
@@ -205,7 +200,7 @@ EXAMPLE 4 - imx6qsabresd/ (Freescale SABRE SD i.MX6)
env import -t $loadaddr $filesize
setenv ramdisk_addr 0x24000000
ext2load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${kernel_image}
- ext2load mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${bootdir}/${fdt_file}
+ ext2load mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${bootdir}${fdt_file}
ext2load mmc ${mmcdev}:${mmcpart} ${ramdisk_addr} ${ramdisk_image}
echo Booting from mmc ...
run videoargs