summaryrefslogtreecommitdiff
path: root/board/keymile/scripts/ramfs-common.txt
diff options
context:
space:
mode:
authorGerlando Falauto <gerlando.falauto@keymile.com>2014-01-27 16:58:27 +0100
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-02-13 16:17:54 +0100
commit7b2268b88fb9a67b13563fa61b8ae282b9aa6e00 (patch)
treedf1471f49166260d74f3f03597d08a5cb2808bb3 /board/keymile/scripts/ramfs-common.txt
parentfa6e0ecb8aeedbc2138c162dc0319920b7e8e34b (diff)
arm/km: enable FDT for km_kirwkood
This consists of: a) Defining the addresses, enabling fdtsupport [arm] b) Defining "cramfsloadfdt" [arm,powerpc => common] c) Adding the FDT address to bootm [arm,powerpc => common] d) Defining "tftpfdt" in ramfs-,develop- [arm,powerpc >= common] This should work with 3.10 kernels, whether loaded through TFTP (with rootfs either through NFS or TFTP-ramfs) or from the NAND. The machid was left unchanged, this should keep compatibility with both older and newer kernels. Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com> Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Acked-by: Valentin Longchamp <valentin.longchamp@keymile.com>
Diffstat (limited to 'board/keymile/scripts/ramfs-common.txt')
-rw-r--r--board/keymile/scripts/ramfs-common.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/keymile/scripts/ramfs-common.txt b/board/keymile/scripts/ramfs-common.txt
index 502c8631f4..0cfb36fba0 100644
--- a/board/keymile/scripts/ramfs-common.txt
+++ b/board/keymile/scripts/ramfs-common.txt
@@ -7,6 +7,7 @@ nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}
configure=run set_uimage; km_setboardid && saveenv && reset
rootfsfile=${hostname}/rootfsImage
setrootfsaddr=setexpr value ${pnvramaddr} - ${rootfssize} && setenv rootfsaddr 0x${value}
+tftpfdt=tftpboot ${fdt_addr_r} ${hostname}/${hostname}.dtb
tftpkernel=tftpboot ${load_addr_r} ${hostname}/${uimage}
tftpramfs=tftpboot ${rootfsaddr} ${hostname}/rootfsImage
set_uimage=printenv uimage || setenv uimage uImage