[hikey][efi] Flash firmware from prebuilt images.
Add a script to use prebuilt images from 96boards to flash the HiKey960 firmware, rather than building it from source. Change-Id: I7269706990a370c76cf82726c1f33106ed88d249
Esse commit está contido em:
commit de
CQ bot account: commit-bot@chromium.org
pai
512c0fdc9d
commit
beab20cc5b
Arquivo executável
+25
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright 2017 The Fuchsia Authors
|
||||
#
|
||||
# Use of this source code is governed by a MIT-style
|
||||
# license that can be found in the LICENSE file or at
|
||||
# https://opensource.org/licenses/MIT
|
||||
|
||||
set -e
|
||||
|
||||
UEFI_DIR=${1:-/tmp/hikey/uefi}
|
||||
UEFI_URL='http://builds.96boards.org/snapshots/reference-platform/components/uefi-staging/14/hikey960/release/'
|
||||
|
||||
echo Creating $UEFI_DIR...
|
||||
mkdir -p "$UEFI_DIR"
|
||||
cd "$UEFI_DIR"
|
||||
|
||||
echo Fetching $UEFI_URL...
|
||||
wget -A bin,config,efi,hikey_idt,img,txt -m -nd -np "$UEFI_URL"
|
||||
|
||||
echo Running hikey_idt...
|
||||
chmod +x hikey_idt
|
||||
./hikey_idt -c config
|
||||
|
||||
# Use fastboot to permanently flash firmware after this point.
|
||||
Referência em uma Nova Issue
Bloquear um usuário