From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Thu, 24 Apr 2014 10:22:47 +0200 Subject: [U-Boot] [PATCH 11/11] ventana: switch to SPL In-Reply-To: References: <1396504871-1454-1-git-send-email-tharvey@gateworks.com> <1396504871-1454-12-git-send-email-tharvey@gateworks.com> <53580060.2060100@denx.de> Message-ID: <5358C9D7.5060203@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Tim! BTW: Thanks for all your work on this. Great work and really appreciated. Just a quick note: On 24.04.2014 10:06, Tim Harvey wrote: > If I were to split the partitions like the above change, it will cause > some grief for existing users that are using the 3.0.35 (non > device-tree) vendor kernel that has the mtd partitions hard coded in > the board support. Instead, I decided to patch the kobs-ng application > used to flash the SPL so that it can be passed a max size to use > within /dev/mtd0 and users that need to upgrade to the SPL bootloader > will need to use that patched kobs-ng to flash the SPL to the first > 14MB, then use std mtd utils to flash u-boot.img in the area between > 14M and 16M. > > Don't forget, at some point soon I hope to add some functionality to > u-boot to flash the SPL portion to nand (the way kobs-ng does) so that > you don't need to boot to linux and use kobs-ng or use our JTAG tool. For such a functionality it might make sense to take a look at what has been recently added to barebox: http://comments.gmane.org/gmane.comp.boot-loaders.barebox/12612 http://comments.gmane.org/gmane.comp.boot-loaders.barebox/12856 Thanks, Stefan