Jump to content

Booting legacy kernel with current U-Boot (OrangePi A20 board)


Go to solution Solved by phelum,

Recommended Posts

Posted

Hi,

I'm trying to boot a legacy 3.4 kernel using the current Armbian U-Boot but progress stops after U-Boot starts the kernel.  The last line displayed is "Starting kernel ...".

 

I believe the kernel (uImage) is being loaded at 0x48000000 and the script.bin is being loaded at 0x43000000.  These values seem correct to me.

 

Does anybody know if booting these old kernels is still supported with newer U-Boot ?  I'd like to have one U-Boot that can handle both old and new.

 

Thanks,

Steven

  • Solution
Posted

To enable U-Boot to boot an old kernel the U-Boot option CONFIG_ARMV7_NONSEC must NOT be selected.  I suspect it is selected in the Armbian U-Boot.

 

There is also the CONFIG_OLD_SUNXI_KERNEL_COMPAT option that apparently slows DRAM access and is sub-optimal for new kernels.  I've tested with this option not selected and the OrangePi A20 board here works fine with both old and new kernels booting with this new U-Boot.

 

Cheers,

Steven

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines