Skip to content
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

Update the Rasbian image to Debian 12 Bookworm to support Raspi 5 #100

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

yangsong-cnyn
Copy link
Contributor

@yangsong-cnyn yangsong-cnyn commented Dec 16, 2024

This PR updates the Raspbian image used in the reference release build process to Debian 12 Bookworm, adding support for the Raspberry Pi 5. The key change is updating the RASPIOS_URL in script/make-raspbian.bash to point to a current Debian 12 Bookworm image.

@yangsong-cnyn yangsong-cnyn marked this pull request as draft December 16, 2024 02:03
@yangsong-cnyn yangsong-cnyn force-pushed the raspbian_bookworm branch 5 times, most recently from 75cce4b to 6e71980 Compare January 3, 2025 02:13
@yangsong-cnyn yangsong-cnyn marked this pull request as ready for review January 6, 2025 01:59
@yangsong-cnyn yangsong-cnyn marked this pull request as draft January 6, 2025 01:59

# add calling of link_dongle.py script at startup to update symlink to the dongle
sudo touch /etc/rc.local
sudo chmod +x /etc/rc.local

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

su -c "DOCKER=1 ${build_options[*]} script/bootstrap" pi

rm -rf /home/pi/repo/ot-br-posix/third_party/openthread/repo
cp -rp /home/pi/repo/openthread /home/pi/repo/ot-br-posix/third_party/openthread/repo

apt-get purge -y cmake

python3 -m venv /home/pi/.venv
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could the name of the virtual env be more specific so it's less likely to conflict with other virtual envs?

su -c "DOCKER=1 ${build_options[*]} script/bootstrap" pi

rm -rf /home/pi/repo/ot-br-posix/third_party/openthread/repo
cp -rp /home/pi/repo/openthread /home/pi/repo/ot-br-posix/third_party/openthread/repo

apt-get purge -y cmake

python3 -m venv /home/pi/.venv
source /home/pi/.venv/bin/activate
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should you call deactivate at some time point?

script/otbr-setup.bash Outdated Show resolved Hide resolved
@yangsong-cnyn yangsong-cnyn force-pushed the raspbian_bookworm branch 2 times, most recently from 3cc00ed to a449898 Compare January 10, 2025 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants