Firefly Open Source Community

   Login   |   Register   |
New_Topic
12
New Topic
Print Previous Topic Next Topic

[Linux] How can I make a minimal os build in for PX30 board

16

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
16
Posted at 10/30/2024 18:59:05        Only Author  11#
Since you're working with Yocto for a minimal image on the Firefly PX30, here are a few steps that might help get things rolling.

If you still have access to the Yocto SDK (or can re-download it), you can set up a minimal image by using core-image-minimal as a starting point, which is really lightweight and great for troubleshooting hardware issues. To do this, you’ll need to reconfigure the build environment.

First, reinstall the Yocto SDK and set up the environment variables again. You can run:

  1. source oe-init-build-env
Copy the code


This sets up the default paths and configures the bitbake environment.

Once in the environment, you can build the core-image-minimal with:

  1. bitbake core-image-minimal
Copy the code


For bootloaders like U-Boot and kernel, if you have customizations, add them in local.conf or bblayers.conf as layers so they get included in the build.

Since you want to test peripherals one at a time, you can try disabling drivers or components in the device tree for each peripheral and then rebuild. This could help isolate the issue without hanging the boot process. If it still hangs, check the boot logs through serial output - it often gives clues on what part might be causing issues.
Reply

Use props Report

Return to List
12
You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list