From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Date: Thu, 28 Apr 2016 11:44:50 +0200 Subject: [U-Boot] [PATCH v2 27/27] RFC: sunxi: Enable SPL FIT support In-Reply-To: <1456206959-29115-28-git-send-email-sjg@chromium.org> References: <1456206959-29115-1-git-send-email-sjg@chromium.org> <1456206959-29115-28-git-send-email-sjg@chromium.org> Message-ID: <5721DB92.30607@xilinx.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon and Tom, On 23.2.2016 06:55, Simon Glass wrote: > Enable SPL FIT support for the Linksprite pcDuino3 as an example of how this > feature is used. > > This is only for demonstration purposes and is not to be applied. > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > arch/arm/cpu/armv7/sunxi/board.c | 5 +++++ > configs/Linksprite_pcDuino3_defconfig | 4 ++++ > 2 files changed, 9 insertions(+) I have played with SPL_FIT support and find some things First of all "mkimage: Support placing data outside the FIT" (722ebc8f84d5bccd2e70fad1079a0dd40cceddec) is missing description in usage function to see what -E options does. Then I have found a problem with fit address calculation because it has to be aligned. I have sent an RFC for it "SPL: FIT: Align loading address for header" I have also added support for ram load for FIT - please review. "SPL: FIT: Enable SPL_FIT_LOAD in RAM based boot mode" And also for SD fat based images. "SPL: FIT: Enable SPL_FIT_LOAD for sd bootmode for fat partions" Is there any plan to support falcon mode? Also I see kind of interesting to have one fit image with ATF, Secure OS, bitstreams and U-Boot and Linux kernel + dtbs Currently spl_load_simple_fit() seems to me expecting to blindly read the first fit partition and say this is u-boot and then based configuration description choose dtb. Do you have any plan to get even u-boot image from configurations instead? The we should get a support for loadables. Thanks, Michal