[Bug 1962289] Re: Mediatek AIoT i500 support

Loïc Minier 1962289 at bugs.launchpad.net
Tue Mar 8 19:58:06 UTC 2022


Hi there,

Thanks for the nice debdiffs; reading through these, I see the following changes:
1) a new boot script – fine, albeit flash-kernel seems to collect more and more of them and it would be good to avoid having too many
2) support for using the kernel ABI version in substs – why not, albeit it's a bit surprising this wasn't needed so far, and it looks like this might be breaking an abstraction
3) a new its file as a template for the FIT image; this one seems really wrong to me because it has this long list of dtbos which will likely evolve across kernel versions

IMO the job of flash-kernel is to keep track of the method with which we
install kernels/initramfses/other boot assets, but once a method is
implemented, it can be used for a long time. Here, the list of dtbos is
very long and seems very platform specific, so it's likely to evolve
with kernel versions, so it will likely result in having to update
flash-kernel for a new kernel, or having to manage versioned
dependencies like "at least this version of flash-kernel to get the its
that installs this list of dtbos".

I'm not sure what the proper solution is, it could be that the its file
should be provided by the kernel rather than flash-kernel, like dtbs, or
perhaps we need to scan for dtbo files.

What would be really useful would be to explain how these dtbos are
being used, what's the scenario in which they are used in the FIT image?

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to flash-kernel in Ubuntu.
https://bugs.launchpad.net/bugs/1962289

Title:
  Mediatek AIoT i500 support

Status in flash-kernel package in Ubuntu:
  New

Bug description:
  [Impact]
  Add Mediatek AIoT i500 support

  [Test Plan]
  Install the test flash-kernel package with the fix, a file in path Boot-FIT-Path will be created, and the system should be able to boot.
  Test cases:
  1. jammy + Xilinx Kria board: Pass
  2. focal + Mediatek AIoT i500 board: Pass

  [Where problems could occur]
  The fix contains
  1 Add DB entry for Mediatek AIoT i500 board
  Just add a new board to db. There will not be any regression.
  2 Add "kernel_ver" value for the ITS file which includes dts coming from linux package.
  Only Xilinx and Mediatek AIoT board will call mkimage_fit. And, Medaitek AIoT board's dtbs come from linux packages. There will not be any regression.

  [Other Info]
  See LP: #1946212

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1962289/+subscriptions




More information about the foundations-bugs mailing list