Skip to content

Commit

Permalink
kernel: overlays: Reduce Pi 4 vc4 CMA size to 320MB
Browse files Browse the repository at this point in the history
kernel: dtoverlays: Add orientation (and rotation) parameter to sensor overlays
See: raspberrypi/linux#4501

kernel: Adding Ablic S35390A to i2c-rtc-common.dtsi
See: raspberrypi/linux#4492

kernel: configs: Add RANDOM_TRUST_BOOTLOADER=y
See: raspberrypi/firmware#1595

kernel: char: vc_mem: Delete dead code

firmware: arm_dt: Limit CMA to 256MB if total_mem < 2GB or gpu_mem > 256MB
See: raspberrypi/firmware#1603
  • Loading branch information
popcornmix committed Aug 3, 2021
1 parent ce56fb4 commit d4c184e
Show file tree
Hide file tree
Showing 53 changed files with 31 additions and 9 deletions.
Binary file modified fixup.dat
Binary file not shown.
Binary file modified fixup4.dat
Binary file not shown.
Binary file modified fixup4cd.dat
Binary file not shown.
Binary file modified fixup4db.dat
Binary file not shown.
Binary file modified fixup4x.dat
Binary file not shown.
Binary file modified fixup_cd.dat
Binary file not shown.
Binary file modified fixup_db.dat
Binary file not shown.
Binary file modified fixup_x.dat
Binary file not shown.
2 changes: 1 addition & 1 deletion git_hash
Original file line number Diff line number Diff line change
@@ -1 +1 @@
86729e78125d4f3d203457940feee8bc97b11f6c
4e5d621498df7fce8b2cf90ac6bb7b2efbdbec5e
Binary file modified kernel.img
Binary file not shown.
Binary file modified kernel7.img
Binary file not shown.
Binary file modified kernel7l.img
Binary file not shown.
Binary file modified kernel8.img
Binary file not shown.
Binary file modified modules/5.10.52+/kernel/drivers/media/i2c/imx290.ko
Binary file not shown.
Binary file modified modules/5.10.52+/kernel/drivers/media/i2c/ov7251.ko
Binary file not shown.
Binary file modified modules/5.10.52+/kernel/drivers/media/i2c/ov9281.ko
Binary file not shown.
Binary file modified modules/5.10.52+/kernel/kernel/configs.ko
Binary file not shown.
Binary file modified modules/5.10.52-v7+/kernel/drivers/media/i2c/imx290.ko
Binary file not shown.
Binary file modified modules/5.10.52-v7+/kernel/drivers/media/i2c/ov7251.ko
Binary file not shown.
Binary file modified modules/5.10.52-v7+/kernel/drivers/media/i2c/ov9281.ko
Binary file not shown.
Binary file modified modules/5.10.52-v7+/kernel/kernel/configs.ko
Binary file not shown.
Binary file modified modules/5.10.52-v7l+/kernel/drivers/media/i2c/imx290.ko
Binary file not shown.
Binary file modified modules/5.10.52-v7l+/kernel/drivers/media/i2c/ov7251.ko
Binary file not shown.
Binary file modified modules/5.10.52-v7l+/kernel/drivers/media/i2c/ov9281.ko
Binary file not shown.
Binary file modified modules/5.10.52-v7l+/kernel/kernel/configs.ko
Binary file not shown.
Binary file modified modules/5.10.52-v8+/kernel/drivers/media/i2c/imx290.ko
Binary file not shown.
Binary file modified modules/5.10.52-v8+/kernel/drivers/media/i2c/ov7251.ko
Binary file not shown.
Binary file modified modules/5.10.52-v8+/kernel/drivers/media/i2c/ov9281.ko
Binary file not shown.
Binary file modified modules/5.10.52-v8+/kernel/kernel/configs.ko
Binary file not shown.
30 changes: 26 additions & 4 deletions overlays/README
Original file line number Diff line number Diff line change
Expand Up @@ -1424,6 +1424,8 @@ Params: abx80x Select one of the ABx80x family:

sd3078 Select the ZXW Shenzhen whwave SD3078 device

s35390a Select the ABLIC S35390A device

i2c0 Choose the I2C0 bus on GPIOs 0&1

i2c_csi_dsi Choose the I2C0 bus on GPIOs 44&45
Expand Down Expand Up @@ -1487,6 +1489,8 @@ Params: abx80x Select one of the ABx80x family:

sd3078 Select the ZXW Shenzhen whwave SD3078 device

s35390a Select the ABLIC S35390A device

addr Sets the address for the RTC. Note that the
device must be configured to use the specified
address.
Expand Down Expand Up @@ -1678,6 +1682,8 @@ Info: Sony IMX219 camera module.
Load: dtoverlay=imx219,<param>=<val>
Params: rotation Mounting rotation of the camera sensor (0 or
180, default 180)
orientation Sensor orientation (0 = front, 1 = rear,
2 = external, default external)


