Hi Everyone,
Yesterday I downloaded AM35x-OMAP35x-LINUX-PSP-04.02.00.07 and I am wondering if x-load, u-boot, and the kernel are in sync with respect to how NAND is partitioned.
For x-load the file .../include/configs/am3517evm.h has the following defines and comments.
/* NAND is partitioned:
* 0x00000000 - 0x0007FFFF Booting Image
* 0x00080000 - 0x0023FFFF U-Boot Image
* 0x00240000 - 0x0027FFFF U-Boot Env Data (X-loader doesn't care)
* 0x00280000 - 0x0077FFFF Kernel Image
* 0x00780000 - 0x08000000 depends on application
*/
#define NAND_UBOOT_START 0x0080000 /* Leaving first 4 blocks for x-load */
#define NAND_UBOOT_END 0x0240000 /* Giving a space of 2 blocks = 256KB
In the u-boot source .../include/configs/am3517_evm.h
#define SMNAND_ENV_OFFSET 0x260000
The User Guide shows something a little different:
+------------+-->0x00000000-> X-loader start
| |
| |-->0x0007FFFF-> X-loader end
| |-->0x00080000-> U-Boot start
| |
| |-->0x001BFFFF-> U-Boot end
| |-->0x001C0000-> ENV start
| |
| |
| |-->0x0027FFFF-> ENV end
| |-->0x00280000-> Linux Kernel start
| |
| |
| |
| |
| |-->0x0077FFFF-> Linux Kernel end
| |-->0x00780000-> Filesystem start