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
6989e35bde
added Makefile and spl-image-builder
2015-10-21 14:29:00 -07:00
Alex Kaplan
4c2b279d41
new spl writing method
2015-10-21 14:26:59 -07:00
Alex Kaplan
5b168e4985
verify script now works if root user has password
2015-10-12 16:00:27 -07:00
Alex Kaplan
310f6fe4a0
removed erase-bb from chip-update-firmware.sh
2015-10-01 16:44:31 -07:00
Alex Kaplan
690f0d18da
make it work on CHIPs with empty NANDs
2015-09-20 09:42:16 -07:00
Alex Kaplan
dcfd128eff
implemented hwtest
2015-09-17 00:55:39 -07:00
Alex Kaplan
4202474484
wait_for_fastboot with timeout
2015-09-17 00:26:38 -07:00
Alex Kaplan
11b68441b1
only do wget call when really necessary
2015-09-16 23:51:36 -07:00
Alex Kaplan
ee1d5c8b17
only write new buildnumber when actually download a new build
2015-09-15 18:39:14 -07:00
Wynter Woods
e395f755dd
Added dummy verification script
2015-09-15 17:12:23 -07:00
Wynter Woods
c850341700
fix filesize function on osx
2015-09-14 19:29:33 -07:00
Alex Kaplan
f1b18688ee
chip-update-firmware: get the return value correctly
2015-09-14 18:40:22 -07:00
Alex Kaplan
4315a187d6
save build number in cache directory
2015-09-14 18:19:01 -07:00
Wynter Woods
2706f574bc
We also need an error code here.
2015-09-13 06:35:59 -07:00
Wynter Woods
b4b929d2b3
We need to return an error code for the GUI to recognize status properly
2015-09-13 06:35:17 -07:00
Wynter Woods
865dae5249
Fix broken fel access in script
2015-09-13 05:26:50 -07:00
Alex Kaplan
c26555ed9c
bugs fixed
2015-09-12 20:15:36 -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
7031ce64f2
Merge branch 'chip/stable' of github.com:NextThingCo/CHIP-tools into chip/stable
2015-09-12 16:58:05 -07:00
Alex Kaplan
38c83c8bad
added some cross Linux/MacOS compatibility
2015-09-12 16:57:12 -07:00
Alex Kaplan
bc9ec9a87e
chip-update-firmware.sh: added option -u to delete cache
2015-09-12 13:53:04 -07:00
Wynter Woods
9f7457d2b8
FLAS-30 #resolve Add Readme and chip-update-firmware.sh
2015-09-10 12:55:33 -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