19 Commits

Author SHA1 Message Date
Bernhard Nortmann
ce583ece03 Makefile: Improve auto-detection of ARM cross compiler
Try an 'educated guess' for a suitable toolchain if no explicit
CROSS_COMPILE was set (but still default to "arm-none-eabi-").

Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2017-01-27 23:03:13 +01:00
Bernhard Nortmann
95d8d23989 fel: Remove obsolete fel-pio (thunk) code
This functionality is now available via "sunxi-fel memmove", so
change the fel-gpio script accordingly and remove the thunk code.

Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2016-12-30 12:35:24 +01:00
Bernhard Nortmann
0146dd4ae5 README: Add --verbose to the sunxi-fel example command
This is to make sure that users get notified accordingly if the
"sunxi-fel --list" doesn't find any FEL devices.

Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2016-12-13 14:10:14 +01:00
Bernhard Nortmann
e31cbf8625 Cosmetic changes
fel:
- Minor review of ARM scratch code
- POSIX conformance: Use nanosleep() instead of deprecated usleep()

README:
- revert Unicode dash to standard ASCII

Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2016-12-07 08:19:13 +01:00
Bernhard Nortmann
b5ba2d3b49 README: Improve sunxi-fel help with a few hints
Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2016-12-01 17:07:09 +01:00
Bernhard Nortmann
b8e3a00323 README: add a badge to display commit count since release
Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2016-11-16 17:37:50 +01:00
Bernhard Nortmann
6457c36d39 README: political correctness
Nowadays the term "hacking" has gained increasinly negative
connotations. We don't want people to get a wrong impression
and/or fancy ideas, so remove it.

While at it, also get rid of the emphasis on A10.

Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2016-11-13 21:33:49 +01:00
Bernhard Nortmann
9d4658f9cd README: fixup: wrong description, "make install-misc" available now
Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2016-10-29 12:20:04 +02:00
Bernhard Nortmann
8d1afa6d02 README: Document build dependencies and "make" targets
Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2016-10-29 11:16:39 +02:00
NiteHawk
74d22ad65f Merge pull request #62 from n1tehawk/20161021_autoversion
Add support for version information
2016-10-26 20:44:02 +02:00
Bernhard Nortmann
99942a6e1c Add a release (version) badge to README.md
Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2016-10-24 14:53:37 +02:00
Bernhard Nortmann
9047934148 Some minor adjustments in README.md
Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2016-10-22 17:23:10 +02:00
Bernhard Nortmann
34eeea436a Convert license file to Markdown syntax
LICENSE.md replaces the former COPYING. It's an exact copy of the
original at https://www.gnu.org/licenses/old-licenses/gpl-2.0.md
(MD5 97bd67b5d0309e452b637f76e1c9a23c), retrieved as of Oct 22nd 2016:

HTTP/1.1 200 OK
Date: Sat, 22 Oct 2016 13:45:28 GMT
Last-Modified: Sat, 06 Aug 2016 17:46:02 GMT
ETag: "45e5-5396ac1a9ca80"
Content-Length: 17893
Content-Language: en

As github (auto)displays a license link and we also point to it
via a badge in the README.md, it's convenient to have Markdown
syntax display this file nicely formatted.

Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2016-10-22 17:21:11 +02:00
Siarhei Siamashka
a4557874f0 Merge pull request #44 from ssvb/20160512-uart0-helloworld
Add new uart0-helloworld-sdboot.sunxi bootable test image
2016-06-03 06:17:24 +03:00
Siarhei Siamashka
958143e77b Add new uart0-helloworld-sdboot.sunxi bootable test image
This is a universal bootable image, which just prints a hello
message on UART0. For example, it is useful as a test payload
when debugging the SPI boot functionality:
   https://linux-sunxi.org/Bootable_SPI_flash

Changes in v2:
 - A workaround for https://patchwork.ozlabs.org/patch/622173
 - Also print the type of the used bootable media

Changes in v3:
 - Bernhard Nortmann's workaround for
   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63803

More details in https://github.com/linux-sunxi/sunxi-tools/pull/44

Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
2016-06-03 06:04:44 +03:00
Boris Brezillon
e25f6e9024 Add a tool to generate raw NAND images
Generating raw NAND images is particularly useful for boot0 images
creation since the mainline driver is not supporting the funky layout
used by Allwinner's ROM code to load the boot0 binary from NAND.

This tools also allows one to generate raw images for 'normal' partitions
so that they can be flashed before soldering on the NAND on the board
(using a regular NAND programmer).

The tool takes care of generating ECC bytes and randomizing data as
expected by the NAND controller, and re-arranging the ECC/data sections
correctly.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
2016-05-31 09:26:05 +02:00
Bernhard Nortmann
217c440bcf README: Improve on (markdown) formatting
Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2016-05-04 22:13:57 +02:00
Bernhard Nortmann
5507c1f8be Some markdown formatting for proper display of README.md
Also add badges for license and build status.

Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2016-05-03 22:24:20 +02:00
Bernhard Nortmann
a7659ab2f5 Rename README to display it as markdown
Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2016-05-03 22:23:47 +02:00