Skip to contentSkip to conversation

Update kernel by package-management

DISCUSSION Mauro Ziliani 2 participants 2 messages Feb 8, 2019 – Feb 11, 2019

lore
Share & tools
lore
#0 lore raw

Hi all.

I know this is a VERY dangerous operation, but I'm curious.

Is it possible to upgrade the kernel & dtb from debian package in Yocto?

That is: there is a recipe  (which produce a deb package) to copy zImage and imx6dl-sabresd.dtb directly in the boot partition?

I working on a imx6sabresd board.

The root partition is /dev/mmcblk2p1

Mauro

#1 lore raw
Quoted 3 lines · Mauro Ziliani

Hi all.

I know this is a VERY dangerous operation, but I'm curious.

Depends on your definition of "dangerous".

Quoted 1 line

Is it possible to upgrade the kernel & dtb from debian package in Yocto?

Sure, doing it all the time (from ipk, but that shouldn't matter much).

If the kernel/dts is just a file on the system, there's just a package that installs /boot/uImage or whatever.

If the kernel is in some special location in flash or so, I usually set up the kernel image to install into /tmp/ and then let a post-install script write it from /tmp/ into the flash location (e.g. using "flashcp").

Same for the devicetree.

As for dangerous, worst thing that could happen is that you'd have to use the bootloader to revive the system.

Quoted 7 lines

That is: there is a recipe  (which produce a deb package) to copy zImage and imx6dl-sabresd.dtb directly in the boot partition?

I working on a imx6sabresd board.

The root partition is /dev/mmcblk2p1

--
ML