Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: Pinebook pro - integration into rk3399 boardfamily & move rk3399 to 5.6 #1759

Closed
wants to merge 25 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
fc26b8f
switch pinebook to upstream u-boot
chwe17 Jan 21, 2020
c889c54
Merge branch 'master' of https://github.com/armbian/build into rk3399…
chwe17 Jan 21, 2020
d4b5bb9
add basic support for pinebook in 5.4 kernel
chwe17 Jan 22, 2020
d45389c
provide only current builds
chwe17 Jan 22, 2020
d8a57f6
add pinebook pro to rk3399 bsp kernel (untested)
chwe17 Jan 22, 2020
bbfb7b3
compile panel simple as module
chwe17 Jan 24, 2020
a8f8c75
adding eDP to pineboot bootargs at boot
chwe17 Jan 25, 2020
c90fe83
print bootargs for debug
chwe17 Jan 25, 2020
1d94aa4
small fixes in iftest and variable print
chwe17 Feb 10, 2020
a3317c3
switch to tobias v5.5 branch for debug purposes (DO NOT MERGE!)
chwe17 Feb 10, 2020
dd0ab33
Revert "switch to tobias v5.5 branch for debug purposes (DO NOT MERGE!)"
chwe17 Feb 10, 2020
0840d92
Merge branch 'rk3399_pinebook' of https://github.com/chwe17/build int…
chwe17 Feb 28, 2020
169a4b7
Merge branch 'master' of https://github.com/armbian/build into rk3399…
chwe17 Feb 28, 2020
8d92a16
fix broken Makefile
chwe17 Feb 28, 2020
da2e9a4
update DT to https://gitlab.manjaro.org/tsys/linux-pinebook-pro/-/com…
chwe17 Feb 28, 2020
6ef4754
add pbp dt to makefile again
chwe17 Feb 28, 2020
79f08df
refractor pinebook patch into DT, charger and display patches
chwe17 Feb 29, 2020
07d062b
fix sd card powering by bring back vqmmc-supply & renamed edp and cha…
chwe17 Feb 29, 2020
844980f
add pbp to dev kernel
chwe17 Feb 29, 2020
84a5c15
revert changes in builddeb to get get a new packaging patch for >5.6
chwe17 Mar 1, 2020
aa06049
switch rk3399 to mainline master without any patches
chwe17 Mar 6, 2020
033e218
Merge branch 'master' of https://github.com/armbian/build into rk3399…
chwe17 Mar 18, 2020
8c6a46c
kernel bump to 5.6
chwe17 Mar 18, 2020
c517a91
restore kernelconfig
chwe17 Mar 19, 2020
b4d00db
disable timekeeping patch, it breaks build.
chwe17 Mar 19, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/boards/pinebook-pro.wip
@@ -1,6 +1,6 @@
# RK3399 hexa core 2G/4GB SoC Laptop eMMC USB3 WiFi
BOARD_NAME="Pinebook Pro"
BOARDFAMILY="rockchip64"
BOARDFAMILY="rk3399"
BOOTCONFIG="pinebook_pro-rk3399_defconfig"
BOOT_FDT_FILE="rockchip/rk3399-pinebook-pro.dtb"
DESKTOP_AUTOLOGIN="no"
Expand Down
4 changes: 3 additions & 1 deletion config/bootscripts/boot-rockchip64.cmd
Expand Up @@ -19,6 +19,7 @@ if test -e ${devtype} ${devnum} ${prefix}armbianEnv.txt; then
env import -t ${load_addr} ${filesize}
fi

if test "${fdtfile}" = "rockchip/rk3399-pinebook-pro.dtb"; then setenv displayoutput "video=eDP-1:1920x1080@60"; fi
if test "${logo}" = "disabled"; then setenv logo "logo.nologo"; fi

if test "${console}" = "display" || test "${console}" = "both"; then setenv consoleargs "console=tty1"; fi
Expand All @@ -27,7 +28,7 @@ if test "${console}" = "serial" || test "${console}" = "both"; then setenv conso
# get PARTUUID of first partition on SD/eMMC the boot script was loaded from
if test "${devtype}" = "mmc"; then part uuid mmc ${devnum}:1 partuuid; fi

setenv bootargs "root=${rootdev} rootwait rootfstype=${rootfstype} ${consoleargs} consoleblank=0 loglevel=${verbosity} ubootpart=${partuuid} usb-storage.quirks=${usbstoragequirks} ${extraargs} ${extraboardargs}"
setenv bootargs "root=${rootdev} rootwait rootfstype=${rootfstype} ${consoleargs} ${displayoutput} consoleblank=0 loglevel=${verbosity} ubootpart=${partuuid} usb-storage.quirks=${usbstoragequirks} ${extraargs} ${extraboardargs}"

if test "${docker_optimizations}" = "on"; then setenv bootargs "${bootargs} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1"; fi

Expand Down Expand Up @@ -63,6 +64,7 @@ else
source ${load_addr}
fi
fi
printenv bootargs
booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}

# Recompile with:
Expand Down
7 changes: 4 additions & 3 deletions config/kernel/linux-rockchip64-current.config
Expand Up @@ -3330,6 +3330,7 @@ CONFIG_POWER_SUPPLY_HWMON=y
# CONFIG_GENERIC_ADC_BATTERY is not set
# CONFIG_TEST_POWER is not set
CONFIG_CHARGER_ADP5061=m
CONFIG_BATTERY_CW2015=y
CONFIG_BATTERY_DS2760=m
# CONFIG_BATTERY_DS2780 is not set
# CONFIG_BATTERY_DS2781 is not set
Expand Down Expand Up @@ -4472,7 +4473,7 @@ CONFIG_DRM_PANEL=y
#
# CONFIG_DRM_PANEL_ARM_VERSATILE is not set
# CONFIG_DRM_PANEL_LVDS is not set
CONFIG_DRM_PANEL_SIMPLE=y
CONFIG_DRM_PANEL_SIMPLE=m
CONFIG_DRM_PANEL_FEIYANG_FY07024DI26A30D=m
# CONFIG_DRM_PANEL_ILITEK_IL9322 is not set
# CONFIG_DRM_PANEL_ILITEK_ILI9881C is not set
Expand Down Expand Up @@ -4650,14 +4651,14 @@ CONFIG_LCD_CLASS_DEVICE=m
# CONFIG_LCD_OTM3225A is not set
CONFIG_BACKLIGHT_CLASS_DEVICE=y
CONFIG_BACKLIGHT_GENERIC=m
# CONFIG_BACKLIGHT_PWM is not set
CONFIG_BACKLIGHT_PWM=m
# CONFIG_BACKLIGHT_PM8941_WLED is not set
# CONFIG_BACKLIGHT_ADP8860 is not set
# CONFIG_BACKLIGHT_ADP8870 is not set
# CONFIG_BACKLIGHT_LM3630A is not set
# CONFIG_BACKLIGHT_LM3639 is not set
CONFIG_BACKLIGHT_LP855X=y
# CONFIG_BACKLIGHT_GPIO is not set
CONFIG_BACKLIGHT_GPIO=m
# CONFIG_BACKLIGHT_LV5207LP is not set
# CONFIG_BACKLIGHT_BD6107 is not set
# CONFIG_BACKLIGHT_ARCXCNN is not set
Expand Down