Bad CE2 size on 128MB NOR
shenki opened this issue · comments
Joel Stanley commented
On a swift system which appears to have two 128MB BMC NORs we get this:
[ 1.170435] aspeed-smc 1e620000.spi: CE2 window [ 0x30000000 - 0x2c000000 ] 4032MB
It is running OpenBMC's 5.1.3-abc3428.
Full log:
[ 0.847110] aspeed-smc 1e620000.spi: Using 100 MHz SPI frequency
[ 0.853403] aspeed-smc 1e620000.spi: n25q00 (131072 Kbytes)
[ 0.859013] aspeed-smc 1e620000.spi: CE0 window [ 0x20000000 - 0x28000000 ] 128MB
[ 0.866609] aspeed-smc 1e620000.spi: CE1 window [ 0x28000000 - 0x2a000000 ] 32MB
[ 0.874099] aspeed-smc 1e620000.spi: read control register: 203c0641
[ 1.110351] 3 fixed-partitions partitions found on MTD device bmc
[ 1.116465] Creating 3 MTD partitions on "bmc":
[ 1.121136] 0x000000000000-0x000000060000 : "u-boot"
[ 1.130573] 0x000000060000-0x000000080000 : "u-boot-env"
[ 1.140737] 0x000000080000-0x000008000000 : "obmc-ubi"
[ 1.150890] aspeed-smc 1e620000.spi: Using 100 MHz SPI frequency
[ 1.157102] aspeed-smc 1e620000.spi: n25q00 (131072 Kbytes)
[ 1.162841] aspeed-smc 1e620000.spi: CE1 window [ 0x28000000 - 0x30000000 ] 128MB
[ 1.170435] aspeed-smc 1e620000.spi: CE2 window [ 0x30000000 - 0x2c000000 ] 4032MB
[ 1.178019] aspeed-smc 1e620000.spi: read control register: 203c0041
[ 1.413666] 3 fixed-partitions partitions found on MTD device alt-bmc
[ 1.420265] Creating 3 MTD partitions on "alt-bmc":
[ 1.425177] 0x000000000000-0x000000060000 : "alt-u-boot"
[ 1.435294] 0x000000060000-0x000000080000 : "alt-u-boot-env"
[ 1.445311] 0x000000080000-0x000008000000 : "alt-obmc-ubi"
[ 1.457183] aspeed-smc 1e630000.spi: Using 100 MHz SPI frequency
[ 1.463504] aspeed-smc 1e630000.spi: mx66l1g45g (131072 Kbytes)
[ 1.469447] aspeed-smc 1e630000.spi: CE0 window resized to 120MB (AST2500 HW quirk)
[ 1.477235] aspeed-smc 1e630000.spi: CE0 window [ 0x30000000 - 0x37800000 ] 120MB
[ 1.484822] aspeed-smc 1e630000.spi: CE1 window [ 0x37800000 - 0x38000000 ] 8MB
[ 1.492216] aspeed-smc 1e630000.spi: CE0 window too small for chip 128MB
[ 1.498927] aspeed-smc 1e630000.spi: read control register: 203c0041
[ 1.516381] aspeed-smc 1e630000.spi: Calibration area too uniform, using low speed