<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>15232</bug_id>
          
          <creation_ts>2023-10-12 07:10:56 +0000</creation_ts>
          <short_desc>meta-yocto-bsp/conf/machine/beaglebone-yocto.conf: zImage + KERNEL_EXTRA_ARGS</short_desc>
          <delta_ts>2024-09-26 18:18:52 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BSPs</product>
          <component>bsps-meta-yocto</component>
          <version>4.2.4</version>
          <rep_platform>Beagleboard</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Berger">pokylinux</reporter>
          <assigned_to name="Kevin Hao">kexin.hao</assigned_to>
          <cc>randy.macleod</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>96677</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2023-10-12 07:10:56 +0000</bug_when>
    <thetext>Here[1]:

KERNEL_IMAGETYPE = &quot;zImage&quot;

and

KERNEL_EXTRA_ARGS += &quot;LOADADDR=${UBOOT_ENTRYPOINT}&quot;
UBOOT_ENTRYPOINT = &quot;0x80008000&quot;
UBOOT_LOADADDRESS = &quot;0x80008000&quot;

are defined.

I would say that in order to build a zImage this is not required. 
A uImage would need it.

Does it make any sense to define a zImage together with KERNEL_EXTRA_ARGS += &quot;LOADADDR=${UBOOT_ENTRYPOINT}&quot;?

[1] https://git.yoctoproject.org/poky/tree/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96695</commentid>
    <comment_count>1</comment_count>
    <who name="Kevin Hao">kexin.hao</who>
    <bug_when>2023-10-12 23:52:46 +0000</bug_when>
    <thetext>Yes, these variables seem useless for the zImage. I will make a patch to drop all of them.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96696</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2023-10-13 06:51:15 +0000</bug_when>
    <thetext>OK this makes sense.Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99049</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2024-05-23 06:35:46 +0000</bug_when>
    <thetext>It looks like this has been fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99050</commentid>
    <comment_count>4</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2024-05-23 06:37:25 +0000</bug_when>
    <thetext>commit 5d7a4304d91800ee1cb8d4618ce1867c0a47abd5
Author: Kevin Hao &lt;kexin.hao@windriver.com&gt;
Date:   Tue Jan 2 19:57:09 2024 +0800

    beaglebone-yocto: Remove the obsolete variables for uImage
    
    Now we only support the zImage kernel type for this machine, so remove
    the obsolete variables for uImage kernel type.
    
    [YOCTO #15232]
    
    Reported-by: Robert Berger &lt;pokylinux@reliableembeddedsystems.com&gt;
    (From meta-yocto rev: a8a5abe05ec4e96287acc994883f4b977290cde1)
    
    Signed-off-by: Kevin Hao &lt;kexin.hao@windriver.com&gt;
    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99740</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-09-26 18:18:52 +0000</bug_when>
    <thetext>Kevin,

Looks like this is resolved:
❯ git branch -a --contains  5d7a4304d91800ee1cb8d4618ce1867c0a47abd5
* master
  scarthgap
  remotes/origin/HEAD -&gt; origin/master
  remotes/origin/genericarm64
  remotes/origin/master
  remotes/origin/master-next
  remotes/origin/scarthgap
  remotes/origin/styhead</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>