210 Commits

Author SHA1 Message Date
Henrik Nordstrom
0be7b52c53 felboot have been fully merged into sunxi u-boot 2013-06-10 01:33:59 +02:00
Alejandro Mery
3fb12ad20b usb-boot: fix small typo
Signed-off-by: Alejandro Mery <amery@geeks.cl>
2013-05-27 19:56:18 +02:00
Bartosz J
68a4f6f231 fexc: accept negative values in .fex files
closes #16
2013-05-25 19:49:11 +00:00
Henrik Nordstrom
c749f83060 felboot: Reduce to only a linkerscript + stubs to compensate for general SPL config
The stubs is only needed because we are using objects from a full
SPL build. Even these will go away when felboot is integrated in
u-boot, reducing it to only a link script and config changes.
2013-05-24 00:30:24 +02:00
Henrik Nordstrom
fa8e86bb2a felboot: Update documentation slightly 2013-05-24 00:25:11 +02:00
Henrik Nordstrom
498ffab9d1 felboot: Use u-boot serial driver 2013-05-24 00:16:14 +02:00
Henrik Nordstrom
c8493720d9 felboot: Move closer to u-boot build structure, reducing source size even further 2013-05-24 00:08:24 +02:00
Henrik Nordstrom
7c05609384 felboot: Simplify Makefile a bit to more closely match u-boot 2013-05-23 22:46:20 +02:00
Henrik Nordstrom
98b3125dfc felboot: Use sunxi_board_init directly from u-boot
as expected there was no problem to use sunxi_board_init directly
from u-boot. Failure on A13 was a timing issue in the host side
script (need to wait for DRAM init to finish before trying next
fel operation)
2013-05-23 21:19:17 +02:00
Henrik Nordstrom
3ba3dde4ee felboot: Show u-boot version banner 2013-05-23 21:18:02 +02:00
Henrik Nordstrom
e42ec9b7ad usb-boot: Fix for failure just after DRAM initialization.
just need to wait a little for the DRAM initialization to finish. Can't
use fel until we know it's finished or things breaks down.
2013-05-23 21:12:58 +02:00
Henrik Nordstrom
6004127d01 usb-boot: Handle variable arguments 2013-05-23 21:12:53 +02:00
Henrik Nordstrom
05cdc60eb1 usb-boot: Rework ram boot to use a boot.scr @0x41000000 to indicate RAM boot 2013-05-21 23:19:19 +02:00
Henrik Nordstrom
bacc658e59 Rename eoma68 to eoma68-a10 2013-05-19 21:33:30 +02:00
Henrik Nordstrom
9d30ca8e86 fel: Detach (and reattach on exit) the awusb kernel driver if loaded 2013-05-19 11:55:17 +02:00
Henrik Nordstrom
6829404a44 felboot: Correct merge conflict 2013-05-18 00:34:20 +02:00
Henrik Nordstrom
99c3501bed Revert "felboot: Reuse sunxi_board_init() directly from u-boot tree"
For some reason cubieboard no longer works with this. a13-olinuxino do
work however. Needs further analysis.

This reverts commit de093ee7eff417e188b3c60c1dc1d574c9a546ac.

Conflicts:
	felboot/main.c
