Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    HOWTO: Change, remove or add u-boot on power kernel image

    Reply
    Page 4 of 4 | Prev |   2     3   4 |
    trlopes1974 | # 31 | 2011-09-08, 10:32 | Report

    is there any other working uboot version??

    EDIT: Just solved it using uboot in http://wiki.meego.com/ARM/N900/Insta...ge_for_flasher (ubooot.bin from link in point 7)

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by trlopes1974; 2011-09-08 at 11:07. Reason: SOLVED!!!

     
    J4ZZ | # 32 | 2011-09-08, 10:56 | Report

    Originally Posted by Larswad View Post
    @J4ZZ:
    Why do I need the bootimg package, why do I need the u-boot package and why do I need both in order to use multiboot with for instance MeeGo on the SD card.
    I don't see myself as an expert either regarding those things.
    But I would compare it with Windows and Ubuntu for example. Windows has its own bootloader so does Ubuntu and Co...
    Windows loads ntldr -> ntdetect.com -> boot.ini and Ubuntu get it's stuff sorted by grub. Booting both systems with just one bootloader doesn't work. Win needs ntldr and Ubuntu needs grub...
    So all you can do is to combine these two.
    That means you have to have both bootloaders installed and then two possibilities.
    First booting Win bootloader and then pointing to grub for starting ubuntu or second booting grub and have it point to ntldr to start windows.

    For N900; Meego needs u-boot and multiboot manages maemo, nitdroid and the others.
    That's it. And because u-boot isn't needed for maemo it's not integrated by default in any kernels.


    Sorry for not being able to explain in a more detailed way.

    Greetz,

    J4ZZ

    Edit | Forward | Quote | Quick Reply | Thanks

     
    tetris11_ | # 33 | 2011-09-14, 19:10 | Report

    hey J4ZZ - thanks for the quick runthourgh.

    Thanks,
    Tetris

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by tetris11_; 2011-09-14 at 20:12.

     
    zylor | # 34 | 2011-09-23, 19:19 | Report

    Originally Posted by trlopes1974 View Post
    is there any other working uboot version??

    EDIT: Just solved it using uboot in http://wiki.meego.com/ARM/N900/Insta...ge_for_flasher (ubooot.bin from link in point 7)
    Did this solve the loading issue?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    xxxxts | # 35 | 2011-09-25, 23:37 | Report

    I would like to use the newest possible version of u-boot (for booting MeeGo off a different partition on my SD card) while keeping Kernel Power 48 (or Power 49 when it is in repos) How would I go about doing that?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    zylor | # 36 | 2011-09-28, 18:36 | Report

    Originally Posted by j4zz View Post
    here's a small guide to add u-boot to power48.

    1st: Download and install all packages from here

    Code:
    dpkg -i kernel-power_1:2.6.28-10power48_armel.deb
    dpkg -i kernel-power-modules_1:2.6.28-10power48_armel.deb
    dpkg -i kernel-power-flasher_1:2.6.28-10power48_armel.deb
    dpkg -i kernel-power-settings_0.12_armel.deb
    dpkg -i kernel-power-bootimg_1:2.6.28-10power48_armel.deb
    check if it's installed properly with
    Code:
    uname -r
    is should say 2.6.28.10-power48

    then follow up this little guide (thx to [darkgunman] and fabry's guide of patching power-kernel with u-boot)

    open terminal:
    Code:
    sudo gainroot
    cd /home/user
    # prerequisites
    Code:
    apt-get install -y wget flasher mkimage
    #1. Download power kernel deb file from repository and extract fiasco image from it
    Code:
    wget http://bigbob.fun.free.fr/maemo-kernel-power/kernel-power_2.6.28-10power48_armel.deb -o kernel-power_2.6.28-10power48_armel.deb
    dpkg --fsys-tarfile kernel-power_2.6.28-10power48_armel.deb | tar -xf - boot/zimage-2.6.28.10-power48.fiasco
    mv boot/zimage-2.6.28.10-power48.fiasco /home/user/
    rm -r boot
    rm kernel-power_1:2.6.28-10power48_armel.deb
    #2. Download matan's u-boot from repository (it is named u-boot-for-power-kernel) and extract file image from it
    Code:
    wget http://repository.maemo.org/extras-devel/pool/fremantle/free/u/u-boot-for-power-kernel/u-boot-for-power-kernel_1.0_all.deb -o u-boot-for-power-kernel_1.0_all.deb
    dpkg --fsys-tarfile u-boot-for-power-kernel_1.0_all.deb | tar -xf - ./usr/lib/u-boot/u-boot.bin.0x38000/u-boot.bin.0x38000
    mv ./usr/lib/u-boot/u-boot.bin.0x38000/u-boot.bin.0x38000 /home/user/vmlinuz-2.6.28.10-power48
    rm -r usr
    rm u-boot-for-power-kernel_1.0_all.deb
    #3. Unpack fiasco image
    Code:
    flasher -u -f zimage-2.6.28.10-power48.fiasco
    rm zimage-2.6.28.10-power48.fiasco
    #4. Transform zimage in uimage (necessary because u-boot boots kernel only in uimage file format)
    Code:
    mkimage -a arm -o linux -t kernel -c none -a 80008000 -e 80008000 -n "power kernel v48" -d zimage uimage
    #5. Add power kernel uimage at end of previous file (starting write at offset 0x38000 aka 448 blocks)
    Code:
    dd if=uimage of=vmlinuz-2.6.28.10-power48 seek=448
    #6. Remove zimage & uimage
    Code:
    rm zimage
    rm uimage
    #7.1 flash the kernel
    Code:
    softupd -vv -s --local
    #7.2 open a new terminal (shift+ctrl+x) leave other xterm open!!!
    Code:
    flasher --local -f -k /home/user/vmlinuz-2.6.28.10-power48
    #8. Optional - multiboot - backup and replace power48
    Code:
    mv /boot/zimage-2.6.28.10-power48 /boot/multiboot/vmlinuz-2.6.28.10-power48-bak
    mv /boot/multiboot/vmlinuz-2.6.28.10-power* /boot/multiboot/vmlinuz-2.6.28.10-power48-bak
    mv /home/user/vmlinuz-2.6.28.10-power48 /boot/multiboot/vmlinuz-2.6.28.10-power48
    #9. Optional - clean multiboot entries
    if you have old power47 or double power48 entries
    open filebox and navigate to /etc/multiboot.d to delete the respecting *.item files.

    #10. reboot and watch the !!! :d

    edit: I coloured the code for whose who don't know what goes together and what not. So, each colored lines are a complete string where to hit 'enter' after. I left the obvious ones untouched

    greetz,

    j4zz
    *links updated to v48 link!!!!! Lol* :d

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by zylor; 2011-09-28 at 18:41.

     
    Page 4 of 4 | Prev |   2     3   4 |
vBulletin® Version 3.8.8
Normal Logout