Name: imx290
Expand All @@ -1694,6 +1700,10 @@ Params: 4lane Enable 4 CSI2 lanes. This requires a Compute
(the default), whilst those from Innomaker use
74.25MHz.
mono Denote that the module is a mono sensor.
orientation Sensor orientation (0 = front, 1 = rear,
2 = external, default external)
rotation Mounting rotation of the camera sensor (0 or
180, default 0)


Name: imx378
Expand All @@ -1703,6 +1713,8 @@ Info: Sony IMX378 camera module.
Load: dtoverlay=imx378,<param>=<val>
Params: rotation Mounting rotation of the camera sensor (0 or
180, default 180)
orientation Sensor orientation (0 = front, 1 = rear,
2 = external, default external)


Name: imx477
Expand All @@ -1712,6 +1724,8 @@ Info: Sony IMX477 camera module.
Load: dtoverlay=imx477,<param>=<val>
Params: rotation Mounting rotation of the camera sensor (0 or
180, default 180)
orientation Sensor orientation (0 = front, 1 = rear,
2 = external, default external)


Name: iqaudio-codec
Expand Down Expand Up @@ -2137,22 +2151,30 @@ Info: Omnivision OV5647 camera module.
Load: dtoverlay=ov5647,<param>=<val>
Params: rotation Mounting rotation of the camera sensor (0 or
180, default 0)
orientation Sensor orientation (0 = front, 1 = rear,
2 = external, default external)


Name: ov7251
Info: Omnivision OV7251 camera module.
Uses Unicam 1, which is the standard camera connector on most Pi
variants.
Load: dtoverlay=ov7251
Params: <None>
Load: dtoverlay=ov7251,<param>=<val>
Params: rotation Mounting rotation of the camera sensor (0 or
180, default 0)
orientation Sensor orientation (0 = front, 1 = rear,
2 = external, default external)


Name: ov9281
Info: Omnivision OV9281 camera module.
Uses Unicam 1, which is the standard camera connector on most Pi
variants.
Load: dtoverlay=ov9281
Params: <None>
Load: dtoverlay=ov9281,<param>=<val>
Params: rotation Mounting rotation of the camera sensor (0 or
180, default 0)
orientation Sensor orientation (0 = front, 1 = rear,
2 = external, default external)


Name: papirus
Expand Down
Binary file modified overlays/i2c-rtc-gpio.dtbo
Binary file not shown.
Binary file modified overlays/i2c-rtc.dtbo
Binary file not shown.
Binary file modified overlays/imx219.dtbo
Binary file not shown.
Binary file modified overlays/imx290.dtbo
Binary file not shown.
Binary file modified overlays/imx378.dtbo
Binary file not shown.
Binary file modified overlays/imx477.dtbo
Binary file not shown.
Binary file modified overlays/ov5647.dtbo
Binary file not shown.
Binary file modified overlays/ov7251.dtbo
Binary file not shown.
Binary file modified overlays/ov9281.dtbo
Binary file not shown.
Binary file modified overlays/vc4-fkms-v3d-pi4.dtbo
Binary file not shown.
Binary file modified overlays/vc4-kms-v3d-pi4.dtbo
Binary file not shown.
Binary file modified start.elf
Binary file not shown.
Binary file modified start4.elf
Binary file not shown.
Binary file modified start4cd.elf
Binary file not shown.
Binary file modified start4db.elf
Binary file not shown.
Binary file modified start4x.elf
Binary file not shown.
Binary file modified start_cd.elf
Binary file not shown.
Binary file modified start_db.elf
Binary file not shown.
Binary file modified start_x.elf
Binary file not shown.
2 changes: 1 addition & 1 deletion uname_string
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Linux version 5.10.52+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1440 Tue Jul 27 09:53:08 BST 2021
Linux version 5.10.52+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1441 Tue Aug 3 18:08:18 BST 2021
2 changes: 1 addition & 1 deletion uname_string7
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Linux version 5.10.52-v7+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1440 SMP Tue Jul 27 09:54:13 BST 2021
Linux version 5.10.52-v7+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1441 SMP Tue Aug 3 18:10:09 BST 2021
2 changes: 1 addition & 1 deletion uname_string7l
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Linux version 5.10.52-v7l+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1440 SMP Tue Jul 27 09:55:21 BST 2021
Linux version 5.10.52-v7l+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1441 SMP Tue Aug 3 18:11:56 BST 2021
2 changes: 1 addition & 1 deletion uname_string8
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Linux version 5.10.52-v8+ (dom@buildbot) (aarch64-linux-gnu-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1440 SMP PREEMPT Tue Jul 27 09:56:40 BST 2021
Linux version 5.10.52-v8+ (dom@buildbot) (aarch64-linux-gnu-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1441 SMP PREEMPT Tue Aug 3 18:14:03 BST 2021

0 comments on commit d4c184e

Please sign in to comment.