Skip to content
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

tools/hardkernel: use a more generic boot command line #22

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion tools/hardkernel/genBscr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ for hdtv_type in `echo $HDTV_TYPE`; do
echo "setenv hdtv_type \"$hdtv_type\"" >> ./boot.tmp
echo "setenv hdtv_format \"$hdtv_format\"" >> ./boot.tmp
echo "setenv bootcmd \"fatload mmc 0:1 0x40008000 zImage; fatload mmc 0:1 0x42000000 uInitrd; bootm 0x40008000 0x42000000\"" >> ./boot.tmp
echo "setenv bootargs \"console=tty1 console=ttySAC1,115200n8 hdtv_type=\${hdtv_type} hdtv_format=\${hdtv_format} root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro $RAM\"" >> ./boot.tmp
echo "setenv bootargs \"console=tty1 console=ttySAC1,115200n8 hdtv_type=\${hdtv_type} hdtv_format=\${hdtv_format} root=/dev/mmcblk0p2 rootwait ro $RAM\"" >> ./boot.tmp
echo "boot" >> ./boot.tmp
mkimage -A arm -T script -C none -n "Boot.scr for $hdtv_type at $hdtv_format" -d ./boot.tmp ./boot-$hdtv_type-$hdtv_format.scr
rm -rf boot.tmp
Expand Down