unable to make flash-qemu-local

Rodolphe Ortalo rodolphe.ortalo at free.fr
Fri Mar 7 20:32:14 CET 2008


Thanks for the information, I'm sure the patch will help as soon as I
find where to apply it... ;-)

However, to which version of u-boot should this patch be applied. Here,
in my (simple) build conf, the target file is not at the same location,
an u-boot is v1.2.0.

ortalo at mist:~/moko$ find . -name cfb_console.c
./build/tmp/work/fic-gta01-angstrom-linux-gnueabi/u-boot-1.2.0-r2/u-boot-1.2.0/drivers/cfb_console.c

There are no similar lines in this version of the file.

(BTW, how is it possible to switch to a different uboot version inside a
MokoMakefile-managed build tree? I saw there were several variants - I
wanted to try another one but did not find how to select it. Maybe
that's this "alternative" bitbake thing?)

Rodolphe

Le vendredi 07 mars 2008 à 02:26 +0100, andrzej zaborowski a écrit :
> On 06/03/2008, Rodolphe Ortalo <rodolphe.ortalo at free.fr> wrote:
> > Hello,
> >
> >  make flash-qemu-local fails repeatedly for me (for 4-5 days at least)
> >  while other qemu-related commands apparently work. I tried to have a
> >  look at know problems on the wiki, but apparently they were not really
> >  identical (though similar in some aspects).
> >
> >  Any hint on what the:
> >  qemu: fatal: Trying to execute code outside RAM or ROM at 0x00000000
> >  error line actually means? (Image too big?)
> 
> That could be an image too big ( > 60MB) but isn't in this case.  Qemu
> tracked it down to a memory corruption in latest u-boot.  Attached
> u-boot patch should help (inlined for viewing).
> 
> Shows why it's good to test u-boot images in qemu before flashing them
> to your Neo and bricking it ;)
> 
> --- a/drivers/video/cfb_console.c
> +++ b/drivers/video/cfb_console.c
> @@ -720,7 +720,7 @@ static void process_sequence(char c)
>         switch (c) {
>                 case 'J':
>                         /* assume num1 == 2 */
> -                       memsetl(CONSOLE_ROW_FIRST, CONSOLE_SIZE,
> +                       memsetl(CONSOLE_ROW_FIRST, CONSOLE_SIZE >> 2,
>                             CONSOLE_BG_COL);
>                         break;
>                 case 'H':




More information about the openmoko-devel mailing list