Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Making Initramfs for customized kernel

Featured Replies

Hello, Armbian devs,

 

I have customized a kernel for an existing Armbian system. I wish I can replace the kernel on the system directly without going throught Armbian build system.

 

According to what Martinayotte told me, there are 3 symbolic link to kernel image, dtbs, and uInitrd actually to boot.

While I have done first 2, and I know that I have to do "mkimage" to generate a u-boot compatible uinitrd for sure.

But... How can I produce the original initramfs, first?

 

I trace the log of Armbian build system and found out it's generated by update-iniramfs command.

But the environment is wiped out after it's done. I'm not sure how to reproduce the initramfs for my customized kernel.

 

May anyone tell me what is the proper way to generate initrdfs for a customized kernel for PineH64-b board?

Thank you.

 

(edit: specify model)

  • Author

Hi, Werner

 

Thank you for replying first. But I'm afraid that your suggestion won't work for me.

Because I didn't use the kernel built in Armbian build system.

 

Or may you tell me how to make Armbian build the alternative patched kernel tree for me?

I look into configs/ and found the content like 'KERNEL_TARGET="current,dev"'

May I modify it like pointing a alternative directory instead? 

 

Thank you.

 

Guest
This topic is now closed to further replies.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.