All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] DA850evm SPI Flash Partitions between Linux and U-boot are Inconsistent
@ 2017-08-27 15:01 Adam Ford
  2017-08-29  9:13 ` Sekhar Nori
  0 siblings, 1 reply; 10+ messages in thread
From: Adam Ford @ 2017-08-27 15:01 UTC (permalink / raw)
  To: u-boot

I was trying to enable MTD Partitions to make loading the Kernel and
FS easier from within U-Boot

The da850evm spi-flash partitions in Linux show

"U-Boot-SPL" @ offset 0, size 64K
"U-Boot"; @ offset 0x00010000, size 512K
"U-Boot-Env"; @ offset 0x00090000

However U-Boot shows the following:

CONFIG_SYS_SPI_U_BOOT_OFFS 0x8000 which would make the SPL partition 32K.
CONFIG_SYS_SPI_U_BOOT_SIZE      0x40000 and the size of U-boot 256K
instead of 512k.

CONFIG_ENV_SIZE                 (64 << 10)
CONFIG_ENV_OFFSET           (512 << 10) which is 0x80000 instead of
Linux's 0x90000

It seems to me like the U-Boot and Linux should try and synchronize
their partitions tables.

For people who want to burn Linux into the SPI flash it seems there
there should be some consistency.  I tried making the U-boot settings
match the Linux ones, but it seems to hang between SPL and U-Boot, so
I think the U-Boot offset in Linux might need to match U-Boot.  Can
you guys make some recomendations as to which is correct?

adam

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-09-01 14:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-27 15:01 [U-Boot] DA850evm SPI Flash Partitions between Linux and U-boot are Inconsistent Adam Ford
2017-08-29  9:13 ` Sekhar Nori
2017-08-29  9:59   ` Adam Ford
2017-08-29 11:41     ` Sekhar Nori
2017-08-29 13:05       ` Adam Ford
2017-08-30  2:37         ` Adam Ford
2017-08-30  5:30           ` Sekhar Nori
2017-08-30 10:37             ` Adam Ford
2017-09-01 14:25               ` Sekhar Nori
2017-09-01 14:44                 ` Adam Ford

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.