Here we are following the way which the Calixto (Third party TI
support) have used for their NAND flash (we are using their SOM):
The problem is they are using NAND flash on SOM,
We need both SPI flash as well as NAND flash for our application,
So we used their SOM and added SPI flash to our Carrier
board(application specific). So they do not have proper support for SPI
flash as of now and they are also working on this to help us boot from
SPI flash.
We could able to boot from NAND flash using our custom board with their
SOM using UART boot method which Calixto has asked us to folow.
But finding difficult to follow the same method to flash from SPI flash
as we are using different flash part number [Numonyx:N25Q128] whose
support is not added in the DULG Uboot source (As in this method it is
completely dependent on Uboot source).
The following are the steps followed :
Converted U-boot[elf] to uboot_uart.bin using AISgen D800k008.exe with
proper DDR, PLL0 and PLL1 setting for UART2 boot mode.
Transferred uboot_uart.bin to the Target using UART BOOT host.exe on
[Boot mode:UART2].
ON succeeding opened the hyperterminal and issued command (with minimal
uboot_uart.bin residing in target RAM)
> sf probe 0
Mistook SPI flash as M25p128(since numonyx support is not added in the
Uboot source code).
>sf erase 0 10000
Erase failed.
later transfered the actual uboot for SPI flash via tftp
when we issue
>sf write 0xc0700000 0 10000
it is getting failed.
As we are following this method we are finding comfortable with this
method of flashing.
Can you help us resolve this issue.
How to add SPI flash N25Q128 support to the Uboot source as well as read
and write hex command/methodologies for this flash.
Please kindly help us to resolve this. And also let us know if you have
any patch for this flash.
↧
How to add SPI slash N25Q128 support to the U-boot
↧