[Replicant] Help with understanding a makefile

Jack Knightly j__a__k at hotmail.com
Wed Jan 13 19:13:47 UTC 2021


Hello everyone,

Please could I ask for some help?  I have a Kindle Fire HD 3rd generation (2013), which I am hoping to _eventually_ port Replicant to.  However, I am a newbie developer.  I tried porting LineageOS 14.1 to it (using another Nougat custom rom's repos as a starting point), but it didn't work, so I am trying to port postmarketOS instead, as that provides a pathway for mainlining too, a necessary requirement for Replicant 11.

Anyway, my downstream kernel builds ok, and my boot.img has the same important parameters unpackbootimg displays as the most recent custom rom zip, but it won't boot the kernel, just goes back to fastboot.  I think it is something to do with the fact that both TWRP and Evervolv (the custom rom) have a boot exploit coded into their device repos.  Please could one of you take a look at this makefile [1] and describe what it is doing, so that I can add an initramfs hook shell script [2] (if indeed that is what is required)?

Thanks so much,

Jack K

[1] - https://github.com/Evervolv/android_device_amazon_soho/blob/ng-7.1/boot.mk
[2] - https://wiki.postmarketos.org/wiki/Device_specific_package#Initramfs_hook

P.S. I think soho would be a great Replicant device, as there is another omap4470 device (jem) that someone on xda got running close to mainline last year.  It also doesn't have any camera or internal microphone.  Finally, the only blobs are for wifi/BT and graphics.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/replicant/attachments/20210113/6fdb33aa/attachment.html>


More information about the Replicant mailing list