Comments (16)
May I know if anything works abnormally in your raspberry_pi?
Suggest to use syslog()
to output debug to /var/log/messages.
from chromium_os-raspberry_pi.
yes,I use syslog(), but there is no corresponding print in message.
from chromium_os-raspberry_pi.
Do you call openlog()
first? Or call exit()
so the process will crash intentionally to confirm the function was called.
from chromium_os-raspberry_pi.
Ok, thank you very much. I'll have a try
from chromium_os-raspberry_pi.
Maybe my changes didn't compile to image,
I first modified the src/third_party/adhd/cras/src/alsa_plugin/pcm_cras.c file,
then use the command sudo emerge-${BOARD} media-sound/adhd,
then use./build_image --board=${BOARD} --noenable_rootfs_verification dev,
finally use the cros flash usb:// ${BOARD}/latest command
But my changes didn't go into Raspberry PI.
Can you tell me how to correctly compile my changes into Raspberry PI
from chromium_os-raspberry_pi.
I came to this conclusion because I made a deliberate error, but the compiler did not report an error
from chromium_os-raspberry_pi.
No need to build_image wasting time. You can call
emerge-${BOARD} media-sound/adhd
then cros deploy ${ip} media-sound/adhd
see https://chromium.googlesource.com/chromiumos/docs/+/main/cros_deploy.md
.
from chromium_os-raspberry_pi.
hi,I follow the documentation https://chromium.googlesource.com/chromiumos/docs/+/main/developer_guide.md
Execute the following command:
cros_workon --board=${BOARD} start media-sound/adhd
cros_workon_make --board=${BOARD} media-sound/adhd
cros_workon_make --board=${BOARD} media-sound/adhd --install
./build_image --board=${BOARD} --noenable_rootfs_verificatio
cros_workon --board=${BOARD} stop media-sound/adhd
Then I run the build image command and I get an error
"All ebuilds that could satisfy "media-sound/adhd" for /mnt/host/source/src/build/images/rpi4/R102-14695.195.0-d2023_04_27_195945-a1/rootfs/ have been masked"
Could you tell me how to solve this problem?
from chromium_os-raspberry_pi.
Just use emerge after call of cros_workon as the doc says:
Alternatively, you can build your package using emerge-${BOARD} and quickly install it to the device by using [cros deploy](https://chromium.googlesource.com/chromiumos/docs/+/main/cros_deploy.md).
For example, if you want to build ec-utils to test on your device, use
from chromium_os-raspberry_pi.
Since I used the dev image earlier, I need to re-execute ./build_image --board=${BOARD} --noenable_rootfs_verification test, However, the following error occurs when the command is executed:
"All ebuilds that could satisfy "media-sound/adhd" for /mnt/host/source/src/build/images/rpi4/R102-14695.195.0-d2023_04_27_195945-a1/rootfs/ have been masked"
So I need to fix it
from chromium_os-raspberry_pi.
Please paste context around "All ebuilds that could satisfy "media-sound/adhd" for /mnt/host/source/src/build/images/rpi4/R102-14695.195.0-d2023_04_27_195945-a1/rootfs/ have been masked".
There should be a reason why the package is masked in the output.
And emerge-${BOARD} --info media-sound/adhd
from chromium_os-raspberry_pi.
This is log information, thank you very much for your help:
Setting up symlinks for /usr/local for /mnt/host/source/src/build/images/rpi4/R102-14695.195.0-d2023_04_27_203033-a1/stateful/dev_image
20:30:38 INFO : Image specified by /mnt/host/source/src/build/images/rpi4/R102-14695.195.0-d2023_04_27_203033-a1 mounted at /mnt/host/source/src/build/images/rpi4/R102-14695.195.0-d2023_04_27_203033-a1/rootfs successfully.
Setting up symlinks for /usr/local for /mnt/host/source/src/build/images/rpi4/R102-14695.195.0-d2023_04_27_203033-a1/stateful/dev_image
20:30:38 INFO : Running: sudo tar -Ilbzip2 -xpf /var/lib/portage/pkgs/cross-armv7a-cros-linux-gnueabihf/glibc-2.33-r16.tbz2 -C /mnt/host/source/src/build/images/rpi4/R102-14695.195.0-d2023_04_27_203033-a1/rootfs ./usr/armv7a-cros-linux-gnueabihf --strip-components=3 --exclude=usr/include --exclude=sys-include --exclude=.[ao] --exclude=usr/bin/getent --exclude=usr/bin/ldd --exclude=lib/libmemusage.so --exclude=lib*/libpcprofile.so --exclude=lib*/libSegFault.so --exclude=usr/lib*/audit --exclude=lib*/libnss_compat*.so* --exclude=lib*/libnss_db*.so* --exclude=lib*/libnss_hesiod*.so* --exclude=lib*/libnss_nis*.so* --exclude=lib*/libnss_nisplus*.so* --exclude=lib*/libBrokenLocale*.so*
20:30:38 INFO : Running: sudo -E /mnt/host/source/chromite/bin/parallel_emerge --board=rpi4 --root-deps=rdeps --usepkgonly -v --with-bdeps=n --root=/mnt/host/source/src/build/images/rpi4/R102-14695.195.0-d2023_04_27_203033-a1/rootfs virtual/target-os
20:30:39.274: INFO: Running: emerge --usepkgonly '--with-bdeps=n' virtual/target-os --sysroot /build/rpi4 --root /mnt/host/source/src/build/images/rpi4/R102-14695.195.0-d2023_04_27_203033-a1/rootfs '--root-deps=rdeps' '--jobs=4' '--rebuild-exclude=chromeos-base/chromeos-chrome' '--rebuild-exclude=chromeos-base/chromium-source' '--rebuild-exclude=chromeos-base/chrome-icu'
!!! CONFIG_PROTECT is empty for '/mnt/host/source/src/build/images/rpi4/R102-14695.195.0-d2023_04_27_203033-a1/rootfs/'
!!! CONFIG_PROTECT is empty for '/build/rpi4/'
Calculating dependencies... done!
!!! All ebuilds that could satisfy "media-sound/adhd" for /mnt/host/source/src/build/images/rpi4/R102-14695.195.0-d2023_04_27_203033-a1/rootfs/ have been masked.
!!! One of the following masked packages is required to complete your request:
- media-sound/adhd-9999::baseboard-rpi3 (masked by: missing keyword)
(dependency required by "virtual/target-chromium-os-1-r201::chromiumos" [binary])
(dependency required by "virtual/target-os-1-r5::chromiumos" [binary])
(dependency required by "virtual/target-os" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Entering /mnt/host/source/src/scripts/mount_gpt_image.sh --unmount --from /mnt/host/source/src/build/images/rpi4/R102-14695.195.0-d2023_04_27_203033-a1/chromiumos_base_image.bin --rootfs_mountpt /mnt/host/source/src/build/images/rpi4/R102-14695.195.0-d2023_04_27_203033-a1/rootfs --stateful_mountpt /mnt/host/source/src/build/images/rpi4/R102-14695.195.0-d2023_04_27_203033-a1/stateful --esp_mountpt /mnt/host/source/src/build/images/rpi4/R102-14695.195.0-d2023_04_27_203033-a1/esp --delete_mountpts
20:30:50 INFO : Unmounting image from /mnt/host/source/src/build/images/rpi4/R102-14695.195.0-d2023_04_27_203033-a1/stateful and /mnt/host/source/src/build/images/rpi4/R102-14695.195.0-d2023_04_27_203033-a1/rootfs
20:30:50 INFO : Unmounting temporary rootfs /mnt/host/source/src/build/images/rpi4/R102-14695.195.0-d2023_04_27_203033-a1/rootfs//build/rootfs.
Cleaning up /usr/local symlinks for /mnt/host/source/src/build/images/rpi4/R102-14695.195.0-d2023_04_27_203033-a1/stateful/dev_image
20:30:50 INFO : Running sync -f /mnt/host/source/src/build/images/rpi4/R102-14695.195.0-d2023_04_27_203033-a1/chromiumos_base_image.bin
partx: specified range <1:0> does not make sense
An error occurred in your build so your latest output directory is invalid.
Would you like to delete the output directory (y/N)? y
Deleted /mnt/host/source/src/build/images/rpi4/R102-14695.195.0-d2023_04_27_203033-a1
from chromium_os-raspberry_pi.
This is the log information after executing the emerge-${BOARD} --info media-sound/adhd command
log.txt
from chromium_os-raspberry_pi.
There is a line KEYWORDS="~*"
in adhd-9999.ebuild. Changing it to KEYWORDS="*"
should let compile pass.
from chromium_os-raspberry_pi.
Thank you very much. I have solved the problem with your help
from chromium_os-raspberry_pi.
Hi,did chromium_os-raspberry_pi crop out the part about cras_dsp_module?
If I want to use drc algorithm on Raspberry PI, how do I apply it?
Can you give me a hand?
from chromium_os-raspberry_pi.
Related Issues (20)
- [Issue report] HOT 1
- how to get google play shop app HOT 1
- Doesn't Work With Python 3.9
- [Issue report] After cros_wrokon=rpi4 !! All ebuilds that could satisfy "~chromeos-base/chrome-icu-96.0.4664.208_rc" for /build/rpi4/ have been masked. !!! One of the following masked packages is required to complete your request: - chromeos-base/chrome-icu-96.0.4664.208_rc-r1::cros-pi (masked by: package.mask) HOT 1
- Failed to emerge chromeos-base/chrome-icu-96.0.4664.208_rc-r1 for /build/rpi4/, Log file: HOT 20
- chromeos-chrome-96.0.4664.208_rc-r1: FAILED: chrome
- Failed to emerge net-wireless/floss-0.0.2-r821 for /build/rpi4/ HOT 1
- black screen when opening Play Store HOT 1
- System file size allocation too large. Unable to load linux environment or download apps HOT 2
- [HELP] Can't Enable Developer Mode HOT 3
- How to use drc or eq audio processing algorithm HOT 2
- [Issue report] Removing the OS from my sdcard HOT 6
- Display corruption on boot with Pi touchscreen HOT 2
- Doc doesn't work - https://github.com/FydeOS/chromium_os-raspberry_pi#system-requirement HOT 3
- PI mipi Camera not working and in browser MIC/Audio VIA bluetooth does not work.
- [Issue report] Failed to determine device ID (Enterprise Enrollment) HOT 6
- [Issue report] Flashing/Flickering and Glitchy Cursor HOT 9
- Raspberry Pi 400 4gb glitchy control panel, and no sound coming from chrome browser within chromium OS HOT 1
- How to enable USB ports on the Raspberry Pi Compute Module 4 (CM4)?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chromium_os-raspberry_pi.