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
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");
}
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.