Re: [U-Boot] RFC: U-Boot OneNAND IPL TEXT_BASE

2010-05-02 Thread Marek Vasut
Dne Ne 2. května 2010 05:54:41 Kyungmin Park napsal(a): Hi, Which CPU do you use? In most ARM cpu, CPU load the IPL into its internal SRAM, and runs at here. PXA270 ... the BootRAM is mapped to 0x0 and the code runs from there. But in your case it's not. So you maybe redefine IPL address.

Re: [U-Boot] RFC: U-Boot OneNAND IPL TEXT_BASE

2010-05-02 Thread Kyungmin Park
On Sun, May 2, 2010 at 3:39 PM, Marek Vasut marek.va...@gmail.com wrote: Dne Ne 2. května 2010 05:54:41 Kyungmin Park napsal(a): Hi, Which CPU do you use? In most ARM cpu, CPU load the IPL into its internal SRAM, and runs at here. PXA270 ... the BootRAM is mapped to 0x0 and the code runs

Re: [U-Boot] RFC: U-Boot OneNAND IPL TEXT_BASE

2010-05-02 Thread Marek Vasut
Dne Ne 2. května 2010 13:07:13 Kyungmin Park napsal(a): On Sun, May 2, 2010 at 3:39 PM, Marek Vasut marek.va...@gmail.com wrote: Dne Ne 2. května 2010 05:54:41 Kyungmin Park napsal(a): Hi, Which CPU do you use? In most ARM cpu, CPU load the IPL into its internal SRAM, and runs at here.

Re: [U-Boot] RFC: U-Boot OneNAND IPL TEXT_BASE

2010-05-01 Thread Kyungmin Park
Hi, Which CPU do you use? In most ARM cpu, CPU load the IPL into its internal SRAM, and runs at here. But in your case it's not. So you maybe redefine IPL address. Instead of modifying the config.mk, how about to define IPL_TEXT_BASE. e.g., In OneNAND IPL code, #ifndef BOARD_IPL_TEXT_BASE

[U-Boot] RFC: U-Boot OneNAND IPL TEXT_BASE

2010-04-30 Thread Marek Vasut
Hey, I've been tinkering with OneNAND IPL in uboot. I found out it wan't to load itself to the address specified in board/$(BOARDDIR)/config.mk . That's fine in most cases, but in my case that wasn't possible. In my case, SDRAM init didn't fit into the IPL, so I had to copy U-Boot into SRAM,