From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans de Goede Date: Thu, 18 Dec 2014 12:41:32 +0100 Subject: [U-Boot] A23 u-boot with SPL / dram init available in my personal git repo In-Reply-To: <39582012-4f2a-4ff7-a170-a160af3d0d49@googlegroups.com> References: <5484B82F.1040700@redhat.com> <5485F39F.2020001@redhat.com> <5486CE22.8020302@redhat.com> <548C460E.8000604@redhat.com> <548D5BE9.90303@redhat.com> <39582012-4f2a-4ff7-a170-a160af3d0d49@googlegroups.com> Message-ID: <5492BD6C.30508@redhat.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, On 15-12-14 07:01, Ricky Xian wrote: > Hi, > > I'm trying to boot from usb fel mode on A23. I have rebuilt your sunxi-wip > branch, and try to run on my A23 (q88?) board, but it's failed in fel mode > in executing. > > I think the u-boot-spl.bin can be used as A20, this's the website I refer > to: > http://docs.cubieboard.org/tutorials/cb2/development/booting_from_usb_in_fel_mode > > my testing instructions are: > > fel write address u-boot-spl.bin > fel exec address > > the address for A20 is 0x2000, so that the DRAM will be initialized. but > it's incorrect for A23 if the size reach 0x4000. > > can you please let me know how to use fel and your u-boot-spl.bin? I've just tested this, and it works fine for me using the following commands: make -j4 CROSS_COMPILE=arm-linux-gnu- Ippo_q8h_v1_2_felconfig Note the _felconfig rather then _defconfig at the end ! And then: make -j4 CROSS_COMPILE=arm-linux-gnu- sudo ~hans/bin/fel write 0x2000 spl/u-boot-spl.bin sudo ~hans/bin/fel exe 0x2000 sleep 0.5 sudo ~hans/bin/fel write 0x4a000000 u-boot.bin sudo ~hans/bin/fel exe 0x4a000000 Regards, Hans