[U-Boot] [PATCH v5 0/7]

Marek Vasut marex at denx.de
Wed Jan 25 21:21:11 CET 2017

On 01/25/2017 06:33 PM, Dalon Westergreen wrote:
> On Wed, 2017-01-25 at 08:39 -0600, Dinh Nguyen wrote:
>> On 01/25/2017 03:48 AM, Marek Vasut wrote:
>>> On 01/25/2017 05:13 AM, Dalon Westergreen wrote:
>>>> From: Dalon Westergreen <dalon.westergreen at intel.com>
>>>> These patches update the boot and os partition numbers in
>>>> the                   
>>>> default uboot environment for a number of socfpga
>>>> boards.  Per                  
>>>> request, common environment configurations have been moved to
>>>> a                 
>>>> shared
>>>> header.                                                                  
>>> OK, waiting for Acks from Dinh, just to be sure.
>>> btw a nit, please fill the $subject of cover letter next time.
> I was just informed of an issue with moving the fat/boot partition
> to p2.  Windows no longer mounts the fat partition.  I'm not sure 
> who or why CONFIG_SYS_MMCSD_FS_BOOT_PARTITION was changed to 2
> but i think in order to allow windows to mount the fat partition
> it will need to be the first partition.  So i am going to change
> CONFIG_SYS_MMCSD_FS_BOOT_PARTITION back to 1, and change the 
> default env variables appropriately.  

You mean the layout is now:
- p1 0x83
- p2 0xa2
- ...

I think this is really flaky, but I heard somewhere on the list that it
is possible to write the u-boot-spl-with-dtb.sfp (without having actual
0xa2 partition) to offset 64 kiB and the machine will still boot. I am
starting to consider using this approach as it will also allow distro
bootcmd to work and distros to integrate altera boards.

Best regards,
Marek Vasut

More information about the U-Boot mailing list