diff options
author | Potin Lai <potin.lai@quantatw.com> | 2022-09-15 09:11:07 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2022-09-15 20:43:19 +0300 |
commit | b29dabd94bad1b3c849384691356d1a7a4b9a440 (patch) | |
tree | 56456d9d84d3e55af57d06f5eca2b42d204f4e1d /meta-facebook | |
parent | 7eafe2da7b04a8531527f8f0058f8ee387f48cc4 (diff) | |
download | openbmc-b29dabd94bad1b3c849384691356d1a7a4b9a440.tar.xz |
meta-bletchley: bsp: increase vmalloc to 768M
We notice the spi-aspeed-smc driver failed to
Tested on QEMU with 2GB memory:
- vmalloc=512M: spi-aspeed-smc shows ioremap failed
root@bletchley:~# dmesg | grep "Kernel command line:"
[ 0.000000] Kernel command line: console=ttyS4,57600n8 root=/dev/ram rw vmalloc=512M
root@bletchley:~# dmesg | grep spi-aspeed-smc
[ 2.410462] spi-aspeed-smc 1e620000.spi: CE0 read buswidth:2 [0x203b0641]
[ 4.908989] spi-aspeed-smc 1e620000.spi: Calibration area too uniform, using low speed
[ 4.909416] spi-aspeed-smc 1e620000.spi: CE1 read buswidth:2 [0x203b0041]
[ 4.968292] spi-aspeed-smc 1e631000.spi: ioremap failed for resource [mem 0x50000000-0x5fffffff]
[ 4.969035] spi-aspeed-smc 1e631000.spi: missing AHB mapping window
[ 4.969301] spi-aspeed-smc: probe of 1e631000.spi failed with error -12
- vmalloc=768M: spi-aspeed-smc probe successfully
root@bletchley:~# dmesg | grep "Kernel command line:"
[ 0.000000] Kernel command line: console=ttyS4,57600n8 root=/dev/ram rw vmalloc=768M
root@bletchley:~# dmesg | grep spi-aspeed-smc
[ 2.672402] spi-aspeed-smc 1e620000.spi: CE0 read buswidth:2 [0x203b0641]
[ 2.844554] spi-aspeed-smc 1e620000.spi: Calibration area too uniform, using low speed
[ 2.845442] spi-aspeed-smc 1e620000.spi: CE1 read buswidth:2 [0x203b0041]
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I7ad7a2127a103db7cbefd6d89d42bd780294ceb0
Diffstat (limited to 'meta-facebook')
-rw-r--r-- | meta-facebook/meta-bletchley/recipes-bsp/u-boot/u-boot-aspeed-sdk/bletchley.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-facebook/meta-bletchley/recipes-bsp/u-boot/u-boot-aspeed-sdk/bletchley.cfg b/meta-facebook/meta-bletchley/recipes-bsp/u-boot/u-boot-aspeed-sdk/bletchley.cfg index c958aa2014..1e2a374f73 100644 --- a/meta-facebook/meta-bletchley/recipes-bsp/u-boot/u-boot-aspeed-sdk/bletchley.cfg +++ b/meta-facebook/meta-bletchley/recipes-bsp/u-boot/u-boot-aspeed-sdk/bletchley.cfg @@ -1,3 +1,3 @@ CONFIG_USE_BOOTARGS=y -CONFIG_BOOTARGS="console=ttyS4,57600n8 root=/dev/ram rw vmalloc=512M" +CONFIG_BOOTARGS="console=ttyS4,57600n8 root=/dev/ram rw vmalloc=768M" CONFIG_BAUDRATE=57600 |