Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

U-Boot booting from SPI flash and getting access to NAND FLASH at the same time

$
0
0

Hello Titus and all,

I have been able finally after an immense struggle to flash uboot to SPI flash and to get an IP from the router, so now I have ethernet correctly configured.


However I have some doubts that I will appreciate to clarify:

1) I need U-boot + its environment variables to continue to be in the SPI flash as I have it right now. Also I need the Linux kernel in the SPI flash as well.
The file system I need it to be in the NAND flash. Is this possible? How?

2) In http://processors.wiki.ti.com/index.php/GSG:_Building_Software_Components_for_OMAP-L1/AM1x#Rebuilding_U-Boot the following is shown:     

Choice of Flash supported. Note: Only one of these Flash options should be defined at a time. Defining more than one Flash option results in a compilation error when you build U-Boot:

  • CONFIG_USE_SPIFLASH If this flag is defined, U-Boot supports the SPI flash on the EVM board. The environment variables are stored on the SPI flash. This option is switched on by default.
  • CONFIG_SYS_USE_NAND If this flag is defined, U-Boot supports U-Boot NAND flash access using the OMAP-L1 SoC. Environment variables are also stored on the NAND flash.
  • CONFIG_SYS_USE_NOR If this flag is defined, U-Boot supports U-Boot NOR flash access using the OMAP-L1 SoC. Environment variables are also stored on the NOR flash.

 Does this mean that U-boot can only use SPIFLASH or NAND FLASH ? How can I do to detect both types of memories so I can get access to NAND and    put the file system?

Thank you

Best regards,

Patricio


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>