On Wed, Feb 15, 2017 at 9:07 PM, Jon Seymour <[email protected]> wrote:
> I have been trying to build a linux-image debian archive from the tip of the
> 4.4 branch of https://github.com/beagleboard/linux.
>
> I wasn't able to find a script which seemed to do this, so I ran a command
> like this in a chroot jail on an arm build host:
>
>      make-kpkg --initrd --revision=acme kernel_image
>
> I used the a kernel config from 4.4.26-ti-r59 that had been edited with make
> oldconfig to add one additional module.
>
> The command ran without error and produced a package successfully, but the
> generated archive was missing all the expected .dtb files in
> /boot/dtbs/{version}. These files ARE in the version of the linux-image
> archive that the image builder uses to build new BeagleBone jessie images.
>
> I checked the man pages for make-kpkg and kernel-package to see if there
> were any options I needed to specify to include the device tree binaries but
> I didn't see any.
>
> I also tried running build_deb_in_arm_chroot.sh but this doesn't seem to
> produce a debian archive.
>
> Is the script that builds the linux-image debian archive used by the
> image-builder available somewhere?

use "make deb-pkg"....

For, 4.4.26-ti-r59 would be:

fakeroot make -j5 ARCH=arm  LOCALVERSION=-ti-r59 CROSS_COMPILE=
KDEB_PKGVERSION=1jessie KDEB_SOURCENAME=linux-upstream
KBUILD_DEBARCH=armhf [email protected]
DEBFULLNAME=rcn-ee deb-pkg

replace, DEBEMAIL, DEBFULLNAME, and KDEB_PKGVERSION with your own versions..

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYiZttQzX7KeVMj%2B-zK-QjGFsPCUg-ZiurUD%2BQv9zU2wOA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to