Re: [U-Boot] [PATCH] sunxi: Allow booting from 128KB SD/eMMC offset

2018-12-17 Thread Maxime Ripard
On Sun, Dec 16, 2018 at 02:04:58AM +, Andre Przywara wrote: > On modern Allwinner SoCs (tested: H2+, A64, H5, H6) the BootROM can > actually load the SPL also from sector 256 (128KB) of an SD card or eMMC > chip. For more details, see [1]. > In this case the boot source indicator (written at of

[U-Boot] [PATCH] sunxi: Allow booting from 128KB SD/eMMC offset

2018-12-15 Thread Andre Przywara
On modern Allwinner SoCs (tested: H2+, A64, H5, H6) the BootROM can actually load the SPL also from sector 256 (128KB) of an SD card or eMMC chip. For more details, see [1]. In this case the boot source indicator (written at offset 0x28 of SRAM A1) has bit 4 set, so it's 0x10 for SD card and 0x12 f