x86: theadorable-x86-common: Add further pci hotplug cmdline parameters
PATCH 1/3 x86: theadorable-x86-common: Add further pci hotplug cmdline parameters
This is needed for the PCIe hotplug to work correctly on some boards.
--- include/configs/theadorable-x86-common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
include/configs/theadorable-x86-common.h +2 -1
@@ -58,7 +58,8 @@"addmtd=setenv bootargs ${bootargs} ${mtdparts}\0" \"addmisc=setenv bootargs ${bootargs} " \"intel-spi.writeable=1 vmalloc=300M " \ -"pci=realloc=on,hpmemsize=0x12000000\0" \ +"pci=realloc=on,hpmemsize=0x12000000," \ +"hpmemprefsize=0,hpiosize=0\0" \"bootcmd=if env exists recovery_status;" \"then run swupdate;" \"else run yocto_boot;run swupdate;" \
Signature · 1 line
2.14.2
PATCH 2/3 x86: theadorable-x86-common: Move "-generic" into kernel-ver variable
This enables the easier usage of "-custom" kernel versions as well.
--- include/configs/theadorable-x86-common.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
include/configs/theadorable-x86-common.h +4 -4
@@ -46,7 +46,7 @@ "yocto_tty=" __stringify(DEF_ENV_YOCTO_TTY) "\0" \"start_eth=if test -n \"${eth_init}\";" \"then run eth_init;else sleep 0;fi\0" \ -"kernel-ver=4.8.0-54\0" \ +"kernel-ver=4.8.0-54-generic\0" \"boot=zboot 03000000 0 04000000 ${filesize}\0" \"mtdparts=mtdparts=intel-spi:4k(descriptor),7084k(me)," \"8k(env1),8k(env2),64k(mrc),640k(u-boot)," \
@@ -69,9 +69,9 @@"ubuntu_args_quiet=setenv bootargs " \"root=/dev/sda${ubuntu_part} ro quiet\0" \"ubuntu_load=load scsi 0:${ubuntu_part} 03000000 " \ -"/boot/vmlinuz-${kernel-ver}-generic;" \ +"/boot/vmlinuz-${kernel-ver};" \"load scsi 0:${ubuntu_part} 04000000 " \ -"/boot/initrd.img-${kernel-ver}-generic\0" \ +"/boot/initrd.img-${kernel-ver}\0" \"ubuntu_boot=run ubuntu_args_quiet addmtd addmisc " \"ubuntu_load boot\0" \"ubuntu_boot_console=run ubuntu_args addtty_ubuntu " \
@@ -80,7 +80,7 @@"net_boot=run start_eth net_args addtty_yocto addmtd addmisc;" \"tftp 03000000 ${tftpdir}/bzImage;" \"load scsi 0:${ubuntu_part} 04000000 " \ -"/boot/initrd.img-${kernel-ver}-generic;" \ +"/boot/initrd.img-${kernel-ver};" \"run boot\0" \"yocto_args=setenv bootargs root=/dev/sda${yocto_part} " \"panic=1\0" \
Signature · 1 line
2.14.2
PATCH 2/3 x86: theadorable-x86-common: Move "-generic" into kernel-ver variable
Quoted 8 lines · Stefan Roese
This enables the easier usage of "-custom" kernel versions as well.
Signed-off-by Stefan Roese <[email protected]>Cc Bin Meng <[email protected]>--- include/configs/theadorable-x86-common.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
PATCH 2/3 x86: theadorable-x86-common: Move "-generic" into kernel-ver variable
Quoted 11 lines · Bin Meng
Quoted 8 lines · Stefan Roese
This enables the easier usage of "-custom" kernel versions as well.
Signed-off-by Stefan Roese <[email protected]>Cc Bin Meng <[email protected]>--- include/configs/theadorable-x86-common.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)Reviewed-by Bin Meng <[email protected]>
applied to u-boot-x86, thanks!
PATCH 3/3 x86: theadorable-x86-xxx_defconfig: Enable setexpr command
In reply to Stefan RoeseThe setexpr command is useful for scripting, lets enable it for all x86 based theadorable platforms.
--- configs/theadorable-x86-conga-qa3-e3845-pcie-x4_defconfig | 1 - configs/theadorable-x86-conga-qa3-e3845_defconfig | 1 - configs/theadorable-x86-dfi-bt700_defconfig | 1 - 3 files changed, 3 deletions(-)
configs/theadorable-x86-conga-qa3-e3845-pcie-x4_defconfig +0 -1
@@ -27,7 +27,6 @@ CONFIG_CMD_MMC=y CONFIG_CMD_SF=y CONFIG_CMD_SPI=y CONFIG_CMD_USB=y -# CONFIG_CMD_SETEXPR is not set CONFIG_CMD_DHCP=y # CONFIG_CMD_NFS is not set CONFIG_CMD_PING=y
configs/theadorable-x86-conga-qa3-e3845_defconfig +0 -1
@@ -26,7 +26,6 @@ CONFIG_CMD_MMC=y CONFIG_CMD_SF=y CONFIG_CMD_SPI=y CONFIG_CMD_USB=y -# CONFIG_CMD_SETEXPR is not set CONFIG_CMD_DHCP=y # CONFIG_CMD_NFS is not set CONFIG_CMD_PING=y
configs/theadorable-x86-dfi-bt700_defconfig +0 -1
@@ -25,7 +25,6 @@ CONFIG_CMD_PART=y CONFIG_CMD_SF=y CONFIG_CMD_SPI=y CONFIG_CMD_USB=y -# CONFIG_CMD_SETEXPR is not set CONFIG_CMD_DHCP=y # CONFIG_CMD_NFS is not set CONFIG_CMD_PING=y
Signature · 1 line
2.14.2
PATCH 3/3 x86: theadorable-x86-xxx_defconfig: Enable setexpr command
Quoted 11 lines · Stefan Roese
The setexpr command is useful for scripting, lets enable it for all x86 based theadorable platforms.
Signed-off-by Stefan Roese <[email protected]>Cc Bin Meng <[email protected]>--- configs/theadorable-x86-conga-qa3-e3845-pcie-x4_defconfig | 1 - configs/theadorable-x86-conga-qa3-e3845_defconfig | 1 - configs/theadorable-x86-dfi-bt700_defconfig | 1 - 3 files changed, 3 deletions(-)
PATCH 3/3 x86: theadorable-x86-xxx_defconfig: Enable setexpr command
Quoted 13 lines · Bin Meng
Quoted 11 lines · Stefan Roese
The setexpr command is useful for scripting, lets enable it for all x86 based theadorable platforms.
Signed-off-by Stefan Roese <[email protected]>Cc Bin Meng <[email protected]>--- configs/theadorable-x86-conga-qa3-e3845-pcie-x4_defconfig | 1 - configs/theadorable-x86-conga-qa3-e3845_defconfig | 1 - configs/theadorable-x86-dfi-bt700_defconfig | 1 - 3 files changed, 3 deletions(-)
Quoted 1 line
Reviewed-by Bin Meng <[email protected]>
applied to u-boot-x86, thanks!
PATCH 1/3 x86: theadorable-x86-common: Add further pci hotplug cmdline parameters
In reply to Stefan RoeseQuoted 8 lines · Stefan Roese
This is needed for the PCIe hotplug to work correctly on some boards.
Signed-off-by Stefan Roese <[email protected]>Cc Bin Meng <[email protected]>--- include/configs/theadorable-x86-common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
PATCH 1/3 x86: theadorable-x86-common: Add further pci hotplug cmdline parameters
Quoted 11 lines · Bin Meng
Quoted 8 lines · Stefan Roese
This is needed for the PCIe hotplug to work correctly on some boards.
Signed-off-by Stefan Roese <[email protected]>Cc Bin Meng <[email protected]>--- include/configs/theadorable-x86-common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)Reviewed-by Bin Meng <[email protected]>
applied to u-boot-x86, thanks!