From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Mon, 16 Nov 2015 12:10:31 +0100 Subject: [U-Boot] [PATCH 4/4] km/scripts: search for kernel/DTBs at serverip:/PRODUCTNAME via TFTP in develop mode In-Reply-To: <1447427722-24450-5-git-send-email-valentin.longchamp@keymile.com> References: <1447427722-24450-1-git-send-email-valentin.longchamp@keymile.com> <1447427722-24450-5-git-send-email-valentin.longchamp@keymile.com> Message-ID: <5649B9A7.9070500@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Valentin, Am 13.11.2015 um 16:15 schrieb Valentin Longchamp: > From: Tobias M?ller > > Search for the kernel and DTBs in a folder named PRODUCTNAME (found in the IVM) > at the TFTP server instead of the u-boot boardname. > > Signed-off-by: Tobias M?ller > Signed-off-by: Valentin Longchamp > --- > > board/keymile/scripts/develop-common.txt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Reviewed-by: Heiko Schocher bye, Heiko > > diff --git a/board/keymile/scripts/develop-common.txt b/board/keymile/scripts/develop-common.txt > index 99a0589..265f02f 100644 > --- a/board/keymile/scripts/develop-common.txt > +++ b/board/keymile/scripts/develop-common.txt > @@ -1,10 +1,10 @@ > altbootcmd=run ${subbootcmds} > bootcmd=run ${subbootcmds} > -configure=run set_uimage; km_setboardid && saveenv && reset > +configure=run set_uimage; setenv tftppath ${IVM_Symbol} ; km_setboardid && saveenv && reset > subbootcmds=tftpfdt tftpkernel nfsargs add_default boot > nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${toolchain}/${arch} > -tftpfdt=if run set_fdthigh || test ${arch} != arm; then if tftpboot ${fdt_addr_r} ${hostname}/fdt_0x${IVM_BoardId}_0x${IVM_HWKey}.dtb; then; else tftpboot ${fdt_addr_r} ${hostname}/${hostname}.dtb; fi; else true; fi > -tftpkernel=tftpboot ${load_addr_r} ${hostname}/${uimage} > +tftpfdt=if run set_fdthigh || test ${arch} != arm; then if tftpboot ${fdt_addr_r} ${tftppath}/fdt_0x${IVM_BoardId}_0x${IVM_HWKey}.dtb; then; else tftpboot ${fdt_addr_r} ${tftppath}/${hostname}.dtb; fi; else true; fi > +tftpkernel=tftpboot ${load_addr_r} ${tftppath}/${uimage} > toolchain=/opt/eldk > rootfssize=0 > set_uimage=printenv uimage || setenv uimage uImage > -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany