hwpack: udoo update dd parameters

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/37/head
Robert Nelson 10 years ago
parent 1029a4b689
commit afef1fe0f5

@ -10,8 +10,11 @@ conf_bl_listfile="bootloader-ng"
conf_boot_fstype="ext2" conf_boot_fstype="ext2"
bootloader_location="dd_uboot_boot" bootloader_location="dd_uboot_boot"
dd_uboot_bs="512" uboot_name="u-boot.imx"
dd_uboot_seek="2" dd_uboot_count=
dd_uboot_seek="1"
dd_uboot_conf="fsync"
dd_uboot_bs="1k"
unset spl_name unset spl_name
boot_name="u-boot.imx" boot_name="u-boot.imx"

@ -10,8 +10,11 @@ conf_bl_listfile="bootloader-ng"
conf_boot_fstype="ext2" conf_boot_fstype="ext2"
bootloader_location="dd_uboot_boot" bootloader_location="dd_uboot_boot"
dd_uboot_bs="512" uboot_name="u-boot.imx"
dd_uboot_seek="2" dd_uboot_count=
dd_uboot_seek="1"
dd_uboot_conf="fsync"
dd_uboot_bs="1k"
unset spl_name unset spl_name
boot_name="u-boot.imx" boot_name="u-boot.imx"

@ -1004,6 +1004,7 @@ populate_boot () {
if [ -f ${TEMPDIR}/dl/${SPL} ] ; then if [ -f ${TEMPDIR}/dl/${SPL} ] ; then
if [ ! "${bootloader_installed}" ] ; then if [ ! "${bootloader_installed}" ] ; then
cp -v ${TEMPDIR}/dl/${SPL} ${TEMPDIR}/disk/${spl_name} cp -v ${TEMPDIR}/dl/${SPL} ${TEMPDIR}/disk/${spl_name}
echo "-----------------------------"
fi fi
cp -v ${TEMPDIR}/dl/${SPL} ${TEMPDIR}/disk/backup/${spl_name} cp -v ${TEMPDIR}/dl/${SPL} ${TEMPDIR}/disk/backup/${spl_name}
echo "-----------------------------" echo "-----------------------------"
@ -1015,6 +1016,7 @@ populate_boot () {
if [ -f ${TEMPDIR}/dl/${UBOOT} ] ; then if [ -f ${TEMPDIR}/dl/${UBOOT} ] ; then
if [ ! "${bootloader_installed}" ] ; then if [ ! "${bootloader_installed}" ] ; then
cp -v ${TEMPDIR}/dl/${UBOOT} ${TEMPDIR}/disk/${boot_name} cp -v ${TEMPDIR}/dl/${UBOOT} ${TEMPDIR}/disk/${boot_name}
echo "-----------------------------"
fi fi
cp -v ${TEMPDIR}/dl/${UBOOT} ${TEMPDIR}/disk/backup/${boot_name} cp -v ${TEMPDIR}/dl/${UBOOT} ${TEMPDIR}/disk/backup/${boot_name}
echo "-----------------------------" echo "-----------------------------"

Loading…
Cancel
Save