[PATCH 8/8] mx25 3ds: add support for boot from UART
Baruch Siach
baruch at tkos.co.il
Thu Jun 10 12:09:21 EDT 2010
Hi Sascha,
On Thu, Jun 10, 2010 at 03:56:44PM +0200, Sascha Hauer wrote:
> On Thu, Jun 10, 2010 at 03:42:46PM +0300, Baruch Siach wrote:
> > On Thu, Jun 10, 2010 at 02:12:08PM +0200, Sascha Hauer wrote:
> > > -> x b
>
> This is to execute a (microcom) script. It just executes the 'mw'
> instructions below. (In microcom, they are just named after the barebox
> pendants)
OK. You're right. Generating the header at run time makes much more sense. I
updated my Perl script and .inc file (changed the load address), and I'm now
able to boot over UART without this patch.
Thank you very much.
baruch
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imx_uart_boot.pl
Type: text/x-perl
Size: 5481 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20100610/11b21a38/attachment.bin>
-------------- next part --------------
; WEIM config-CS5 init -- CPLD
setmem /32 0xB8002050 = 0x0000D843
setmem /32 0xB8002054 = 0x22252521
setmem /32 0xB8002058 = 0x22220A00
; DDR2 init
setmem /32 0xB8001004 = 0x0076E83A
setmem /32 0xB8001010 = 0x00000204
setmem /32 0xB8001000 = 0x92210000
setmem /32 0x80000f00 = 0x12344321
setmem /32 0xB8001000 = 0xB2210000
setmem /8 0x82000000 = 0xda
setmem /8 0x83000000 = 0xda
setmem /8 0x81000000 = 0xda
setmem /8 0x80000333 = 0xda
setmem /32 0xB8001000 = 0x92210000
setmem /8 0x80000400 = 0x12345678
setmem /32 0xB8001000 = 0xA2210000
setmem /32 0x80000000 = 0x87654321
setmem /32 0x80000000 = 0x87654321
setmem /32 0xB8001000 = 0xB2210000
setmem /8 0x80000233 = 0xda
setmem /8 0x81000780 = 0xda
setmem /8 0x81000400 = 0xda
setmem /32 0xB8001000 = 0x82216080
setmem /32 0x43FAC454 = 0x00001000
setmem /32 0x80000000 = 0x00000000
;setmem /32 0x53F80008 = 0x20034000
readfile,raw,gui "barebox.bin"=0x83000000
More information about the barebox
mailing list