Changeset View
Changeset View
Standalone View
Standalone View
tools/tools/nanobsd/embedded/common
Show First 20 Lines • Show All 446 Lines • ▼ Show 20 Lines | dos_boot_part ( ) ( | ||||
# For now, just copy all the files. However, for iMX6 and Allwinner, | # For now, just copy all the files. However, for iMX6 and Allwinner, | ||||
# we'll need to put a special boot block at a fixed location | # we'll need to put a special boot block at a fixed location | ||||
# on the disk as well. | # on the disk as well. | ||||
rm -rf $f | rm -rf $f | ||||
mkdir $f | mkdir $f | ||||
chdir $f | chdir $f | ||||
cp ${d}/* . | cp ${d}/* . | ||||
# Also copy ubldr. u-boot will load it and it will load the kernel | |||||
# from the ufs partition | |||||
cp ${NANO_WORLDDIR}/boot/ubldr . | |||||
cp ${NANO_WORLDDIR}/boot/ubldr.bin . | |||||
# We have to touch the saveenv file | # We have to touch the saveenv file | ||||
touch uEnv.txt | touch uEnv.txt | ||||
# Now we need to copy over dtb files from the build. | # Now we need to copy over dtb files from the build. | ||||
cp ${NANO_WORLDDIR}/boot/dtb/*.dtb . | cp ${NANO_WORLDDIR}/boot/dtb/*.dtb . | ||||
) | ) | ||||
if [ -n "$NANO_BOOT_PKG" ]; then | if [ -n "$NANO_BOOT_PKG" ]; then | ||||
▲ Show 20 Lines • Show All 201 Lines • Show Last 20 Lines |