Skip to content

Commit

Permalink
Merge pull request #61 from TexasInstruments/systemd_10.01.06-update
Browse files Browse the repository at this point in the history
Systemd changes and 10.01.06 update
  • Loading branch information
cshilwant authored Nov 18, 2024
2 parents b594acf + e84a723 commit 04a8cb7
Show file tree
Hide file tree
Showing 16 changed files with 107 additions and 26 deletions.
15 changes: 13 additions & 2 deletions configs/bdebstrap_configs/trixie/trixie-am62pxx-evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ mmdebstrap:
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-bad
- i2c-tools
- linux-image-6.6.32-k3
- linux-headers-6.6.32-k3
- linux-image-6.6.44-k3
- linux-headers-6.6.44-k3
- linux-libc-dev
- cryptodev-linux-dkms
- ti-img-rogue-driver-am62p-dkms
Expand Down Expand Up @@ -71,6 +71,8 @@ mmdebstrap:
- parted
- e2fsprogs
- chromium
- wpasupplicant
- seatd
mirrors:
- http://deb.debian.org/debian
setup-hooks:
Expand Down Expand Up @@ -107,6 +109,15 @@ mmdebstrap:
- 'upload target/weston/weston /etc/default/weston'
- '$BDEBSTRAP_HOOKS/enable-units "$1" weston'
- 'chroot "$1" echo "export WAYLAND_DISPLAY=wayland-1" >> $1/etc/profile'
# systemd-networkd Network Files
- 'chroot "$1" mkdir -p /etc/systemd/network/'
- 'upload target/systemd-networkd/10-eth.network /etc/systemd/network/10-eth.network'
- 'upload target/systemd-networkd/15-eth.network /etc/systemd/network/15-eth.network'
- 'upload target/systemd-networkd/30-wlan.network /etc/systemd/network/30-wlan.network'
- 'upload target/systemd-networkd/60-usb.network /etc/systemd/network/60-usb.network'
- 'chroot "$1" systemctl disable NetworkManager'
# Enable seatd service
- '$BDEBSTRAP_HOOKS/enable-units "$1" seatd'
# Enable ssh to root user without password
- 'chroot "$1" echo "PermitRootLogin yes" >> $1/etc/ssh/sshd_config'
- 'chroot "$1" echo "PermitEmptyPasswords yes" >> $1/etc/ssh/sshd_config'
Expand Down
15 changes: 13 additions & 2 deletions configs/bdebstrap_configs/trixie/trixie-am62xx-evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ mmdebstrap:
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-bad
- i2c-tools
- linux-image-6.6.32-k3
- linux-headers-6.6.32-k3
- linux-image-6.6.44-k3
- linux-headers-6.6.44-k3
- linux-libc-dev
- cryptodev-linux-dkms
- ti-img-rogue-driver-am62-dkms
Expand Down Expand Up @@ -71,6 +71,8 @@ mmdebstrap:
- parted
- e2fsprogs
- chromium
- wpasupplicant
- seatd
mirrors:
- http://deb.debian.org/debian
setup-hooks:
Expand Down Expand Up @@ -107,6 +109,15 @@ mmdebstrap:
- 'upload target/weston/weston /etc/default/weston'
- '$BDEBSTRAP_HOOKS/enable-units "$1" weston'
- 'chroot "$1" echo "export WAYLAND_DISPLAY=wayland-1" >> $1/etc/profile'
# systemd-networkd Network Files
- 'chroot "$1" mkdir -p /etc/systemd/network/'
- 'upload target/systemd-networkd/10-eth.network /etc/systemd/network/10-eth.network'
- 'upload target/systemd-networkd/15-eth.network /etc/systemd/network/15-eth.network'
- 'upload target/systemd-networkd/30-wlan.network /etc/systemd/network/30-wlan.network'
- 'upload target/systemd-networkd/60-usb.network /etc/systemd/network/60-usb.network'
- 'chroot "$1" systemctl disable NetworkManager'
# Enable seatd service
- '$BDEBSTRAP_HOOKS/enable-units "$1" seatd'
# Enable ssh to root user without password
- 'chroot "$1" echo "PermitRootLogin yes" >> $1/etc/ssh/sshd_config'
- 'chroot "$1" echo "PermitEmptyPasswords yes" >> $1/etc/ssh/sshd_config'
Expand Down
7 changes: 5 additions & 2 deletions configs/bdebstrap_configs/trixie/trixie-am62xx-lp-evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ mmdebstrap:
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-bad
- i2c-tools
- linux-image-6.6.32-k3
- linux-headers-6.6.32-k3
- linux-image-6.6.44-k3
- linux-headers-6.6.44-k3
- linux-libc-dev
- cryptodev-linux-dkms
- ti-img-rogue-driver-am62-dkms
Expand Down Expand Up @@ -71,6 +71,7 @@ mmdebstrap:
- parted
- e2fsprogs
- chromium
- seatd
mirrors:
- http://deb.debian.org/debian
setup-hooks:
Expand Down Expand Up @@ -107,6 +108,8 @@ mmdebstrap:
- 'upload target/weston/weston /etc/default/weston'
- '$BDEBSTRAP_HOOKS/enable-units "$1" weston'
- 'chroot "$1" echo "export WAYLAND_DISPLAY=wayland-1" >> $1/etc/profile'
# Enable seatd service
- '$BDEBSTRAP_HOOKS/enable-units "$1" seatd'
# Enable ssh to root user without password
- 'chroot "$1" echo "PermitRootLogin yes" >> $1/etc/ssh/sshd_config'
- 'chroot "$1" echo "PermitEmptyPasswords yes" >> $1/etc/ssh/sshd_config'
Expand Down
7 changes: 5 additions & 2 deletions configs/bdebstrap_configs/trixie/trixie-am62xxsip-evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ mmdebstrap:
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-bad
- i2c-tools
- linux-image-6.6.32-k3
- linux-headers-6.6.32-k3
- linux-image-6.6.44-k3
- linux-headers-6.6.44-k3
- linux-libc-dev
- cryptodev-linux-dkms
- ti-img-rogue-driver-am62-dkms
Expand Down Expand Up @@ -70,6 +70,7 @@ mmdebstrap:
- pru-pssp
- parted
- e2fsprogs
- seatd
mirrors:
- http://deb.debian.org/debian
setup-hooks:
Expand Down Expand Up @@ -106,6 +107,8 @@ mmdebstrap:
- 'upload target/weston/weston /etc/default/weston'
- '$BDEBSTRAP_HOOKS/enable-units "$1" weston'
- 'chroot "$1" echo "export WAYLAND_DISPLAY=wayland-1" >> $1/etc/profile'
# Enable seatd service
- '$BDEBSTRAP_HOOKS/enable-units "$1" seatd'
# Enable ssh to root user without password
- 'chroot "$1" echo "PermitRootLogin yes" >> $1/etc/ssh/sshd_config'
- 'chroot "$1" echo "PermitEmptyPasswords yes" >> $1/etc/ssh/sshd_config'
Expand Down
4 changes: 2 additions & 2 deletions configs/bdebstrap_configs/trixie/trixie-am64xx-evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ mmdebstrap:
- vim
- k3conf
- weston
- linux-image-6.6.32-k3
- linux-headers-6.6.32-k3
- linux-image-6.6.44-k3
- linux-headers-6.6.44-k3
- linux-libc-dev
- cryptodev-linux-dkms
- firmware-ti-ipc-am64
Expand Down
15 changes: 13 additions & 2 deletions configs/bdebstrap_configs/trixie/trixie-rt-am62pxx-evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ mmdebstrap:
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-bad
- i2c-tools
- linux-image-6.6.32-k3-rt
- linux-headers-6.6.32-k3-rt
- linux-image-6.6.44-k3-rt
- linux-headers-6.6.44-k3-rt
- linux-libc-dev
- cryptodev-linux-dkms
- ti-img-rogue-driver-am62p-dkms
Expand Down Expand Up @@ -71,6 +71,8 @@ mmdebstrap:
- parted
- e2fsprogs
- chromium
- wpasupplicant
- seatd
mirrors:
- http://deb.debian.org/debian
setup-hooks:
Expand Down Expand Up @@ -107,6 +109,15 @@ mmdebstrap:
- 'upload target/weston/weston /etc/default/weston'
- '$BDEBSTRAP_HOOKS/enable-units "$1" weston'
- 'chroot "$1" echo "export WAYLAND_DISPLAY=wayland-1" >> $1/etc/profile'
# systemd-networkd Network Files
- 'chroot "$1" mkdir -p /etc/systemd/network/'
- 'upload target/systemd-networkd/10-eth.network /etc/systemd/network/10-eth.network'
- 'upload target/systemd-networkd/15-eth.network /etc/systemd/network/15-eth.network'
- 'upload target/systemd-networkd/30-wlan.network /etc/systemd/network/30-wlan.network'
- 'upload target/systemd-networkd/60-usb.network /etc/systemd/network/60-usb.network'
- 'chroot "$1" systemctl disable NetworkManager'
# Enable seatd service
- '$BDEBSTRAP_HOOKS/enable-units "$1" seatd'
# Enable ssh to root user without password
- 'chroot "$1" echo "PermitRootLogin yes" >> $1/etc/ssh/sshd_config'
- 'chroot "$1" echo "PermitEmptyPasswords yes" >> $1/etc/ssh/sshd_config'
Expand Down
15 changes: 13 additions & 2 deletions configs/bdebstrap_configs/trixie/trixie-rt-am62xx-evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ mmdebstrap:
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-bad
- i2c-tools
- linux-image-6.6.32-k3-rt
- linux-headers-6.6.32-k3-rt
- linux-image-6.6.44-k3-rt
- linux-headers-6.6.44-k3-rt
- linux-libc-dev
- cryptodev-linux-dkms
- ti-img-rogue-driver-am62-dkms
Expand Down Expand Up @@ -71,6 +71,8 @@ mmdebstrap:
- parted
- e2fsprogs
- chromium
- wpasupplicant
- seatd
mirrors:
- http://deb.debian.org/debian
setup-hooks:
Expand Down Expand Up @@ -107,6 +109,15 @@ mmdebstrap:
- 'upload target/weston/weston /etc/default/weston'
- '$BDEBSTRAP_HOOKS/enable-units "$1" weston'
- 'chroot "$1" echo "export WAYLAND_DISPLAY=wayland-1" >> $1/etc/profile'
# systemd-networkd Network Files
- 'chroot "$1" mkdir -p /etc/systemd/network/'
- 'upload target/systemd-networkd/10-eth.network /etc/systemd/network/10-eth.network'
- 'upload target/systemd-networkd/15-eth.network /etc/systemd/network/15-eth.network'
- 'upload target/systemd-networkd/30-wlan.network /etc/systemd/network/30-wlan.network'
- 'upload target/systemd-networkd/60-usb.network /etc/systemd/network/60-usb.network'
- 'chroot "$1" systemctl disable NetworkManager'
# Enable seatd service
- '$BDEBSTRAP_HOOKS/enable-units "$1" seatd'
# Enable ssh to root user without password
- 'chroot "$1" echo "PermitRootLogin yes" >> $1/etc/ssh/sshd_config'
- 'chroot "$1" echo "PermitEmptyPasswords yes" >> $1/etc/ssh/sshd_config'
Expand Down
7 changes: 5 additions & 2 deletions configs/bdebstrap_configs/trixie/trixie-rt-am62xx-lp-evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ mmdebstrap:
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-bad
- i2c-tools
- linux-image-6.6.32-k3-rt
- linux-headers-6.6.32-k3-rt
- linux-image-6.6.44-k3-rt
- linux-headers-6.6.44-k3-rt
- linux-libc-dev
- cryptodev-linux-dkms
- ti-img-rogue-driver-am62-dkms
Expand Down Expand Up @@ -71,6 +71,7 @@ mmdebstrap:
- parted
- e2fsprogs
- chromium
- seatd
mirrors:
- http://deb.debian.org/debian
setup-hooks:
Expand Down Expand Up @@ -107,6 +108,8 @@ mmdebstrap:
- 'upload target/weston/weston /etc/default/weston'
- '$BDEBSTRAP_HOOKS/enable-units "$1" weston'
- 'chroot "$1" echo "export WAYLAND_DISPLAY=wayland-1" >> $1/etc/profile'
# Enable seatd service
- '$BDEBSTRAP_HOOKS/enable-units "$1" seatd'
# Enable ssh to root user without password
- 'chroot "$1" echo "PermitRootLogin yes" >> $1/etc/ssh/sshd_config'
- 'chroot "$1" echo "PermitEmptyPasswords yes" >> $1/etc/ssh/sshd_config'
Expand Down
7 changes: 5 additions & 2 deletions configs/bdebstrap_configs/trixie/trixie-rt-am62xxsip-evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ mmdebstrap:
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-bad
- i2c-tools
- linux-image-6.6.32-k3-rt
- linux-headers-6.6.32-k3-rt
- linux-image-6.6.44-k3-rt
- linux-headers-6.6.44-k3-rt
- linux-libc-dev
- cryptodev-linux-dkms
- ti-img-rogue-driver-am62-dkms
Expand Down Expand Up @@ -70,6 +70,7 @@ mmdebstrap:
- pru-pssp
- parted
- e2fsprogs
- seatd
mirrors:
- http://deb.debian.org/debian
setup-hooks:
Expand Down Expand Up @@ -106,6 +107,8 @@ mmdebstrap:
- 'upload target/weston/weston /etc/default/weston'
- '$BDEBSTRAP_HOOKS/enable-units "$1" weston'
- 'chroot "$1" echo "export WAYLAND_DISPLAY=wayland-1" >> $1/etc/profile'
# Enable seatd service
- '$BDEBSTRAP_HOOKS/enable-units "$1" seatd'
# Enable ssh to root user without password
- 'chroot "$1" echo "PermitRootLogin yes" >> $1/etc/ssh/sshd_config'
- 'chroot "$1" echo "PermitEmptyPasswords yes" >> $1/etc/ssh/sshd_config'
Expand Down
4 changes: 2 additions & 2 deletions configs/bdebstrap_configs/trixie/trixie-rt-am64xx-evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ mmdebstrap:
- vim
- k3conf
- weston
- linux-image-6.6.32-k3-rt
- linux-headers-6.6.32-k3-rt
- linux-image-6.6.44-k3-rt
- linux-headers-6.6.44-k3-rt
- linux-libc-dev
- cryptodev-linux-dkms
- firmware-ti-ipc-am64
Expand Down
12 changes: 6 additions & 6 deletions configs/bsp_sources.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# BSP selection based on variant of filesystem
[trixie]
bsp_version = "10.00.07"
bsp_version = "10.01.06"

