-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mcore-demos: Upgrade to 6.6.52_2.2.0 #2056
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good, but please improve the commit log.
4eb8000
to
cd9185c
Compare
205ae8d
to
b1cdd3d
Compare
|
||
FILES:${PN} = "${nonarch_base_libdir}/firmware" | ||
|
||
INSANE_SKIP:${PN} = "arch" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How has this recipe been tested? removing those files caused an error during the build, did you really check that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this change need to upstream fsl-eula2-unpack2.bbclasee. I removed this change.
Please rebase this pull request because I made the change to remove the checksum across all the files to a single commit. So you will need also to remove this from this and other pull requests. |
b1cdd3d
to
1815145
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes are fine, but it does seem odd that the 1.0.1 recipe doesn't use the .inc file.
1882c08
to
540f161
Compare
|
SRC_URI = "${FSL_MIRROR}/${M4_SOC}-m4-freertos-${PV}.bin;fsl-eula=true" | ||
S = "${WORKDIR}/${M4_SOC}-m4-freertos-${PV}" | ||
SRC_URI = "${FSL_MIRROR}/${SOC}-m4-freertos-${PV}.bin;fsl-eula=true" | ||
S = "${WORKDIR}/${SOC}-m4-freertos-${PV}.bin" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you tried that? Because this change seems completely wrong.
Also, there is no package being generated, so it is just not generating the package to allow it to be deployed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, The S
directory was typo to .bin
Updated.
Yes, imx7d mcore package no elf,So no need install them to /lib/firmware
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not? How would I load the firmware during the runtime of the system?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These firmware was defined WKS_FILE_DEPENDS
, they are installed in /run/media/boot-mmcblk1p1/mcore-demos
when bootup. Although imx7d mcore no elf package, the bin package also generated and put in DEPLOYDIR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe it is wrong. We should allow it to be installed as the user may want to load it manually.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @otavio. I'm not an expert, but maybe since these are images to run on the mcore cores in the SOC, it doesn't make sense to load them manually like regular firmware? Note also that the files that are installed are not the same as the files that are deployed. The former is always .elf
, while the latter is .bin
or .img
. As Zelan said, there are no .elf
files in the archive for 1.0.1.
imx95: 2.16.001 -> 24.12.00 Signed-off-by: Zelan Zou <[email protected]>
540f161
to
256cacc
Compare
imx95 mocre: 2.16.001 -> 24.12.00
Install elf binary to /usr/lib/firmware/