Skip to content

Commit 7bef001

Browse files
committed
fixup
1 parent 1a2c5fa commit 7bef001

File tree

5 files changed

+18
-26
lines changed

5 files changed

+18
-26
lines changed

package/board/raspberry-pi-4/rasberry-pi-4.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ define RASPBERRY_PI_4_LINUX_CONFIG_FIXUPS
22
$(call KCONFIG_ENABLE_OPT,CONFIG_SND)
33
$(call KCONFIG_ENABLE_OPT,CONFIG_SND_SOC)
44
$(call KCONFIG_ENABLE_OPT,CONFIG_COMMON_CLK_BCM2835)
5+
$(call KCONFIG_ENABLE_OPT,CONFIG_CLK_RASPBERRYPI)
56
$(call KCONFIG_ENABLE_OPT,CONFIG_DRM)
67
$(call KCONFIG_SET_OPT,CONFIG_DRM_V3D,m)
78
$(call KCONFIG_SET_OPT,CONFIG_DRM_VC4,m)

src/board/raspberry-pi-4/config.txt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ kernel=u-boot.bin
1212
device_tree=bcm2711-rpi-4-b.dtb
1313
dtoverlay=rpi-env
1414
dtoverlay=infix-key
15-
dtoverlay=vc4-kms-v3d
15+
dtoverlay=vc4-kms-v3d-pi4
16+
dtoverlay=vc4-kms-dsi-ili9881-7inch
1617

1718
# To use an external initramfs file
1819
#initramfs rootfs.cpio.gz
@@ -21,11 +22,7 @@ dtoverlay=vc4-kms-v3d
2122
# If the text shown on the screen disappears off the edge, comment this out
2223
disable_overscan=1
2324

24-
# How much memory in MB to assign to the GPU on Pi models having
25-
# 256, 512 or 1024 MB total memory
26-
gpu_mem_256=100
27-
gpu_mem_512=100
28-
gpu_mem_1024=100
25+
gpu_mem=256
2926

3027
# Enable UART0 for serial console on ttyAMA0
3128
enable_uart=1

src/board/raspberry-pi-4/dts/broadcom/bcm2711-rpi-4-b.dts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,10 @@
1717
infix {
1818
/* Default admin user password: 'admin' */
1919
factory-password-hash = "$5$mI/zpOAqZYKLC2WU$i7iPzZiIjOjrBF3NyftS9CCq8dfYwHwrmUK097Jca9A";
20-
usb-ports = <&usb>;
21-
usb-port-names = "USB";
2220
};
2321
};
2422
};
25-
23+
/*
2624
&i2c1 {
2725
status = "okay";
2826

@@ -33,6 +31,7 @@
3331
interrupts = <27 IRQ_TYPE_EDGE_FALLING>;
3432
};
3533
};
34+
3635
&dsi1 {
3736
status = "okay";
3837
#address-cells = <1>;
@@ -58,4 +57,4 @@
5857
};
5958
};
6059
};
61-
60+
*/

src/board/raspberry-pi-4/rootfs/boot/syslinux/syslinux.conf

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/board/raspberry-pi-4/rootfs/usr/share/product/raspberrypi,4-model-b/etc/factory-config.cfg

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22
"ieee802-dot1ab-lldp:lldp": {
33
"infix-lldp:enabled": true
44
},
5+
"ietf-hardware:hardware": {
6+
"component": [
7+
{
8+
"name": "USB",
9+
"class": "infix-hardware:usb",
10+
"state": {
11+
"admin-state": "unlocked"
12+
}
13+
}
14+
]
15+
},
516
"ietf-interfaces:interfaces": {
617
"interface": [
718
{

0 commit comments

Comments
 (0)