init.rc partition mismatch

Bug #823304 reported by Ken Werner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android
Fix Released
Undecided
Bernhard Rosenkraenzer

Bug Description

When building a current (20110809) Linaro Android image using the linaro_android_2.3.4 branch for the PandaBord it won't boot properly because the partitions that the init.rc (from the uInitrd) tries to mount are not matching up with what the current l-a-m-c creates.

Here is the relevant part of the init.rc:
<snip>
on fs
# mount mmc partitions
# mmcblk0p1: boot loader
# mmcblk0p2: /boot
    mount ext4 /dev/block/mmcblk0p3 /system ro
# mmcblk0p4: extended partition container
    mount ext4 /dev/block/mmcblk0p5 /cache
    mount ext4 /dev/block/mmcblk0p6 /data
# mmcblk0p7: /sdcard
</snip>

while l-a-m-c creates a partition layout like this:
<snip>
(parted) p
Model: SD SD04G (sd/mmc)
Disk /dev/mmcblk0: 3782MiB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
 1 4.00MiB 132MiB 128MiB primary fat32 boot, lba
 2 132MiB 388MiB 256MiB primary ext4
 3 388MiB 644MiB 256MiB primary ext4
 4 644MiB 3781MiB 3138MiB extended
 5 644MiB 1156MiB 512MiB logical ext4
 6 1156MiB 3781MiB 2625MiB logical fat32
</snip>

The complete serial output can be found at:
https://pastebin.linaro.org/176/

Revision history for this message
Ken Werner (kwerner) wrote :

This is the relevant section of and older init.rc that used to work:
<snip>
 # mount mmc partitions
    mount ext4 /dev/block/mmcblk0p2 /system ro
    mount ext4 /dev/block/mmcblk0p3 /cache
    mount ext4 /dev/block/mmcblk0p5 /data
</snip>

Revision history for this message
Ken Werner (kwerner) wrote :
Revision history for this message
Bernhard Rosenkraenzer (berolinux) wrote :

That change was there to fix i.MX53 and shouldn't have gone into the Panda builds, fixing...

Changed in linaro-android:
assignee: nobody → Bernhard Rosenkraenzer (berolinux)
status: New → Fix Committed
Revision history for this message
Bernhard Rosenkraenzer (berolinux) wrote :

Fixed in f1c49d1712412653e94ad1c75ca1d4f7e84addbb

Revision history for this message
Ken Werner (kwerner) wrote :

Bero, It is working again. Thanks!

Amit Pundir (pundiramit)
Changed in linaro-android:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.