build.sh/BoardConfig: Support packing different rootfs images
Change-Id: I45a73d115feb12ef31ccab59f4ff6fd7937894be Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This commit is contained in:
@ -150,17 +150,30 @@ function build_debian(){
|
||||
}
|
||||
|
||||
function build_rootfs(){
|
||||
case $1 in
|
||||
rm -f $RK_ROOTFS_IMG
|
||||
|
||||
case "$1" in
|
||||
yocto)
|
||||
build_yocto
|
||||
ROOTFS_IMG=
|
||||
;;
|
||||
debian)
|
||||
build_debian
|
||||
ROOTFS_IMG=rootfs/linaro-rootfs.img
|
||||
;;
|
||||
*)
|
||||
build_buildroot
|
||||
# build_buildroot
|
||||
ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
;;
|
||||
esac
|
||||
|
||||
[ -z "$ROOTFS_IMG" ] && return
|
||||
|
||||
if [ ! -f "$ROOTFS_IMG" ]; then
|
||||
echo "$ROOTFS_IMG not generated?"
|
||||
else
|
||||
ln -sf $TOP_DIR/$ROOTFS_IMG $RK_ROOTFS_IMG
|
||||
fi
|
||||
}
|
||||
|
||||
function build_recovery(){
|
||||
@ -205,7 +218,7 @@ function build_all(){
|
||||
echo "============================================"
|
||||
build_uboot
|
||||
build_kernel
|
||||
build_rootfs
|
||||
build_rootfs ${RK_ROOTFS_SYSTEM:-buildroot}
|
||||
build_recovery
|
||||
build_ramboot
|
||||
}
|
||||
|
||||
@ -31,7 +31,7 @@ export RK_TARGET_PRODUCT=px30
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=ext4
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -29,7 +29,7 @@ export RK_TARGET_PRODUCT=px30
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=ext4
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -29,7 +29,7 @@ export RK_TARGET_PRODUCT=px30
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=ext4
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=debian/linaro-rootfs.img
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -31,7 +31,7 @@ export RK_TARGET_PRODUCT=px30
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=ext4
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -31,7 +31,7 @@ export RK_TARGET_PRODUCT=px30
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=ext4
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -31,7 +31,7 @@ export RK_TARGET_PRODUCT=px30
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=ext4
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -29,7 +29,7 @@ export RK_TARGET_PRODUCT=px3se
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=ext4
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -29,7 +29,7 @@ export RK_TARGET_PRODUCT=px3se
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=squashfs
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -29,7 +29,7 @@ export RK_TARGET_PRODUCT=rk1808
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=ext4
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -29,7 +29,7 @@ export RK_TARGET_PRODUCT=rk3036
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=ext4
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -29,7 +29,7 @@ export RK_TARGET_PRODUCT=rk3126c
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=ext4
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -29,7 +29,7 @@ export RK_TARGET_PRODUCT=rk3126c
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=squashfs
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -27,7 +27,7 @@ export RK_TARGET_PRODUCT=rk3128
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=ext4
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -29,7 +29,7 @@ export RK_TARGET_PRODUCT=rk3229
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=ext4
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -29,7 +29,7 @@ export RK_TARGET_PRODUCT=rk3288
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=ext4
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -29,7 +29,7 @@ export RK_TARGET_PRODUCT=rk3288
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=ext4
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -29,7 +29,7 @@ export RK_TARGET_PRODUCT=rk3288
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=ext4
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=rootfs/linaro-rootfs.img
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -29,7 +29,7 @@ export RK_TARGET_PRODUCT=rk3288
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=ext4
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=debian/linaro-rootfs.img
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -29,7 +29,7 @@ export RK_TARGET_PRODUCT=rk3288
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=ext4
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -29,7 +29,7 @@ export RK_TARGET_PRODUCT=rk3288
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=ext4
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=rootfs/linaro-rootfs.img
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -29,7 +29,7 @@ export RK_TARGET_PRODUCT=rk3308
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=squashfs
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -29,7 +29,7 @@ export RK_TARGET_PRODUCT=rk3308
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=squashfs
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -29,7 +29,7 @@ export RK_TARGET_PRODUCT=rk3308
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=squashfs
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -27,7 +27,7 @@ export RK_TARGET_PRODUCT=rk3308
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=squashfs
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -27,7 +27,7 @@ export RK_TARGET_PRODUCT=rk3308
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=squashfs
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -63,7 +63,7 @@ fi
|
||||
if [ -f $ROOTFS_IMG ]
|
||||
then
|
||||
echo -n "create rootfs.img..."
|
||||
cp -a $ROOTFS_IMG $ROCKDEV/rootfs.img
|
||||
cp -aL $ROOTFS_IMG $ROCKDEV/rootfs.img
|
||||
echo "done."
|
||||
else
|
||||
echo -e "\e[31m error: $ROOTFS_IMG not found! \e[0m"
|
||||
|
||||
@ -64,7 +64,7 @@ fi
|
||||
if [ -f $ROOTFS_IMG ]
|
||||
then
|
||||
echo -n "create rootfs.img..."
|
||||
cp -a $ROOTFS_IMG $ROCKDEV/rootfs.img
|
||||
cp -aL $ROOTFS_IMG $ROCKDEV/rootfs.img
|
||||
echo "done."
|
||||
else
|
||||
echo -e "\e[31m error: $ROOTFS_IMG not found! \e[0m"
|
||||
|
||||
@ -29,7 +29,7 @@ export RK_TARGET_PRODUCT=rk3308
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=squashfs
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -29,7 +29,7 @@ export RK_TARGET_PRODUCT=rk3308
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=squashfs
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -29,7 +29,7 @@ export RK_TARGET_PRODUCT=rk3308
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=squashfs
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -31,7 +31,7 @@ export RK_TARGET_PRODUCT=rk3326
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=ext4
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -31,7 +31,7 @@ export RK_TARGET_PRODUCT=rk3326
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=suqashfs
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -31,7 +31,7 @@ export RK_TARGET_PRODUCT=rk3326
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=ext4
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -31,7 +31,7 @@ export RK_TARGET_PRODUCT=rk3326
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=squashfs
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -31,7 +31,7 @@ export RK_TARGET_PRODUCT=rk3326
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=squashfs
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -31,7 +31,7 @@ export RK_TARGET_PRODUCT=rk3326
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=squashfs
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -29,7 +29,7 @@ export RK_TARGET_PRODUCT=rk3328
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=ext4
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -29,7 +29,7 @@ export RK_TARGET_PRODUCT=rk3328
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=ext4
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=debian/linaro-rootfs.img
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -29,7 +29,7 @@ export RK_TARGET_PRODUCT=rk3399
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=ext4
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -29,7 +29,7 @@ export RK_TARGET_PRODUCT=rk3399
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=ext4
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=debian/linaro-rootfs.img
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# ramdisk image path
|
||||
export RK_RAMDISK_IMG=
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
|
||||
@ -29,7 +29,7 @@ export RK_TARGET_PRODUCT=rk3399pro
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=ext4
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=buildroot/output/$RK_CFG_BUILDROOT/images/rootfs.$RK_ROOTFS_TYPE
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
@ -29,7 +29,7 @@ export RK_TARGET_PRODUCT=rk3399pro
|
||||
# Set rootfs type, including ext2 ext4 squashfs
|
||||
export RK_ROOTFS_TYPE=ext4
|
||||
# rootfs image path
|
||||
export RK_ROOTFS_IMG=debian/linaro-rootfs.img
|
||||
export RK_ROOTFS_IMG=rockdev/rootfs.${RK_ROOTFS_TYPE}
|
||||
# Set oem partition type, including ext2 squashfs
|
||||
export RK_OEM_FS_TYPE=ext2
|
||||
# Set userdata partition type, including ext2, fat
|
||||
|
||||
Reference in New Issue
Block a user