From 18e2a979b5d89899249a14a74074a98d040c18bc Mon Sep 17 00:00:00 2001 From: Jose Miguel Sanchez Sanabria Date: Thu, 11 Oct 2018 17:20:24 +0200 Subject: IGEP0046: Add Video args to bootargs Signed-off-by: Jose Miguel Sanchez Sanabria --- include/configs/igep0046.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/include/configs/igep0046.h b/include/configs/igep0046.h index c131d00..eddd3aa 100644 --- a/include/configs/igep0046.h +++ b/include/configs/igep0046.h @@ -304,8 +304,10 @@ else "fi;\0" \ "netargs=setenv bootargs console=${console},${baudrate} " \ "root=/dev/nfs " \ - "ip=dhcp nfsroot=${serverip}:${rootnfs},v3,tcp\0" \ + VIDEO_ARGS "\0" \ + "ip=dhcp nfsroot=${serverip}:${rootnfs},v3,tcp " \ "netboot=echo Booting from net ...; " \ + VIDEO_ARGS_SCRIPT \ "run netargs; " \ "ping ${serverip}; " \ "if test ${ip_dyn} = yes; then " \ @@ -313,9 +315,9 @@ else "else " \ "setenv get_cmd tftp; " \ "fi; " \ - "${get_cmd} ${image}; " \ + "${get_cmd} ${bootdir}${image}; " \ "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \ - "if ${get_cmd} ${fdt_addr} ${fdt_file}; then " \ + "if ${get_cmd} ${fdt_addr} ${bootdir}${fdt_file}; then " \ "bootz ${loadaddr} - ${fdt_addr}; " \ "else " \ "if test ${boot_fdt} = try; then " \ @@ -451,8 +453,10 @@ else "fi;\0" \ "netargs=setenv bootargs console=${console},${baudrate} " \ "root=/dev/nfs " \ - "ip=dhcp nfsroot=${serverip}:${rootnfs},v3,tcp\0" \ + "ip=dhcp nfsroot=${serverip}:${rootnfs},v3,tcp " \ + VIDEO_ARGS "\0" \ "netboot=echo Booting from net ...; " \ + VIDEO_ARGS_SCRIPT \ "run netargs; " \ "ping ${serverip}; " \ "if test ${ip_dyn} = yes; then " \ @@ -460,9 +464,9 @@ else "else " \ "setenv get_cmd tftp; " \ "fi; " \ - "${get_cmd} ${image}; " \ + "${get_cmd} ${bootdir}${image}; " \ "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \ - "if ${get_cmd} ${fdt_addr} ${fdt_file}; then " \ + "if ${get_cmd} ${fdt_addr} ${bootdir}${fdt_file}; then " \ "bootz ${loadaddr} - ${fdt_addr}; " \ "else " \ "if test ${boot_fdt} = try; then " \ -- cgit v1.1