This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Good backup. | |
scsi init | |
setenv bootargs 'console=ttyS0,115200n8 ro' | |
ext4load scsi 0 ${kernel_addr_r} uImage-3.16.0-30-generic | |
ext4load scsi 0 ${ramdisk_addr_r} uInitrd-3.16.0-30-generic | |
ext4load scsi 0 ${fdt_addr_r} apm-mustang.dtb-3.16.0-30-generic | |
bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r} | |
# Crash. | |
scsi init |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scsi init | |
setenv bootargs 'console=ttyS0,115200n8 ro' | |
ext4load scsi 0 ${kernel_addr_r} uImage.bak | |
ext4load scsi 0 ${ramdisk_addr_r} uInitrd.bak | |
ext4load scsi 0 ${fdt_addr_r} apm-mustang.dtb.bak | |
bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/cmd/dist/build.c b/src/cmd/dist/build.c | |
index e4b8b58..04bf6cf 100644 | |
--- a/src/cmd/dist/build.c | |
+++ b/src/cmd/dist/build.c | |
@@ -39,7 +39,7 @@ static void dopack(char*, char*, char**, int); | |
static char *findgoversion(void); | |
// The known architecture letters. | |
-static char *gochars = "566899"; | |
+static char *gochars = "5667899"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lsr ~/go/test | grep '\.go$' | xargs egrep -l '^(// run)|(// build)' | xargs egrep -L -e import -e float | sort -u | GOOS=linux GOARCH=arm64 xargs -n1 go tool 7g |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd go/src && CC='arm-linux-gnueabihf-gcc -static' GO_DISTFLAGS=-s GOHOSTARCH=arm GOARM=7 CGO_ENABLED=0 ./make.bash |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install gcc-arm-linux-gnueabihf libc6-dev-armhf-cross |