[Bug 1250495] Re: armhf: highbank: relocate initrd to make room for a bigger kernel
Paolo Pisati
1250495 at bugs.launchpad.net
Tue Nov 12 14:33:57 UTC 2013
this fix should be propagated back to every Ubuntu release that will
carry a modern, multiplatform, generic armhf kernel.
** Patch added: "bootscr.highbank.diff"
https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1250495/+attachment/3906544/+files/bootscr.highbank.diff
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to flash-kernel in Ubuntu.
https://bugs.launchpad.net/bugs/1250495
Title:
armhf: highbank: relocate initrd to make room for a bigger kernel
Status in “flash-kernel” package in Ubuntu:
New
Bug description:
Our kernels are growing big, thus if we want to avoid vmlinuz stomp
over initrd after decompression, we should relocate initrd leaving
more room for a bigger kernel.
It already happens with our T/master generic kernel on highbank:
boot.scr:
echo Starting Ubuntu...
setenv bootargs console=ttyAMA0 nosplash
mw.l 800000 0 10000
scsi scan
ext2load scsi 0 0x800000 vmlinuz
ext2load scsi 0 0x1000000 initrd.img
bootz 0x800000 0x1000000:${filesize} 0x1000
...
[ 1.953323] scsi 2:0:0:0: Direct-Access ATA SAMSUNG SSD 830 CXM0 PQ: 0 ANSI: 5
[ 1.961785] sd 2:0:0:0: [sda] 250069680 512-byte logical blocks: (128 GB/119 GiB)
[ 1.961853] sd 2:0:0:0: Attached scsi generic sg0 type 0
[ 1.974782] sd 2:0:0:0: [sda] Write Protect is off
[ 1.979650] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1.990153] sda: sda1 sda2 sda3 < sda5 sda6 >
[ 1.995656] sd 2:0:0:0: [sda] Attached SCSI disk
[ 2.300204] ata4: SATA link down (SStatus 0 SControl 300)
[ 2.644202] ata5: SATA link down (SStatus 0 SControl 300)
[ 2.649653] md: Waiting for all devices to be available before autodetect
[ 2.656454] md: If you don't use raid, use raid=noautodetect
[ 2.662474] md: Autodetecting RAID arrays.
[ 2.666573] md: Scanned 0 and added 0 devices.
[ 2.671014] md: autorun ...
[ 2.673805] md: ... autorun DONE.
[ 2.677180] RAMDISK: Couldn't find valid RAM disk image starting at 0.
...
while moving initrd futher up, fixes it:
boot.scr:
setenv bootargs console=ttyAMA0 nosplash
mw.l 800000 0 10000
scsi scan
ext2load scsi 0 0x800000 vmlinuz
ext2load scsi 0 0x2000000 initrd.img
bootz 0x800000 0x2000000:${filesize} 0x1000
ubuntu at c09:~$ uname -a
Linux c09 3.12.0-2-generic #7 SMP Tue Nov 12 12:50:26 UTC 2013 armv7l armv7l armv7l GNU/Linux
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1250495/+subscriptions
More information about the foundations-bugs
mailing list