aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-04-15 17:26:13 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-04-16 02:51:41 +0200
commit09d4f98fcf9a24e623c0abdf2fb7718a3614dfe2 (patch)
tree316706723e88ab1f76005afbc0eafbde7293c97f
parent9106e4a432cc6d0eb5f59adf7bae6f93beee8f1f (diff)
downloadkernel_replicant_linux-tests/jack_kekzoz/ARM-dts-exynos-n710x-add-leds-2.tar.gz
kernel_replicant_linux-tests/jack_kekzoz/ARM-dts-exynos-n710x-add-leds-2.tar.bz2
kernel_replicant_linux-tests/jack_kekzoz/ARM-dts-exynos-n710x-add-leds-2.zip
I had the microSD not recognized probably due to broken hardware as it's not recognized in the Replicant 6.0 recovery (cat /proc/partitions doesn't show the microSD) so I had to boot on USERDATA. Copying a rootfs there was complicated though but at the end it worked. I had to gzip a rootfs, split it in many parts with split and copy it to userdata with cat path/to/all/parts | gunzip -d -c > /dev/block/.../USERDATA. Configuration used for the tests: --------------------------------- Build command: ./build.sh n710x s-boot GNU/Linux ../external_wireless-regdb/ Device: GT-N7100 with the stock (s-boot) bootloader Distribution: Parabola armv7h And the LED test works. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--arch/arm/boot/dts/exynos4412-midas.dtsi5
-rw-r--r--arch/arm/configs/replicant_defconfig3
-rwxr-xr-xbuild.sh2
3 files changed, 9 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/exynos4412-midas.dtsi b/arch/arm/boot/dts/exynos4412-midas.dtsi
index 8164d8281556..28510234bf92 100644
--- a/arch/arm/boot/dts/exynos4412-midas.dtsi
+++ b/arch/arm/boot/dts/exynos4412-midas.dtsi
@@ -32,6 +32,11 @@
stdout-path = &serial_2;
};
+ firmware@204f000 {
+ compatible = "samsung,secure-firmware";
+ reg = <0x0204F000 0x1000>;
+ };
+
fixed-rate-clocks {
xxti {
diff --git a/arch/arm/configs/replicant_defconfig b/arch/arm/configs/replicant_defconfig
index faaf3c4055b2..898dbced427d 100644
--- a/arch/arm/configs/replicant_defconfig
+++ b/arch/arm/configs/replicant_defconfig
@@ -40,9 +40,12 @@ CONFIG_HAVE_ARM_ARCH_TIMER=y
CONFIG_MCPM=y
CONFIG_NR_CPUS=8
CONFIG_HIGHMEM=y
+# CONFIG_STACKPROTECTOR_PER_TASK is not set
CONFIG_ARM_APPENDED_DTB=y
CONFIG_ARM_ATAG_DTB_COMPAT=y
CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEND=y
+CONFIG_CMDLINE="root=/dev/mmcblk2p16 rw buildvariant=eng device=n710x rootwait loglevel=8 no_console_suspend console=ttySAC2,115200"
+CONFIG_CMDLINE_EXTEND=y
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
diff --git a/build.sh b/build.sh
index 83cd3ff5e629..a5c00c562c49 100755
--- a/build.sh
+++ b/build.sh
@@ -265,7 +265,7 @@ if [ "${os}" = "Android" ] ; then
elif [ "${os}" = "GNU/Linux" ] ; then
unset_kconfig CONFIG_USB_FUNCTIONFS
# Boot by default on the microSD
- cmdline_append "root=/dev/mmcblk2p13 rw"
+ cmdline_append "root=/dev/mmcblk2p16 rw"
fi
cmdline_append "buildvariant=eng device=${device} rootwait loglevel=8"