<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-text-flowed" style="font-family: -moz-fixed;
font-size: 14px;" lang="x-western">Hello everybody,
<br>
<br>
I am trying to learn and to play with the at91sam9263-ek (Rev. B)
evalboard.
<br>
<br>
I was really successful building all parts (at91Bootstrap,
Barebox, Linuximage) and when I upload all files via SAM-BA and I
restart the device I get the prompt of barebox.
<br>
<br>
But nothing more
<br>
Everything is fine I can also switch on and off the on board leds
but I cannot load/ start the kernel.
<br>
<br>
The addresses I use are:
<br>
0x 0000 - 0x1 FFFF at91Bootstrap
<br>
0x 2 0000 - 0x5 FFFF Barebox
<br>
0x 6 0000 - 0x7 FFFF Bareboxenv
<br>
0x 8 0000 - 47 FFFF kernel
<br>
0x48 0000 -7c7 FFFF rootfs
<br>
and rest is data ...
<br>
<br>
I have change the specific init.c file and boot file in the
specific environment folder.
<br>
First I though the missing *.bb partitions can fix this problem.
Then I modified the env/init file for that. Apparently this
placeholder "*" in this boot script (nand -a dev/nand0.* ) is not
working correctly.
<br>
addpart /dev/nand0 $nand_parts
<br>
nand -a /dev/nand0.*
<br>
<br>
nand -a dev/nand0.at91bootstrap
<br>
nand -a dev/nand0.barebox
<br>
nand -a dev/nand0.bareboxenv
<br>
nand -a dev/nand0.kernel
<br>
nand -a dev/nand0.rootfs
<br>
<br>
The second try was to change also this partition table in the
specific init.c so that both match.
<br>
devfs_add_partition("nand0", 0x00000, SZ_128K,
DEVFS_PARTITION_FIXED, "at91bootstrap_raw");
<br>
dev_add_bb_dev("at91bootstrap_raw", "at91bootstrap");
<br>
devfs_add_partition("nand0", SZ_128K, SZ_256K,
DEVFS_PARTITION_FIXED, "self_raw");
<br>
dev_add_bb_dev("self_raw", "self0");
<br>
devfs_add_partition("nand0", SZ_256K + SZ_128K, SZ_128K,
DEVFS_PARTITION_FIXED, "env_raw");
<br>
dev_add_bb_dev("env_raw", "env0");
<br>
<br>
But everything without success. It's a little bit strange because
when I execute the command
<br>
bootm -v /dev/nand0.kernel.bb
<br>
First I get the following output
<br>
Barebox:/ bootm -v /dev/nand0.kernel.bb
<br>
Image Name: Linux-3.4.0
<br>
OS: Linux
<br>
Architecture: ARM
<br>
Type: Kernel Image
<br>
Compression: uncompressed
<br>
Data Size: 2034784 Bytes = 1.9 MB
<br>
Load Address: 20008000
<br>
Entry Point: 20008000
<br>
err -74
<br>
loading os image failed with Out of memory
<br>
<br>
and if I try again the same command
<br>
Barebox:/ bootm -v /dev/nand0.kernel.bb
<br>
err -74
<br>
Unknown OS filetype (try -f)
<br>
<br>
also if I try to memcpy or uimage I always get this err 74.
<br>
<br>
What is this Error 74 (-- Reset level 3)?
<br>
Why Out of memory?
<br>
<br>
<br>
Kind regards
<br>
<br>
Sven
<br>
<br>
</div>
<table class="moz-vcard-table">
<tbody>
<tr>
<td valign="top"> <br>
</td>
<td>
<table id="moz-vcard-properties-table">
<tbody>
<tr>
<td class="moz-vcard-title-property"> Stutz Sven <<a
href="mailto:stutzsven@gmx.de" private="">stutzsven@gmx.de</a>></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</body>
</html>