[bookworm]
bsp_version = "09.02.00.010"

# BSP Configurations
[10.00.07]
atf_srcrev = "00f1ec6b8740ccd403e641131e294aabacf2a48b"
optee_srcrev = "12d7c4ee4642d2d761e39fbcf21a06fb77141dea"
uboot_srcrev = "10.00.07"
linux_fw_srcrev = "10.00.07"
[10.01.06]
atf_srcrev = "58b25570c9ef91753b14c2103f45f4be9dddb696"
optee_srcrev = "8f645256efc0dc66bd5c118778b0b50c44469ae1"
uboot_srcrev = "10.01.06"
linux_fw_srcrev = "10.01.06"

[09.02.00.010]
atf_srcrev = "00f1ec6b8740ccd403e641131e294aabacf2a48b"
Expand Down
File renamed without changes.
6 changes: 6 additions & 0 deletions target/systemd-networkd/10-eth.network
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[Match]
Name=eth0
KernelCommandLine=!root=/dev/nfs

[Network]
DHCP=yes
9 changes: 9 additions & 0 deletions target/systemd-networkd/15-eth.network
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Match]
Name=eth*
KernelCommandLine=!root=/dev/nfs

[Link]
RequiredForOnline=no

[Network]
DHCP=yes
5 changes: 5 additions & 0 deletions target/systemd-networkd/30-wlan.network
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[Match]
Name=wlan*

[Network]
DHCP=yes
5 changes: 5 additions & 0 deletions target/systemd-networkd/60-usb.network
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[Match]
Name=usb*

[Network]
DHCP=yes

0 comments on commit 04a8cb7

Please sign in to comment.