Port from 88F6281 to 88F6702

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Port from 88F6281 to 88F6702

Postby Just1 » Sun Apr 17, 2016 9:45 pm

Hi all,

I am new to this forum and don't know if this is really the right place to post, but I must say there are not many active forums about Linux on Marvell platforms. I hope the community here can help me :)

I am trying to run Linux 2.6.32 built for a 88F6281 on a 88F6702 (provided with Linux 2.6.31). Both are from the same Kirkwood ARMv5TE family as you can notice by reading the page 10 of the 2016 Marvell product selector guide.
Here is what I have done until now without much success:
$this->bbcode_list('1')
  • When trying to boot the 88F6281 kernel from the zImage, it hangs and the system needs to be reset. I then understood that I must provide a uImage, not a zImage. My u-boot version doesn't support the "bootz" command and I don't want to flash a new one for the moment.
  • If I make a 88F6281 uImage from the 88F6281 zImage with "mkimage", this results in a "software interrupt" and "Resetting CPU ..." , I don't understand why.
  • If I load and boot the 88F6281 kernel + ramdisk images, same result as above.
  • If I keep the original 88F6702 kernel (the one which is stored in the Flash memory) and ask it to boot the "new" ramdisk, it works well.

  • And the question is: Why does the 88F6281 kernel doesn't boot on the 88F6702, do I need to recompile it? If so, what compilation parameters should I edit?

    Thank you in advance for your invaluable help ;)
    Just1
     
    Posts: 3
    Joined: Sun Apr 17, 2016 9:15 pm

    Re: Port from 88F6281 to 88F6702

    Postby Just1 » Sun May 01, 2016 8:32 pm

    Hi,
    Nobody to help me?

    Cheers.
    Just1
     
    Posts: 3
    Joined: Sun Apr 17, 2016 9:15 pm

    Re: Port from 88F6281 to 88F6702

    Postby WarheadsSE » Mon May 02, 2016 1:54 pm

    You're going to want a uImage made from a combination of the zImage and dtb to match. (mkimage on the result of` cat zImage dtb > myimage`)

    http://lists.infradead.org/pipermail/li ... 59223.html

    This shows one example or a board in the same line as the 88F6702.

    The necessary kernel code is there, you just need the appropriate DTB or non-DTB kernel base to make use of it. Aka, find the closest relative.

    As for running, 2.6.32? Why the hell.
    Core Developer
    Remember: Arch Linux ARM is entirely community donation supported!
    WarheadsSE
    Developer
     
    Posts: 6807
    Joined: Mon Oct 18, 2010 2:12 pm

    Re: Port from 88F6281 to 88F6702

    Postby Just1 » Mon May 02, 2016 7:43 pm

    Thank you very much for the clue.
    I must say I haven't integrated any DTB in my uImage file. Do you mean that this is the reason for my system to not boot (software interrupt)?
    I must probably tweak an existing DTS/DTB file to adapt it to my platform, and then make the appropriate uImage file. I will gather some more information and will be back here soon.

    Thanks ;)
    Just1
     
    Posts: 3
    Joined: Sun Apr 17, 2016 9:15 pm

    Re: Port from 88F6281 to 88F6702

    Postby WarheadsSE » Mon May 02, 2016 7:52 pm

    You should also stop trying to boot a kernel made specifically for an 88F6281 on a 88F6702.

    You should be using a properly targeted kernel.
    Core Developer
    Remember: Arch Linux ARM is entirely community donation supported!
    WarheadsSE
    Developer
     
    Posts: 6807
    Joined: Mon Oct 18, 2010 2:12 pm


    Return to Marvell Kirkwood

    Who is online

    Users browsing this forum: No registered users and 9 guests