Commit Graph

34 Commits

Author SHA1 Message Date
Wynter Woods 66e49e0aa2 Fixed bug in chip-fel-flash.sh where script was trying to run a variable name as a shell command rather than getting the value. 2016-02-15 16:12:27 -08:00
computermouth 29ef066b3e Added reset to uboot.scr for fel flashes, triggers wait_for_linux properly now if METHOD=fel 2016-01-15 17:31:03 -08:00
Alex Kaplan 1a2acbc0d8 Merge branch 'chip/next' of github.com:NextThingCo/CHIP-tools into chip/next 2016-01-09 18:37:32 -08:00
Alex Kaplan 44d3540d1f changed padded U-boot size to 4 MB to prevent bit flips 2016-01-09 18:35:33 -08:00
Alex Kaplan c38ef3fa5d added priliminary support for separate PocketC.H.I.P image 2016-01-02 02:29:53 -08:00
Alex Kaplan 3dda573819 changed overscan 2015-11-13 17:55:04 -08:00
Ryan Alexander 8627ac0d20 Add video mode config 2015-11-11 18:58:01 -08:00
Ryan Alexander 63caf3276e Disable u-boot output over vga 2015-11-10 19:10:25 -08:00
Wynter Woods 6c7e78cd12 Incorrect branching in assert_error 2015-11-09 06:12:32 -08:00
Wynter Woods a37d5c2538 Add error codes to flasher script 2015-11-09 05:54:54 -08:00
Alex Kaplan 7e908446d0 Updated u-boot environment (variables bootcmd and fel_booted).
These changes are necessary to flash empty CHIPs with the latest u-boot.

Signed-off-by: Alex Kaplan <kaplan2539@gmail.com>
2015-11-07 23:24:07 -08:00
Alex Kaplan 3479cab875 enable sparse image & define vendor id for fastboot 2015-10-30 17:12:09 -07:00
Alex Kaplan 34f162379c added sunxi-spl-with-ecc
Signed-off-by: Alex Kaplan <kaplan2539@gmail.com>
2015-10-27 18:06:06 -07:00
Alex Kaplan 210f269ed8 added new mode for factory flashing 2015-10-23 17:00:00 -07:00
Alex Kaplan b2d88f7134 added some quotes to serve directory names containing whitespaces 2015-10-23 16:43:53 -07:00
Alex Kaplan 27489a4fd1 moved login and shutdown process from chip-fel-flash.sh to chip-update-firmware.sh 2015-10-23 13:25:44 -07:00
Alex Kaplan 4c2b279d41 new spl writing method 2015-10-21 14:26:59 -07:00
Alex Kaplan 2d90c76c0d added option -f for fastboot 2015-09-12 17:16:25 -07:00
Alex Kaplan a8eae5e344 moved some functions to common.sh 2015-09-12 17:08:01 -07:00
Alex Kaplan 38c83c8bad added some cross Linux/MacOS compatibility 2015-09-12 16:57:12 -07:00
Alex Kaplan a560977076 moved ubi address in memory for flashing to support bigger images 2015-08-26 17:11:39 -07:00
Boris Brezillon 8049a17d2d upload u-boot image only once 2015-07-28 16:02:41 +02:00
Boris Brezillon 07116d1344 pad u-boot image to avoid ECC errors
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
2015-07-28 16:02:14 +02:00
Boris Brezillon b0d128c823 update for SLC mode support
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
2015-07-22 15:48:29 +02:00
Boris Brezillon b596c624b2 chip-fel-flash: corrupt u-boot script to avoid reexecuting it when rebooting
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
2015-07-01 19:25:33 +02:00
Boris Brezillon 636b5dec16 chip-fel-flash: keep the u-boot script execution to support FEL boot
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
2015-07-01 17:59:19 +02:00
Boris Brezillon 8537d68b86 chip-fel-flash: fix PATH assignment
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
2015-07-01 16:52:20 +02:00
Boris Brezillon 08f6201276 update PATH so that we can use the FEL provided by buildroot
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
2015-07-01 09:42:07 +02:00
Boris Brezillon 3e8640c6b3 chip-fel-flash.sh: pass -y when calling nand scrub
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
2015-07-01 09:42:07 +02:00
Maxime Ripard 84b146dec5 Use a less confusing variable name
Using BUILD_DIR when you actually mean that you want the output directory,
while buildroot also have an output/build directory is a bit confusing.

Switch to using BUILDROOT_OUTPUT_DIR, which hopefully will not be.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2015-06-25 18:14:13 +02:00
Boris Brezillon d174746497 chip-fel-flash.sh: use mktemp
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
2015-06-25 18:02:24 +02:00
Boris Brezillon 589759577b chip-fel-flash.sh: add comments in the prepare_images function
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
2015-06-25 17:56:46 +02:00
Boris Brezillon 564ca9482f Fix chip-fel-flash.sh for out-of-tree buildroot builds
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
2015-06-25 17:49:08 +02:00
Boris Brezillon b53dc80e18 Add basic chip tools
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
2015-06-25 17:21:08 +02:00