Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
dd3f5ee
wip
beschrich-is4it Apr 13, 2023
4411dbb
wip
beschrich-is4it Apr 13, 2023
1e75382
wip
beschrich-is4it Apr 13, 2023
029fa97
wip
beschrich-is4it Apr 13, 2023
c0bdd20
wip
beschrich-is4it Apr 13, 2023
6aee307
dummy_dclk_vop0_frac renamed to dclk_vop0_frac
britus Apr 15, 2023
1678fe9
debug define added on top
britus Apr 15, 2023
1debfff
debug infos added
britus Apr 15, 2023
1f49413
debug info added
britus Apr 15, 2023
eee473f
grf added to isp_0 isp_1
britus Apr 15, 2023
333e434
systemd.autogpt error log spam in case emmc usage
britus Apr 15, 2023
3e96339
cam sensors disabled
britus Apr 15, 2023
c66eda2
disable vop fraction clk due bug in drm mali driver
britus Apr 15, 2023
9ca6290
wip
britus Apr 15, 2023
c7b69ef
debug output removed
britus Apr 16, 2023
7fcdd00
kernel driver doesn't work, free for userspace drv
britus Apr 16, 2023
0052470
init error message clarified
britus Apr 16, 2023
84a7bd0
kernel config fixed
britus Apr 16, 2023
ead8dca
dmc enabled
britus Apr 16, 2023
605474c
debug added
britus Apr 16, 2023
1614af6
wip: drm show loader logo
britus Apr 16, 2023
3bafd8d
wip:
pari-pacc Apr 16, 2023
e686d83
wip:
pari-pacc Apr 16, 2023
cef3d40
wip: adc keys
pari-pacc Apr 17, 2023
2e362a2
wip: adc-keys
pari-pacc Apr 17, 2023
c698bba
wip: adc gpio buttons
pari-pacc Apr 17, 2023
a38453f
wip: gpio buttons
pari-pacc Apr 17, 2023
cfd6843
wip: gpio keys
pari-pacc Apr 17, 2023
e000199
Merge pull request #1 from friendlyarm/nanopi4-linux-v4.4.y
Nov 24, 2023
0ee8026
Build script added
britus Jan 18, 2024
d6aebb2
rockchip firmware dptx added.
britus Jan 18, 2024
d22a107
wip
britus Jan 19, 2024
89932aa
build script
britus Jan 19, 2024
51f06a0
rkwifi6 and ble concurrent loses wifi connection
britus Jan 20, 2024
2a0e6d7
build script local and cross
britus Jan 20, 2024
55cccc9
build script fix
britus Jan 20, 2024
30fec98
revert debug in old dhd
britus Jan 20, 2024
e9cba3d
disable WLC_SCB_DEAUTHORIZE on connect
britus Jan 20, 2024
5a45945
fix debug output line end
britus Jan 20, 2024
d44761b
Merge branch 'nanopi4-linux-v4.4.y' of https://github.com/britus/kern…
britus Jan 20, 2024
cba8808
wip
britus Jan 20, 2024
6a7e525
fix WL debug logging
britus Jan 21, 2024
34d73ba
WiFi connect / reconnect fixes; debug macro cleanups
britus Jan 21, 2024
fede0ee
wip rockchip wifi dhd 6
britus Jan 21, 2024
3447a13
wip buxfixing rockchip rkwifi bcmdhd_wifi6
britus Jan 22, 2024
d960a95
bug fixed rockchip rkwifi bcmdhd_wifi6, iPhones connecting immediately
britus Jan 22, 2024
af6ff96
bug fixed rockchip rkwifi bcmdhd_wifi6, iPhones re-/connecting immedi…
britus Jan 22, 2024
0011245
EoF kernel config updated
pari-pacc Jan 23, 2024
1266ace
EoF wl cfg80211 auth/deauth control added
pari-pacc Jan 23, 2024
307a77c
EoF wl cfg80211 auth/deauth control added
pari-pacc Jan 23, 2024
8e11f65
Updated Auth/Deauth management RC_230122_EOF_FIX_3
britus Jan 23, 2024
e2137e6
compiler dump disabled
britus Jan 23, 2024
6efdf5d
some exludes added
britus Jan 23, 2024
ebe8e2b
typo fixed
britus Jan 23, 2024
7c6ebdd
Logger output cleanup and some workflow fixes
britus Jan 24, 2024
33c90ea
bug fixed rockchip rkwifi bcmdhd_wifi6, iPhones re-/connecting immedi…
britus Jan 25, 2024
b7ecc7e
bug fixed rockchip rkwifi bcmdhd_wifi6, iPhones re-/connecting immedi…
britus Jan 25, 2024
0efcf7e
WiFi AP debug output reduced
britus Jan 25, 2024
006db7c
Create 00-Boot-Log.md
britus Jan 25, 2024
44aee05
Update 00-Boot-Log.md
britus Jan 25, 2024
975a0f5
getting rid of -dirty
britus Feb 4, 2024
67f767d
Merge branch 'nanopi4-linux-v4.4.y' of https://github.com/britus/kern…
britus Feb 4, 2024
5381cce
wip
britus Feb 4, 2024
c21852a
Added USB-GSM Module device naming ttyQCTm ttyHUAn to prevent random …
britus May 3, 2024
ae0e707
Added USB-GSM Module device naming ttyQCTm ttyHUAn to prevent random …
britus May 3, 2024
1fbc03a
drm debug disabled
britus May 19, 2024
9941479
Merge pull request #2 from friendlyarm/nanopi4-linux-v4.4.y
britus Jun 8, 2024
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ modules.builtin
Module.symvers
*.dwo
*.su
.config_done