2013-05-18 00:04:25 +02:00
Henrik Nordstrom
d34a13fccf felboot: Even closer to u-boot 2013-05-17 23:59:34 +02:00
Henrik Nordstrom
c4ae8f2e73 felboot: Reduce _start to just a call to s_init. 2013-05-17 23:02:04 +02:00
Henrik Nordstrom
789512036b felboot: Use u-boot common.h instead of system stdio.h 2013-05-17 22:06:03 +02:00
Henrik Nordstrom
4c5e0845e1 felboot: Correct line output 2013-05-17 17:07:55 +02:00
Henrik Nordstrom
755ff89dde felboot: Prevent GCC from reordering _start. Must be at a known address 2013-05-17 17:07:44 +02:00
Henrik Nordstrom
ab5089a1ff felboot: NO_PRINTF=1 make option to disable printf for smaller code size 2013-05-17 16:50:03 +02:00
Henrik Nordstrom
de093ee7ef felboot: Reuse sunxi_board_init() directly from u-boot tree 2013-05-17 16:49:49 +02:00
Henrik Nordstrom
8b0ecf7197 felboot: Replace util_printf.c with pristine printf-stdarg.c from menie.org
same code but the util_printf.c one was missing copyright attribution
and slightly hacked up.
2013-05-17 12:41:37 +02:00
Henrik Nordstrom
afcf0eef81 felboot: Clarify build procedure a little tiny bit 2013-05-16 22:41:42 +02:00
Henrik Nordstrom
35e99723b0 felboot: Silence printf warning in main.c 2013-05-16 22:29:47 +02:00
Henrik Nordstrom
6b42b22bf3 usb-boot: Correct a spelling error that prevented script.bin from being loaded 2013-05-16 11:17:04 +02:00
Henrik Nordstrom
1d8769b44b Rename fel-boot to fel-sdboot to avoid confusion with new fel-boot FEL bootloader 2013-05-16 01:53:10 +02:00
Henrik Nordstrom
c5fcedecf1 usb-boot: Script for FEL USB booting 2013-05-16 01:36:49 +02:00
Henrik Nordstrom
6963d52030 felboot: Small system initialization for FEL booting 2013-05-16 01:18:18 +02:00
Henrik Nordstrom
a95d7e1896 nand_part: Reduce duplicated code a bit 2013-05-15 11:08:27 +02:00
Henrik Nordstrom
e76e9985d3 fel: Decode known SoC IDs 2013-05-15 11:08:01 +02:00
Henrik Nordstrom
6339a8feca fel-gpio: Fail on errors after initialization as well 2013-05-02 12:38:22 +02:00
Henrik Nordström
031155fe88 Merge pull request #13 from projectgus/master
Fix fel-gpio & pio tools
2013-05-02 03:34:40 -07:00
Angus Gratton
9e79a0d995 pio.c: Fix broken file I/O 2013-04-12 12:38:31 +10:00
Angus Gratton
4820fae9cd fel-gpio: Error out if the FEL device can't be contacted 2013-04-09 11:27:28 +10:00
Michal Suchanek
033706af8a nand-part: Tell kernel to reread partition table after writing it. 2013-03-01 19:26:11 +00:00
Patrick Wood
5c9e55e16d nand-part: ignore user_type in android nand MBR
ignore user_type in android nand MBR; these can be other than 0 or 2
contrary to Allwinner's expectations
allow the user to set the user_type from the command line
(optional -- backwards compatible with existing usage
2013-02-15 20:58:16 +00:00
Henrik Nordstrom
3a94e721dd Merge branch 'master' of github.com:linux-sunxi/sunxi-tools 2013-01-21 19:53:45 +01:00
Henrik Nordstrom
4168151063 pio: Add mmap support 2013-01-21 19:53:26 +01:00
Alejandro Mery
92f1d0dec1 fexc: add support for pio banks up to N
needed for A31 support. closes issue #9

Signed-off-by: Alejandro Mery <amery@geeks.cl>
2013-01-19 14:05:40 +01:00
Henrik Nordstrom
564e46680c adb-devprobe.sh: Script to probe a device over adb 2012-10-22 03:09:43 +02:00
Alejandro Mery
d95c932b7d fexc: uboot: temporarily disable generation of PMU struct 2012-10-12 23:35:04 +02:00
Henrik Nordstrom
22c3e2768c Merge branch 'master' of github.com:amery/sunxi-tools 2012-10-11 17:16:17 +02:00
Henrik Nordstrom
ddead1555e boot_head, a little boot header to work around broken bootloaders 2012-10-11 17:16:08 +02:00
Henrik Nordstrom
985cea0433 Boot header to work around broken bootloaders 2012-10-11 17:04:14 +02:00
Alejandro Mery
35612471af fexc: uboot: add iterator macro for struct members 2012-10-01 11:20:48 +02:00
Alejandro Mery
1ebf8d8e4b fexc: uboot: use a table for dram_para too 2012-10-01 10:56:20 +02:00
Alejandro Mery
fe73a37945 fexc: uboot: ensure data from [pmu_para] is print in order 2012-10-01 10:35:48 +02:00