On Tue, 13 May 2014 10:22:59 +0300
Siarhei Siamashka <[email protected]> wrote:

> On Sun, 13 Apr 2014 23:45:13 -0400
> Shixin Zeng <[email protected]> wrote:
> 
> > Hi,
> > 
> > I compiled the current u-boot from
> > https://github.com/jwrdegoede/u-boot-sunxi.git for cubieboard2, and wrote
> > it to the SD card. I was trying to boot the kernel on my computer over
> > network by tftp, however it failed when I ran "dhcp" or "tftp" command in
> > uboot with a tons of:
> > 
> > ERROR: v7_dcache_inval_range - start address is not aligned - 0x7fb677e0
> > ERROR: v7_dcache_inval_range - stop address is not aligned - 0x7fb67820
> > 
> > For reference, the commands I used to compile the uboot and write to the SD
> > were:
> > 
> > #cd ~/cubieboard2
> > 
> > #git clone  https://github.com/jwrdegoede/u-boot-sunxi.git u-boot-sunxi.git
> > 
> > #cd u-boot-sunxi.git
> > 
> > #git checkout -b sunxi-next -t origin/sunxi-next
> > 
> > #make ARCH=arm
> > CROSS_COMPILE=`pwd`/../x-tools7h/arm-unknown-linux-gnueabihf/bin/armv7l-unknown-linux-gnueabih
> > Cubieboard2_config
> > 
> > #make ARCH=arm
> > CROSS_COMPILE=`pwd`/../x-tools7h/arm-unknown-linux-gnueabihf/bin/armv7l-unknown-linux-gnueabihf-
> > 
> > #export card=/dev/sdb
> > #dd if=u-boot-sunxi-with-spl.bin of=${card} bs=1024 seek=8
> > 
> > Same error happened for the sunxi branch. Could anyone tell me if I missed
> > anything?
> 
> I understand the importance of regular upstream code base merges and
> appreciate the hard work done by Ian and Hans. But the network boot
> is broken in u-boot-sunxi since a long time ago. Which is a regression
> for the end users.
> 
> Would having separate 'sunxi' and 'stage/sunxi' branches make sense
> for u-boot-sunxi?

OK, just added the following warning to
http://linux-sunxi.org/U-Boot#Clone_the_repository

"Note: the 'sunxi' branch in the u-boot-sunxi repository is currently
under active development and also frequently merges in the changes from
the upstream u-boot. Expect it to be occasionally broken. There is no
stable branch or tag at the moment. If something does not work
correctly, please consider trying older revisions from the 'sunxi'
branch or look for any possible not-yet-applied fixes in the
linux-sunxi and u-boot mailing lists."

I'm perfectly fine with the "Law of the jungle". And regressions like
this are usually easily fixable almost immediately after they are
encountered. So I'm not the best person to complain about the current
status quo :-)

-- 
Best regards,
Siarhei Siamashka

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to