#
# Top-level generic files
Expand Down Expand Up @@ -120,3 +121,4 @@ all.config

# fetched Android config fragments
android/configs/android-*.cfg
nohup.out
Empty file removed .scmversion
Empty file.
663 changes: 663 additions & 0 deletions 00-Boot-Log.md

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions arch/arm64/boot/dts/rockchip/rk3399-nanopi4-cifisp.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

&cif_isp0 {
rockchip,camera-modules-attached = <&ov13850p0 &ov4689p0>;
status = "okay";
status = "disabled"; //EOF:FIXED:unused
};

&isp0_mmu {
Expand All @@ -30,7 +30,7 @@

&cif_isp1 {
rockchip,camera-modules-attached = <&ov13850p1 &ov4689p1>;
status = "okay";
status = "disabled"; //EOF:FIXED:unused
};

&isp1_mmu {
Expand All @@ -39,7 +39,7 @@

&i2c1 {
ov13850p0: ov13850@10 {
status = "okay";
status = "disabled"; //EOF:FIXED:unused
compatible = "omnivision,ov13850-v4l2-i2c-subdev";
reg = <0x10>;
device_type = "v4l2-i2c-subdev";
Expand Down Expand Up @@ -73,7 +73,7 @@
};

ov4689p0: ov4689@36 {
status = "okay";
status = "disabled"; //EOF:FIXED:unused
compatible = "omnivision,ov4689-v4l2-i2c-subdev";
reg = <0x36>;
device_type = "v4l2-i2c-subdev";
Expand Down Expand Up @@ -107,7 +107,7 @@

&i2c2 {
ov13850p1: ov13850@10 {
status = "okay";
status = "disabled"; //EOF:FIXED:unused
compatible = "omnivision,ov13850-v4l2-i2c-subdev";
reg = <0x10>;
device_type = "v4l2-i2c-subdev";
Expand Down Expand Up @@ -141,7 +141,7 @@
};

ov4689p1: ov4689@36 {
status = "okay";
status = "disabled"; //EOF:FIXED:unused
compatible = "omnivision,ov4689-v4l2-i2c-subdev";
reg = <0x36>;
device_type = "v4l2-i2c-subdev";
Expand Down
63 changes: 52 additions & 11 deletions arch/arm64/boot/dts/rockchip/rk3399-nanopi4-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"rockchip,rk3399";

chosen {
bootargs = "earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1 console=ttyFIQ0 rootwait coherent_pool=1m";
bootargs = "earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1 console=ttyFIQ0 rootwait coherent_pool=1m systemd.gpt_auto=0 rd.systemd.gpt_auto=0";
};

cpuinfo {
Expand Down Expand Up @@ -313,14 +313,14 @@
};
};

gpio-keys {
gpio_keys: gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
autorepeat;

pinctrl-names = "default";
pinctrl-0 = <&power_key>;
pinctrl-0 = <&pcb_buttons>;

button@0 {
gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
Expand All @@ -330,14 +330,44 @@
gpio-key,wakeup = <1>;
debounce-interval = <100>;
};

/* --------------------------------------------------- */
button@1 {
gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; // GPIO1_A1
linux,code = <KEY_F1>;
label = "GPIO Button 1";
linux,input-type = <1>;
gpio-key,wakeup = <1>;
debounce-interval = <100>;
};

button@2 {
gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; // GPIO1_A3
linux,code = <KEY_F2>;
label = "GPIO Button 2";
linux,input-type = <1>;
gpio-key,wakeup = <1>;
debounce-interval = <100>;
};

button@3 {
gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; // GPIO1_A4
linux,code = <KEY_F3>;
label = "GPIO Button 3";
linux,input-type = <1>;
gpio-key,wakeup = <1>;
debounce-interval = <100>;
};
/* ---------------------------------------------------- */
};

adc-keys {
adc_keys: adc-keys {
compatible = "adc-keys";
io-channels = <&saradc 1>;
io-channel-names = "buttons";
poll-interval = <100>;
keyup-threshold-microvolt = <1800000>;
autorepeat = <1>;

button-up {
label = "Volume Up";
Expand Down Expand Up @@ -954,6 +984,19 @@
enable-gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
};

&saradc {
status = "okay";
vref-supply = <&vccadc_ref>; /* TBD */
};

&adc_keys {
status = "okay";
};

&gpio_keys {
status = "okay";
};

&pwm0 {
status = "okay";
};
Expand Down Expand Up @@ -997,11 +1040,6 @@
<&gpio1 14 GPIO_ACTIVE_HIGH>;
};

&saradc {
status = "okay";
vref-supply = <&vccadc_ref>; /* TBD */
};

&sdhci {
bus-width = <8>;
mmc-hs400-1_8v;
Expand Down Expand Up @@ -1176,8 +1214,11 @@
};

rockchip-key {
power_key: power-key {
rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_up>;
pcb_buttons: pcb-buttons {
rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_up>,
<1 1 RK_FUNC_GPIO &pcfg_pull_up>,
<1 3 RK_FUNC_GPIO &pcfg_pull_up>,
<1 4 RK_FUNC_GPIO &pcfg_pull_up>;
};
};

Expand Down
4 changes: 2 additions & 2 deletions arch/arm64/boot/dts/rockchip/rk3399-nanopi4-rev06.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <dt-bindings/sensor-dev.h>

/ {
model = "FriendlyElec SOM-RK3399";
model = "FriendlyElec SOM-RK3399 Rev. 6";
compatible = "friendlyelec,som-rk3399", "rockchip,rk3399";
};

Expand All @@ -37,7 +37,7 @@
clock-frequency = <400000>;

sensor@18 {
status = "okay";
status = "disabled"; //EOF:FIXED:Does not work in kernel
compatible = "gs_lis3dh";
reg = <0x18>;
type = <SENSOR_TYPE_ACCEL>;
Expand Down
6 changes: 3 additions & 3 deletions arch/arm64/boot/dts/rockchip/rk3399-nanopi4-rev07.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <dt-bindings/sensor-dev.h>

/ {
model = "FriendlyElec SOM-RK3399";
model = "FriendlyElec SOM-RK3399 Rev. 7";
compatible = "friendlyelec,som-rk3399", "rockchip,rk3399";
};

Expand All @@ -37,7 +37,7 @@
clock-frequency = <400000>;

sensor@18 {
status = "okay";
status = "disabled"; //EOF:FIXED: does not work in kernel
compatible = "gs_lis3dh";
reg = <0x18>;
type = <SENSOR_TYPE_ACCEL>;
Expand Down Expand Up @@ -84,7 +84,7 @@
};

&dmc {
status = "disabled";
status = "okay";
system-status-freq = <
/*system status freq(KHz)*/
SYS_STATUS_NORMAL 856000
Expand Down
4 changes: 3 additions & 1 deletion arch/arm64/boot/dts/rockchip/rk3399-nanopi4-rkisp1.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
status = "okay";
resets = <&cru SRST_H_ISP0>, <&cru SRST_ISP0>;
reset-names = "h_isp0", "isp0";
rockchip,grf = <&grf>;

port {
#address-cells = <1>;
Expand Down Expand Up @@ -209,7 +210,8 @@
status = "okay";
resets = <&cru SRST_H_ISP1>, <&cru SRST_ISP1>;
reset-names = "h_isp1", "isp1";

rockchip,grf = <&grf>;

port {
#address-cells = <1>;
#size-cells = <0>;
Expand Down
4 changes: 3 additions & 1 deletion arch/arm64/boot/dts/rockchip/rk3399.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1833,6 +1833,7 @@
resets = <&cru SRST_A_VOP1>, <&cru SRST_H_VOP1>, <&cru SRST_D_VOP1>;
reset-names = "axi", "ahb", "dclk";
status = "disabled";
rockchip,grf = <&grf>;

vopl_out: port {
#address-cells = <1>;
Expand Down Expand Up @@ -1902,7 +1903,8 @@
power-domains = <&power RK3399_PD_VOPB>;
iommus = <&vopb_mmu>;
status = "disabled";

rockchip,grf = <&grf>;

vopb_out: port {
#address-cells = <1>;
#size-cells = <0>;
Expand Down
Loading