QT2410 changes to load u-boot through JTAG

Harald Welte laforge at openmoko.org
Mon Jun 4 10:51:40 CEST 2007


On Thu, May 31, 2007 at 10:54:13PM -0300, Werner Almesberger wrote:
> In order to load u-boot on the QT2410 with JTAG, a few changes are
> needed:
> 
> 1) add lowlevel_foo_qt2410.patch
>    after lowlevel_foo.patch
>    in trunk/src/target/u-boot/patches/series

oh, I thought I had fixed that before.  Maybe a missing hunk or so :(

> 2) include/configs/qt2410.h needs CONFIG_LL_INIT_NAND_ONLY

why is that?


> lowlevel_foo_qt2410.patch is a little ugly, because it duplicates a
> lot of material from board/neo1973/gta*/Makefile, but cleaning that
> up would need some redesign of how lowlevel_foo is built in general,
> which is something I don't want to touch now.

yes, I will clean that up at some point (hxd8, gta02, smdk2440, qt2410,
... all share this lowlevel_foo, so it should be built as part of
cpu/arm920t/s3c24xx with some machine-specific initialization routine.

For the time being, copying is the best approach.

> The addition of CONFIG_LL_INIT_NAND_ONLY should break booting from
> NOR (which I think nobody in the OpenMoko project uses), so that's
> not a change suitable for mainstream.

Mh, I've used it on my QT2410 in the past, and we will also soon be
using this on the SMDK2440 as preparation for the GTA02.

I'll have to look at the code why this breaks booting from nor...

> Harald, would you agree if I merge lowlevel_foo_qt2410.patch "as is"
> into lowlevel_foo.patch 

sure.

> and add CONFIG_LL_INIT_NAND_ONLY through some
> openmoko-qt2410-setup.patch ?

why not directly into the uboot-20061030-qt2410.patch ?

-- 
- Harald Welte <laforge at openmoko.org>          	        http://openmoko.org/
============================================================================
Software for the world's first truly open Free Software mobile phone



More information about the openmoko-uboot mailing list