Compiling Android

props
Hello,

I´ve installed successfully android image from
http://www.arm9.net/download.asp but I need to recompile kernel to enable
some extra features.

So, I started compiling android (kernel + fs) as described in the chinese
manual and generated a yaffs image. Everything was OK, no errors found
during compilation and image generation. But after transfer images to my
mini2440 the system doesn´t boot.
There are several errors like "Bad eraseblock 536 at 0x04300000", "block 78
is bad" and "kernel panic". It seems that filesystem image is wrong.

Does anyone knows what is the cause of this problem?

Thanks.

davef
The following probably has nothing to do with your problem:

However, I have asked just about everybody (various forums and ARM experts
at work) what happens if one goes back to using Supervivi after using
u-boot.

u-boot allows you to create a bad block table. When you do a NAND scrub you
get a warning that says you gonna' lose your factory BBT.  So, going back
to Supervivi does it generate a new BBT?  No one seems to know.

What are you using for the bootloader?

props
Hi davef,

I'm using Supervivi, the same image I used in the working Android image.

I think the problem is in the mini2440T35_android.img generated by
mkyaffs2image. The manual says to use mkyaffs2image-128M but I only found
mkyaffs2image at the page (and is a older version). Maybe this is the
problem. If you know where to find mkyaffs2image-128M for download please
tell me.

Thanks.

Andreas Watterott
Hi props,

I have updated the mkyaffs2image download. Now it also contains the new
mkyaffs2image-128M.

http://www.friendlyarm.net/dl.php?file=linux-mkyaffs2image.tgz

Regards
Andreas

props
Thanks.

Now with mkyaffs2image-128M worked perfectly.

Prakash A S
Hello props and Andreas,
      Early I also faced the exact problem, what props faced and later I
solved the issue suggested by your hints. Thanks.
Now I am struggling for some other issue. ie, I want to change the default
Chinee language into English. Can you please provide me how to change the
language settings in the android source?

-Regards,
Prakash A S

Prakash A S
I changed this two line from fs/default.prop file,

persist.sys.country = US
persist.sys.language = US

Now create the image. Its now booting with english default language.

-Prakash

Himanshu
Hello friends

I have mini2440 with 7" TFT
I have installed android OS which come with Board DVD.
but it is working very slowly, 
so is there any solution to make it fast?

- Regards,
- Himanshu

Himanshu
Hello, 

I have installed RED Hat 5.0 Environment on my PC 
and also installed arm-linux-gcc-4.3.2.
After this when i am trying to compile "Android Kernel 2009-08-25" for
mini2440 with 7",getting below error,

  LD      init/built-in.o
  LD      .tmp_vmlinux1
arm-linux-ld: unrecognized option '--build-id'
arm-linux-ld: use the --help option for usage information
make: *** [.tmp_vmlinux1] Error 1

can anybody help for this,

Regards,
Himanshu