So the script looks ok on web for you?<br>When I look at the script on the wiki I miss this:<br>< 64,1024<br>< 1088,;<br>< EOF<br>< #spl/sun4i-spl.bin doesnt work for me so I had to make temp a hack to get uboot working<br>
< #dd if=spl/sun4i-spl.bin of=$MMC_DEV bs=1024 seek=8<br>< <br>< #I had to make this hack to get uboot working. I think sth is wrong with the uboot-build<br>< #using the file from <a href="http://rhombus-tech.net/allwinner_a10/hacking_the_mele_a1000/mele_ubuntu_image/">http://rhombus-tech.net/allwinner_a10/hacking_the_mele_a1000/mele_ubuntu_image/</a><br>
< #using this article <a href="http://rhombus-tech.net/allwinner_a10/a10_image/">http://rhombus-tech.net/allwinner_a10/a10_image/</a><br>< #unpack the image mele-ubuntu-lucid.img on $MELE_BUILDDIR/images<br>< # mkdir $MELE_BUILDDIR/binfiles<br>
< # mkdir -p $MELE_BUILDDIR/images<br>< # cd $MELE_BUILDDIR/images<br>< # wget <a href="http://www.j1nx.nl/allwinner/images/mele-ubuntu-lucid.img.lzma">http://www.j1nx.nl/allwinner/images/mele-ubuntu-lucid.img.lzma</a> <br>
< # # or wget <a href="http://hands.com/~lkcl/mele-ubuntu-lucid.img.lzma">http://hands.com/~lkcl/mele-ubuntu-lucid.img.lzma</a> <br>< # lzma -d mele-ubuntu-lucid.img.lzma<br>< # mount -o loop,offset=1048576 $MELE_BUILDDIR/images/mele-ubuntu-lucid.img ../mnt<br>
< # umount ../mnt<br>< # cp ../mnt/evb.bin<br>< # dd if=mele-ubuntu-lucid.img of=$MELE_BUILDDIR/binfiles/uboot_mele_mmc.bin bs=1024 skip=8 count=1008<br>< #<br>< <br>< #<br>< dd if=../binfiles/uboot_mele_mmc.bin of=$MMC_DEV bs=1024 seek=8<br>
< #dd if=u-boot.bin of=$MMC_DEV bs=1024 seek=32<br>< <br>< cd $MELE_BUILDDIR<br>< #git clone git://<a href="http://github.com/amery/linux-allwinner.git">github.com/amery/linux-allwinner.git</a><br>< cd linux-allwinner<br>
< git checkout $GIT_LINUX<br>< make clean<br>< make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- sun4i_defconfig<br>< make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j16 uImage modules<br>< make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- INSTALL_MOD_PATH=output modules_install<br>
< make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- INSTALL_MOD_PATH=$ROOTIMG modules_install<br>< <br>< cd $MELE_BUILDDIR<br>< #mkdir /media/UBOOT<br>< echo $UBOOT_PART<br>< mkfs.vfat -n 'UBOOT' $UBOOT_PART<br>
< mount $UBOOT_PART /media/UBOOT<br>< cp linux-allwinner/arch/arm/boot/uImage /media/UBOOT<br>< cp binfiles/evb.bin /media/UBOOT<br>< cat <<END > boot.cmd<br><br><br><div class="gmail_quote">2012/6/10 lkcl luke <span dir="ltr"><<a href="mailto:luke.leighton@gmail.com" target="_blank">luke.leighton@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sun, Jun 10, 2012 at 8:41 PM, Haakon Stende <<a href="mailto:stende@gmail.com">stende@gmail.com</a>> wrote:<br>
> I just checked and it looks like only some of the script are visible,<br>
<br>
</div> the last bit is as according to what's in the git repository, so<br>
without further details, evidence or any other information, that<br>
cannot be said to be a valid conclusion, based on empirical<br>
observation of one that conflicts with one additional observation from<br>
my end (browser and checking in the git repository as well).<br>
<div class="im"><br>
> I also found out that if I use the uImage file from the ubuntuimage, my<br>
> system boots ok on 3.0.8+, but if I use the one I build with the script it<br>
> boots randomly.<br>
<br>
</div> ok - here's the nice thing: other people can now run that script and<br>
see also what happens, then improve it.<br>
<div class="HOEnZb"><div class="h5"><br>
l.<br>
<br>
_______________________________________________<br>
arm-netbook mailing list <a href="mailto:arm-netbook@lists.phcomp.co.uk">arm-netbook@lists.phcomp.co.uk</a><br>
<a href="http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook" target="_blank">http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook</a><br>
Send large attachments to <a href="mailto:arm-netbook@files.phcomp.co.uk">arm-netbook@files.phcomp.co.uk</a><br>
</div></div></blockquote></div><br>