Skip to content

add release.conf for PINE64 #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 35 commits into
base: shigeru_work
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
79927a5
add release.conf for PINE64
Sep 16, 2017
fdfe042
Merge branch 'shigeru_work' into issue/1/add_release_conf_for_pine64
Sep 17, 2017
102bc16
Merge branch 'shigeru_work' into issue/1/add_release_conf_for_pine64
Sep 18, 2017
461450b
Merge branch 'shigeru_work' into issue/1/add_release_conf_for_pine64
Sep 19, 2017
c03ce34
Merge branch 'shigeru_work' into issue/1/add_release_conf_for_pine64
Sep 19, 2017
2544e62
Merge branch 'shigeru_work' into issue/1/add_release_conf_for_pine64
Sep 20, 2017
66dbff7
Merge branch 'shigeru_work' into issue/1/add_release_conf_for_pine64
Sep 21, 2017
3512261
Merge branch 'shigeru_work' into issue/1/add_release_conf_for_pine64
Sep 21, 2017
91b12b9
Merge branch 'shigeru_work' into issue/1/add_release_conf_for_pine64
Sep 21, 2017
ed6e285
Merge branch 'shigeru_work' into issue/1/add_release_conf_for_pine64
Sep 22, 2017
4629830
Merge branch 'shigeru_work' into issue/1/add_release_conf_for_pine64
Sep 23, 2017
8276c15
Merge branch 'shigeru_work' into issue/1/add_release_conf_for_pine64
Sep 24, 2017
389370a
Merge branch 'shigeru_work' into issue/1/add_release_conf_for_pine64
Sep 24, 2017
c9cac3f
Merge branch 'shigeru_work' into issue/1/add_release_conf_for_pine64
Sep 25, 2017
1f8c4ac
Merge branch 'shigeru_work' into issue/1/add_release_conf_for_pine64
Sep 27, 2017
61d2ec2
Merge branch 'shigeru_work' into issue/1/add_release_conf_for_pine64
Sep 28, 2017
5a3109c
Merge branch 'shigeru_work' into issue/1/add_release_conf_for_pine64
Sep 29, 2017
933546b
Merge branch 'shigeru_work' into issue/1/add_release_conf_for_pine64
Oct 11, 2017
53efe57
merge from master
Nov 5, 2017
2f4563a
Merge branch 'shigeru_work' into issue/1/add_release_conf_for_pine64
Nov 5, 2017
4264fd6
Merge branch 'shigeru_work' into issue/1/add_release_conf_for_pine64
Nov 6, 2017
3361443
fix to set BOOTFILES
Nov 6, 2017
2e5ca7c
Merge branch 'shigeru_work' into issue/1/add_release_conf_for_pine64
Nov 6, 2017
f583311
merge from shigeru_work
Nov 14, 2017
11690d2
merge from shigeru_work
Nov 15, 2017
9223332
fix to change dts directory from sys/boot/ftd/dts to sys/dts.
Nov 15, 2017
d123ce0
Merge branch 'shigeru_work' into issue/1/add_release_conf_for_pine64
Nov 16, 2017
3a226e9
Merge branch 'shigeru_work' into issue/1/add_release_conf_for_pine64
Nov 16, 2017
bc93850
merge from shigeru_work
Nov 18, 2017
02df3f9
delete to create dtb for PINE64.
Nov 18, 2017
9a0683d
Merge branch 'shigeru_work' into issue/1/add_release_conf_for_pine64
Nov 18, 2017
e1ba7c9
merge from shigeru_work
Nov 24, 2017
8d98e23
Merge branch 'shigeru_work' into issue/1/add_release_conf_for_pine64
Nov 25, 2017
e1c797b
Merge branch 'shigeru_work' into issue/1/add_release_conf_for_pine64
Nov 27, 2017
ffeeb9f
Merge branch 'shigeru_work' into issue/1/add_release_conf_for_pine64
Nov 28, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions release/arm64/PINE64.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
EMBEDDED_TARGET_ARCH="aarch64"
EMBEDDED_TARGET="arm64"
EMBEDDEDBUILD=1
EMBEDDEDPORTS="sysutils/u-boot-pine64"
FAT_SIZE="54m -b 1m"
EMBEDDEDPORTS="sysutils/u-boot-pine64 security/ca_root_nss"
FAT_SIZE="63m -b 1m"
FAT_TYPE="16"
IMAGE_SIZE="2560M"
KERNEL="GENERIC"
Expand All @@ -18,14 +18,20 @@ export BOARDNAME="PINE64"

arm_install_uboot() {
UBOOT_DIR="/usr/local/share/u-boot/u-boot-pine64"
UBOOT_FILES="u-boot-sunxi-with-spl.bin"
UBOOT_FILE="u-boot-sunxi-with-spl.bin"
UBOOT_FILES="README ${UBOOT_FILE}"
FATMOUNT="${DESTDIR%${KERNEL}}fat"
UFSMOUNT="${DESTDIR%${KERNEL}}ufs"
chroot ${CHROOTDIR} dd if=${UBOOT_DIR}/${UBOOT_FILES} \
# write IPL and u-boot
chroot ${CHROOTDIR} dd if=${UBOOT_DIR}/${UBOOT_FILE} \
of=/dev/${mddev} bs=1k seek=8 conv=sync
chroot ${CHROOTDIR} mkdir -p "${FATMOUNT}" "${UFSMOUNT}"
chroot ${CHROOTDIR} mount_msdosfs /dev/${mddev}s1 ${FATMOUNT}
chroot ${CHROOTDIR} mount /dev/${mddev}s2 ${UFSMOUNT}
for _UF in ${UBOOT_FILES}; do
chroot ${CHROOTDIR} cp -p ${UBOOT_DIR}/${_UF} \
${FATMOUNT}/${_UF}
done

BOOTFILES="$(chroot ${CHROOTDIR} \
env TARGET=${EMBEDDED_TARGET} TARGET_ARCH=${EMBEDDED_TARGET_ARCH} \
Expand Down