Hello,

The sunxi-tools repository contains the 'fel' utility, which allows
booting Allwinner devices over USB using the FEL mode. The upcoming
u-boot v2015.04 is going to use the new 'spl' command, recently added
to the 'fel' tool.

As I can see, sunxi-tools is packaged at least in debian and fedora:
    https://packages.debian.org/sid/sunxi-tools
    https://admin.fedoraproject.org/pkgdb/package/sunxi-tools/

So it might make sense to prepare the new sunxi-tools release v1.3 and
let the linux distributions pick it up eventually.

Regarding packaging, there are some pull requests on github, which try
to add autotools support. I have quickly looked at these patches and did
not quite like them. They add autogenerated files to git, which is not a
great idea. And also they don't seem to really solve the problem of the
need to use two toolchains at once (part of the build needs to be done
by the compiler from the host machine, and part of the build needs to
be done by an arm crosscompiler).

Still it would be nice to fit the build into the standard sequence:

   autogen
   configure
   make
   make install

Where the 'autogen' script is necessary to run after cloning from git,
but is optional when building the sources after extracting them from
tarballs.

Maybe we can handle the arm crosscompiler stuff in the 'autogen' step?
And then the rest of the build would only need just a normal C compiler.
Does anyone have any experience properly taking care of things like
this? Any better ideas?


PS. Appears that the new 'spl' command does not quite work on A13
hardware, because the BROM on A13 stores the MMU address translation
tables at 0x8000 (instead of the secure SRAM on A10 and A20). I'm
working on a fix for this issue.

-- 
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