The Following 2 Users Say Thank You to Estel For This Useful Post: | ||
![]() |
2013-04-19
, 09:44
|
|
Posts: 130 |
Thanked: 132 times |
Joined on Jan 2013
@ India
|
#632
|
Why so? using u-boot tools package, you can easily create u-boot with any attached kernel you like. Not to mention, that attaching kernels to u-boot is pointless - you can always boot from either eMMC or microSD stored kernel image, and this way you can forget flashing, when new KP comes out (only need to flash, when new u-boot appears). kernel is always loaded in RAM, anyway, so it's 0 difference if u-boot load it from NAND (attached), or from kernel image placed anywhere.
Except for fact, that with attached kernel, you need to flash them every time you want to have different one attached (usually, every new stable version of KP) - then it becomes almost equivalent of multiboot, re NAND war. So, attaching kernel is silly thing to do.
/Estel
![]() |
2013-04-19
, 09:57
|
|
Posts: 130 |
Thanked: 132 times |
Joined on Jan 2013
@ India
|
#634
|
Why so? using u-boot tools package, you can easily create u-boot with any attached kernel you like. Not to mention, that attaching kernels to u-boot is pointless - you can always boot from either eMMC or microSD stored kernel image, and this way you can forget flashing, when new KP comes out (only need to flash, when new u-boot appears). kernel is always loaded in RAM, anyway, so it's 0 difference if u-boot load it from NAND (attached), or from kernel image placed anywhere.
Except for fact, that with attached kernel, you need to flash them every time you want to have different one attached (usually, every new stable version of KP) - then it becomes almost equivalent of multiboot, re NAND war. So, attaching kernel is silly thing to do.
/Estel
@Sohil876: Read first post, where is writen how to boot some entry as default (also when keyboard is closed).
The Following User Says Thank You to Sohil876 For This Useful Post: | ||
![]() |
2013-04-19
, 23:02
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#635
|
The Following User Says Thank You to Estel For This Useful Post: | ||
![]() |
2013-04-20
, 10:12
|
Posts: 2,154 |
Thanked: 8,464 times |
Joined on May 2010
|
#636
|
![]() |
2013-04-20
, 13:31
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#637
|
* u-boot-update-bootmenu can be configured to use different MyDocs, etc and boot paths (useful for non Maemo systems)
ITEM_DEVICE="${EXT_CARD}p1"
How to create bootmenu entry for U-Boot:
copy kernel image zImage-my to /opt/boot/
create config file in /etc/bootmenu.d/ with suffix .item
Bootmeny entry for other system on SD card:
This means that you have SD card with first partition ext4. On that partition is kernel image with name uImage and initrd/initramfs file with name uInitrd (both generated by mkimage, see belowCode:ITEM_NAME="My name" ITEM_KERNEL="uImage" ITEM_INITRD="uInitrd" ITEM_DEVICE="${EXT_CARD}p1" ITEM_FSTYPE="ext4" ITEM_CMDLINE="kernel cmdline"
![]() |
2013-04-20
, 13:49
|
Posts: 2,154 |
Thanked: 8,464 times |
Joined on May 2010
|
#638
|
How? In orde to use diferent partition on eMMC, is it just matter of modifying:
...to contain INT_CARD and correct partition number?Code:ITEM_DEVICE="${EXT_CARD}p1"
This whole ITEM_DEVICE just tells u-boot on which partition to look for bootmenu.src file and bootmenu.img.d directory, yep? Or is it important for something else, too?
If I want to have entry for booting uImage of certain name from SD card, as kernel for Maemo (no matter what kernel I actually put there, under that filename), do I still need to use those ITEM_INITRD and ITEM_CMDLINE, just because I'm using SD card? or is it required only for non-Maemo systems?
The Following 4 Users Say Thank You to pali For This Useful Post: | ||
![]() |
2013-04-21
, 11:51
|
|
Posts: 1,239 |
Thanked: 1,278 times |
Joined on Aug 2011
@ Balochistan
|
#639
|
![]() |
2013-04-21
, 11:58
|
Posts: 91 |
Thanked: 29 times |
Joined on Dec 2009
@ Milan - Italy
|
#640
|
finally I successfully migrated from multiboot to u-boot without messing with my device. But my phones bootmenu is different than the image attached at first post by pali.
Except for fact, that with attached kernel, you need to flash them every time you want to have different one attached (usually, every new stable version of KP) - then it becomes almost equivalent of multiboot, re NAND war. So, attaching kernel is silly thing to do.
/Estel
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!