Merge lp:~paulliu/flash-kernel/mx5 into lp:ubuntu/natty/flash-kernel

Proposed by Ying-Chun Liu
Status: Merged
Merged at revision: 398
Proposed branch: lp:~paulliu/flash-kernel/mx5
Merge into: lp:ubuntu/natty/flash-kernel
Diff against target: 57 lines (+14/-5)
2 files modified
debian/changelog (+7/-0)
flash-kernel (+7/-5)
To merge this branch: bzr merge lp:~paulliu/flash-kernel/mx5
Reviewer Review Type Date Requested Status
Loïc Minier Approve
Ubuntu branches Pending
Review via email: mp+57818@code.launchpad.net

Description of the change

Hi,

For IMX platform,
we've change the subarch from "imx51" to "mx51".

Please consider including this patch.

Kindly Regards,
Paul

To post a comment you must log in.
Revision history for this message
Loïc Minier (lool) wrote :

Are there no installed system and no in archive kernels with -imx5? If there are any, please keep support for it and just add support for -mx5 on top of -imx5 + -mx51.

Could you explain the reason for the boot.scr related changes? Is it possible that some boot.scr be left in the old /boot location after this upgrade?

review: Approve
Revision history for this message
Ying-Chun Liu (paulliu) wrote :

Hi Loic,

The -imx5 kernel only appears in a private PPA for early test purpose. There's no public machines that use that kernel flavor. Few weeks ago we decide to use "mx5" for freescale SoCs instead of the previous "imx5". So in the public PPA for Freescale Landing team there's only -mx5 kernel. We'll use that for Linaro hwpacks release. The bug number is LP:744021 (private bug report).

For boot.scr, it's just an optional for debug/test. It's because we don't have /boot/boot.scripts before so there won't be any boot.scr generated under /boot. So there won't be any boot.scr left in the old system.

Regards,
Paul

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2011-03-30 09:55:48 +0000
+++ debian/changelog 2011-04-15 07:41:11 +0000
@@ -1,3 +1,10 @@
1flash-kernel (2.28ubuntu19) natty; urgency=low
2
3 * IMX: Use mx5 as subarch name.
4 * IMX: Add support for customization /boot/boot.script
5
6 -- Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org> Fri, 15 Apr 2011 15:11:40 +0800
7
1flash-kernel (2.28ubuntu18) natty; urgency=low8flash-kernel (2.28ubuntu18) natty; urgency=low
29
3 * match omap4 hardware on "OMAP4 Panda board" as well (LP: #744862)10 * match omap4 hardware on "OMAP4 Panda board" as well (LP: #744862)
411
=== modified file 'flash-kernel'
--- flash-kernel 2011-03-30 09:55:18 +0000
+++ flash-kernel 2011-04-15 07:41:11 +0000
@@ -402,10 +402,12 @@
402 rm -f "$tmp"402 rm -f "$tmp"
403403
404 if [ -e /boot/boot.script ];then404 if [ -e /boot/boot.script ];then
405 mv $TMPMOUNT/boot.scr $TMPMOUNT/boot.scr.bak405 if [ -e $TMPMOUNT/boot.scr ]; then
406 mv $TMPMOUNT/boot.scr $TMPMOUNT/boot.scr.bak
407 fi
406 printf "Generating u-boot configuration from /boot/boot.script... " >&2408 printf "Generating u-boot configuration from /boot/boot.script... " >&2
407 mkimage -A arm -T script -C none -n "Ubuntu boot script" -d /boot/boot.script \409 mkimage -A arm -T script -C none -n "Ubuntu boot script" -d /boot/boot.script \
408 /boot/boot.scr >&2 1>/dev/null410 $TMPMOUNT/boot.scr >&2 1>/dev/null
409 echo "done." >&2411 echo "done." >&2
410 fi412 fi
411413
@@ -628,20 +630,20 @@
628 ;;630 ;;
629 "Freescale MX51 Babbage Board")631 "Freescale MX51 Babbage Board")
630 case $subarch in632 case $subarch in
631 "imx5"|"mx51")633 "mx5"|"mx51")
632 :634 :
633 ;;635 ;;
634 *)636 *)
635 # Not actually the real expected kfile637 # Not actually the real expected kfile
636 # subarch, but will raise a sensible error638 # subarch, but will raise a sensible error
637 check_subarch "imx5 or mx51"639 check_subarch "mx5 or mx51"
638 ;;640 ;;
639 esac641 esac
640 IMX_KERNEL_ADDR=0x90008000642 IMX_KERNEL_ADDR=0x90008000
641 imx_flash_kernel643 imx_flash_kernel
642 ;;644 ;;
643 "Freescale MX53 LOCO Board")645 "Freescale MX53 LOCO Board")
644 check_subarch "imx5"646 check_subarch "mx5"
645 IMX_KERNEL_ADDR=0x70008000647 IMX_KERNEL_ADDR=0x70008000
646 imx_flash_kernel648 imx_flash_kernel
647 ;;649 ;;

Subscribers

People subscribed via source and target branches

to all changes: