HI, I have managed to build latest image and apply MALLOC patch. After that system is fully working:
UBIFS: recovery needed UBIFS: recovery deferred UBIFS: mounted UBI device 0, volume 0, name "rootfs" UBIFS: mounted read-only UBIFS: file system size: 515708928 bytes (503622 KiB, 491 MiB, 3997 LEBs) UBIFS: journal size: 25804800 bytes (25200 KiB, 24 MiB, 200 LEBs) UBIFS: media format: w4/r0 (latest is w4/r0) UBIFS: default compressor: LZO UBIFS: reserved for root: 5182151 bytes (5060 KiB) Loading file '/boot/uInitrd' to addr 0x01100000 with size 5472032 (0x00537f20)... Done Loading file '/boot/uImage' to addr 0x00800000 with size 1435120 (0x0015e5f0)... Done ## Booting kernel from Legacy Image at 00800000 ... .... If someone need u-boot image I can provide it On Tue, Nov 6, 2012 at 11:12 AM, Andreas Bießmann <andreas.de...@googlemail.com> wrote: > Dear Dimax, > > On 06.11.2012 08:51, Dimax wrote: >> Well so far no luck, >> Actually I'm not sure how to start. But I will try to go on "with a >> little help from my friends". >> >> I) >> The first question that raised is a compiler. I see two options: >> 1. Use the cross compiler - this is what more likely most of the people >> are doing. >> 2. I wonder if I can use native compiler? I actually have a number of >> running SheevaPlugs with gcc installed on them. >> Do you think it will work? > > Both should work, if you need an cross compiler have a look at ELDK [1] > >> II) >> After extracting files I have following tree: >> >> u-boot_2012.04.01-2_armel.deb > > Wrong file! Please use the source from denx.de, either git from > git://git.denx.de/u-boot.git or a released version from > ftp://ftp.denx.de/pub/u-boot > > <snip debian package content> > >> According to README all I have to do is to run >> make NAME_config >> The sheevaplug is listed in boards.cfg so there should be no problem to >> make sheevaplug_config. > > Thats true for native build (never tested, may not work) > > You will need some compiler flags: > CROSS_COMPILE (prefix for 'gcc' when cross compiling) > PATH (should contain your toolchain) > > I would build it that way: > > ---8<--- > abiessmann@azuregos % PATH=$ARMv5_PATH:$PATH > CROSS_COMPILE=arm-v5te-linux-gnueabi- make O=/tmp/build_sheevaplug > sheevaplug_config > Configuring for sheevaplug board... > abiessmann@azuregos % PATH=$ARMv5_PATH:$PATH > CROSS_COMPILE=arm-v5te-linux-gnueabi- make O=/tmp/build_sheevaplug all > > ... > abiessmann@azuregos % ls -l /tmp/build_sheevaplug/u-boot* > -rwxr-xr-x 1 abiessmann abiessmann 1893165 Nov 6 10:09 > /tmp/build_sheevaplug/u-boot* > -rw-r--r-- 1 abiessmann abiessmann 378492 Nov 6 10:09 > /tmp/build_sheevaplug/u-boot.bin > -rw-r--r-- 1 abiessmann abiessmann 1043 Nov 6 10:09 > /tmp/build_sheevaplug/u-boot.lds > -rw-r--r-- 1 abiessmann abiessmann 127109 Nov 6 10:09 > /tmp/build_sheevaplug/u-boot.map > -rw-r--r-- 1 abiessmann abiessmann 1088268 Nov 6 10:09 > /tmp/build_sheevaplug/u-boot.srec > abiessmann@azuregos % PATH=$ARMv5_PATH:$PATH > CROSS_COMPILE=arm-v5te-linux-gnueabi- make O=/tmp/build_sheevaplug > /tmp/build_sheevaplug/u-boot.kwb > ... > Preparing kirkwood boot image to boot from nand > Nand ECC mode = default > Nand page size = 0x800 > Image Type: Kirkwood Boot from NAND Flash Image > Data Size: 378492 Bytes = 369.62 kB = 0.36 MB > Load Address: 00600000 > Entry Point: 00600000 > --->8--- > >> In this case I do not get what are the other two directory and file: >> u-boot_2012.04.01-2_armel.deb >> debian/ >> >> To my understanding debian/ is some port but I do not see any makefile >> where. So not sure hot to use it? > > Well, that is a pre-compiled debian package for armel. The debian > directory contains some information for the debian package system. > > Best regards > > Andreas Bießmann > > [1] http://www.denx.de/wiki/DULG/ELDK _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot