upstream u-boot with additional patches for our devices/boards:
https://lists.denx.de/pipermail/u-boot/2017-March/282789.html (AXP crashes) ;
Gbit ethernet patch for some LIME2 revisions ;
with SPI flash support
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
435 B
16 lines
435 B
#!/bin/sh
|
|
|
|
die() {
|
|
echo $1
|
|
exit 1
|
|
}
|
|
|
|
NUM_CPUS=$(cat /proc/cpuinfo |grep -c processor)
|
|
make O=sandbox sandbox_config || die "Cannot configure U-Boot"
|
|
make O=sandbox -s -j${NUM_CPUS} || die "Cannot build U-Boot"
|
|
dd if=/dev/zero of=spi.bin bs=1M count=2
|
|
echo -n "this is a test" > testflash.bin
|
|
dd if=/dev/zero bs=1M count=4 >>testflash.bin
|
|
./sandbox/u-boot -d ./sandbox/arch/sandbox/dts/test.dtb -c "ut dm"
|
|
rm spi.bin
|
|
rm testflash.bin
|
|
|