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 image base version and fix Pi5 AMA0 device error #961

Merged
merged 2 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions image_builder/image_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


KERNEL_URL = ("http://security.debian.org/debian-security/pool/updates/main/l/"
"linux/linux-image-6.1.0-17-armmp-lpae_6.1.69-1_armhf.deb")
"linux/linux-image-6.1.0-21-armmp-lpae_6.1.90-1_armhf.deb")
match = KERNEL_URL_REGEX.match(KERNEL_URL)

if match is None:
Expand All @@ -31,8 +31,8 @@
VMLINUZ_NAME = f"vmlinuz-{KERNEL_VERSION_NAME}"

IMAGE_URL = ("https://downloads.raspberrypi.org/raspios_lite_armhf/images/"
"raspios_lite_armhf-2023-12-11/"
"2023-12-11-raspios-bookworm-armhf-lite.img.xz")
"raspios_lite_armhf-2024-03-15/"
"2024-03-15-raspios-bookworm-armhf-lite.img.xz")

DATA_FILE = "data.json"
COMPRESSED_IMAGE_NAME = "source_image.img.xz"
Expand Down
4 changes: 2 additions & 2 deletions prusa/link/data/image_builder/manager-start-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ iptables -t nat -I OUTPUT -p tcp -o lo -d localhost --dport 80 -j REDIRECT --to-

set_up_port () {
# Sets the baudrate and cancels the hangup at the end of a connection
stty -F "$1" 115200 -hupcl;
stty -F "$1" 115200 -hupcl || true
}

message() {
printf "M117 $2\n" > "$1"
printf "M117 $2\n" > "$1" || true
}

wifi_nic_name=$(find /sys/class/net -follow -maxdepth 2 -name wireless 2> /dev/null | cut -d / -f 5)
Expand Down
4 changes: 2 additions & 2 deletions prusa/link/data/image_builder/prusalink-start-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ iptables -t nat -I OUTPUT -p tcp -o lo -d localhost --dport 80 -j REDIRECT --to-

set_up_port () {
# Sets the baudrate and cancels the hangup at the end of a connection
stty -F "$1" 115200 -hupcl;
stty -F "$1" 115200 -hupcl || true
}

message() {
printf "M117 $2\n" > "$1"
printf "M117 $2\n" > "$1" || true
}

wifi_nic_name=$(find /sys/class/net -follow -maxdepth 2 -name wireless 2> /dev/null | cut -d / -f 5)
Expand Down
Loading