Hi
I am using MT25Q512A QSPI flash for a custom LS2088A board.I am able to boot the board by flashing PBL and uboot into the QSPI flash.I am using the following partitions in the QSPI Flash:
Hi Ufedor,
We are also facing same issue, can we get the solution
Hi
How to set the QSPI in 32bit mode? In u-boot code they have mentioned the following about 4-Byte addressing mode:
/*
* So far, the 4-byte address mode haven't been supported in U-Boot,
* and make sure the chip (> 16MiB) in default 3-byte address mode,
* in case of warm bootup, the chip was set to 4-byte mode in kernel.
*/if (flash->size >> (flash->dual_flash & SF_DUAL_STACKED_FLASH ? 1 : 0)
> SPI_FLASH_16MB_BOUN) {
if (spi_flash_cmd_4B_addr_switch(flash, false, idcode[0]) < 0)
debug("SF: enter 3B address mode failed\n");
}
Please create a Technical Case:
Hi
After flashing kernel/ramdisk,if I write any file greater than 5MB into the consecutive location,it corrupts the previous partitions of the flash.For eg:If I flash kernel at 0x110000 location and then write any file greater than 5 MB consecutive to this location (0xE10000) it corrupts the flash.
It looks like the QSPI is operating in 24-bit mode.
From the provided logs it is not clear how the issue manifests itself.
Also, what exactly means:
> when I flash the ramdisk alone without kernel image then it is not corrupting the flash.
Please provide U-Boot booting log and log for all the SPI flash programming operations.