summaryrefslogtreecommitdiff
path: root/meta-facebook/meta-bletchley/recipes-bsp
AgeCommit message (Collapse)AuthorFilesLines
2022-09-15meta-bletchley: bsp: increase vmalloc to 768MPotin Lai1-1/+1
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
2022-08-16meta-bletchley: bsp: set vmalloc to 512MPotin Lai1-1/+1
The vmalloc not automatic assigned correctly With 2048MB memory. Manual append `vmalloc=512M` in bootargs to avoid boot issue of vmap allocation failed. Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I11d3c8babb533ac94e81017da19feadeda45f1e2
2022-08-16meta-bletchley: bsp: convert patch to cfg filePotin Lai4-39/+5
convert current patch to .cfg file Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I98ad0d5d69dd0c55ea40debd5b05ba4aa77be945
2021-08-07meta-facebook: prep for new override syntaxPatrick Williams2-2/+2
Ran `scripts/contrib/convert-overrides.py` from upstream Yocto and fixed up a few by hand that were missed. Tested: Built bletchley and tiogapass. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I0489ba007132901697e4ef1a29b03a3591b3ee3b
2021-08-05meta-bletchley: configure 57600 baudrateHoward Chiu3-0/+41
Specific patch for bletchley only Change-Id: Ic059caf023a305e137a01fda5b9cc6e6d9299849 Signed-off-by: Howard Chiu <howard.chiu@quantatw.com>