Skip to content

Commit 3845587

Browse files
committed
More updates for PB2 and latest kernel/device tree
1 parent dedb8c2 commit 3845587

File tree

2 files changed

+20
-22
lines changed

2 files changed

+20
-22
lines changed

SD/README.BB64

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -44,27 +44,13 @@ rm -rf /opt/source/dtb-5* /opt/source/dtb-6.1-* /opt/source/dtb-6.6-* /opt/sourc
4444
apt-get remove bbb.io-kernel-6.16-k3 bbb.io-kernel-6.16-k3-am62 linux-image-$(uname -r)
4545
apt-get install bbb.io-kernel-6.17-k3
4646

47-
reboot
48-
49-
# The in-kernel driver for the standard USB -> Gigabit device we use has some reporting issues and
47+
# The "default" driver for the standard USB->Gigabit device we use has some reporting issues and
5048
# always report half duplex mode and sometimes only 100MB connection (despite actualy gigabit connection
5149
# as verified by unifi and speed tests) and other issues which can cause warnings to pop up (for
52-
# colorlights that need gigabit). We'll install the driver directly from Asix and use it.
53-
apt-get install -y linux-headers-$(uname -r)
54-
cd /opt
55-
curl "https://www.asix.com.tw/en/support/download/file/1943?time=1748550560053" --output asix.tar.bz2
56-
tar -xjf asix.tar.bz2
57-
mv /lib/modules/$(uname -r)/kernel/drivers/net/usb/ax88179_178a.ko.xz /lib/modules/$(uname -r)/kernel/drivers/net/usb/ax88179_178a.ko.xz.old
58-
cd ASIX_USB_NIC_Linux_Driver_Source_v3.5.0
59-
make
60-
make install
61-
cd ..
62-
rm -rf ASIX_USB_NIC_Linux_Driver_Source_v3.5.0
50+
# colorlights that need gigabit). Setup to use the specific module for it.
6351
cat > /etc/udev/rules.d/99-asix.rules << EOF
6452
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0b95", ATTR{idProduct}=="1790", ATTR{bConfigurationValue}!="1", ATTR{bConfigurationValue}="1"
6553
EOF
66-
rm asix.tar.bz2
67-
apt-get remove -y --autoremove linux-headers-$(uname -r)
6854

6955
#remove some unneeded things to clear up space
7056
rm -rf /opt/bb-code-server

capes/drivers/bb64/fpp-base-overlay.dts

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,13 @@
3838
alignment = <0x1000>;
3939
no-map;
4040
};
41-
wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9db00000 {
42-
compatible = "shared-dma-pool";
43-
reg = <0x00 0x9db00000 0x00 0x400000>;
44-
no-map;
45-
};
41+
wkup_r5fss0_core0_memory_region: memory@9db00000 {
42+
compatible = "shared-dma-pool";
43+
reg = <0x00 0x9db00000 0x00 0x400000>;
44+
no-map;
45+
};
4646
};
47+
// Disable m4 core as we don't use it
4748
&mcu_m4fss_memory_region {
4849
status = "disabled";
4950
};
@@ -53,12 +54,23 @@
5354
&mcu_m4fss {
5455
status = "disabled";
5556
};
57+
// Disable gpu core as we don't use it
5658
&gpu {
5759
status = "disabled";
5860
};
61+
// Disable r5 core as we don't use it
62+
&wkup_r5fss0 {
63+
status = "disabled";
64+
};
65+
&wkup_r5fss0_core0 {
66+
status = "disabled";
67+
};
5968

6069
&main_uart1 {
61-
status = "okay";
70+
// this one will consume four pins
71+
// preventing a bunch of capes from working. No capes are known
72+
// to use this UART so just disable it to keep the pins free
73+
status = "disabled";
6274
};
6375
&main_uart2 {
6476
status = "okay";

0 commit comments

Comments
 (0)