[Gen8 General] scholbert:
partly there...

Hi again,

as pointed out i stepped back to u-boot 2011.09 for now... and it seems this was a good decision :D

U-Boot 2011.09 (Mar 23 2012 - 18:53:39)

OMAP3630/3730-GP ES1.2, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
Archos 101IT Gen8 + LPDDR/MMC
I2C: ready
DRAM: 256 MiB
MMC: OMAP SD/MMC: 0
Using default environment
In: serial
Out: serial
Err: serial
Die ID #144800029ff800000160a4bb18027009
Hit any key to stop autoboot: 0
reading boot.scr

** Unable to read "boot.scr" from mmc 0:1 **
reading uImage

2987000 bytes read
Booting from mmc ...
## Booting kernel from Legacy Image at 82000000 ...
Image Name: Linux-2.6.29-omap1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2986936 Bytes = 2.8 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux.............................................................
................................................................................
..................................................... done, booting the kernel.
<6>Initializing cgroup subsys cpu
<5>Linux version 2.6.29-omap1 (scholbert@thinkpad) (gcc version 4.4.1 (GCC) ) #1
PREEMPT Thu Mar 22 23:59:34 CET 2012
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387f
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387f
Machine: Archos A101IT board
fixup_archos: [console=ttyS2,115200n8 androidboot.console=ttyGS0 init=/linuxrc d
ebug omapdss.debug=0 vram=4915200 omapfb.vram=0:4915200 omapfb.debug=0 mmc_block
.split=0.0001:512M]
Memory policy: ECC disabled, Data cache writeback
<7>On node 0 totalpages: 65536
<7>free_area_init_node: node 0, pgdat c05fd368, node_mem_map c06a5000
<7> Normal zone: 512 pages used for memmap
<7> Normal zone: 0 pages reserved
<7> Normal zone: 65024 pages, LIFO batch:15
<4>L2 CACHE is enabled in bootloader
<6>OMAP3630 ES1.2
<6>DIE ID: 144800029FF800000160A4BB18027009
<6>FEATURE_STATUS: 00000c00
<6>SRAM: Mapped pa 0x40200000 to va 0xfc800000 size: 0x100000
<6>Reserving 4915200 bytes SDRAM for VRAM
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
<5>Kernel command line: console=ttyS2,115200n8 androidboot.console=ttyGS0 init=/
linuxrc debug omapdss.debug=0 vram=4915200 omapfb.vram=0:4915200 omapfb.debug=0
mmc_block.split=0.0001:512M
<3>Unknown boot option `androidboot.console=ttyGS0': ignoring
<3>Unknown boot option `omapdss.debug=0': ignoring
<6>Clocking rate (Crystal/DPLL/ARM core): 26.0/166/600 MHz

No problem with machine ID here... but now there's the PLL again.

It stucks at this point trying to find nice settings for SDRC.

Here's the same message with stock setup using avboot loader:

...
Clocking rate (Crystal/DPLL/ARM core): 26.0/332/600 MHz
Reprogramming SDRC
GPMC revision 5.0
...

As you see the DPLL value differs. I already corrected this in x-loader, but it seems that u-boot changes this value back (26.0/166/600 MHz seems to a default for beagleboard&Co.)

EDIT:

Not correct... Beagleboard-XM uses 26.0/332/600 MHz.

Reviewed my Archos specific hacks in x-load and went back to defaults.

Now PLL seems to be setup correct.

Whatever no more digging the next days, i'm off for the weekend.

I'll post some sources next week.

Some thoughts about u-boot 2011.12 on Archos:

Seems there are some code parts not matching well with the Archos device.

There are several sources floating around based on this, but with more or less hacks to be found in the code. So it's hard to point it all out and get a clean starting point.

Grabbed the mainline sources form git.denx and got some problems with mmc initializing correctly, so again might be not completely bugfixed or causing some incompatibilities.

Maybe i'll check u-boot 2012.09 mainline, because right now i'm using a modified source for a DM3730 board from technexion.

Not the cleanest to start from to be honest... :rolleyes:

Have fun and drink some beer!!!

scholbert