Run barebox on sc6531e-based feature phone
Subsystems (5)
cover Run barebox on sc6531e-based feature phone
This patch series adds initial support for SC6531E chip.
SC6431E chip is specially designed solution for creating feature phones. It contains
* ARM926EJ-S core (up to 208 MHz)
* embedded PSRAM
* peripherals: USB, SPI, UART, IIS, PCM, I2C, keypad, LCD
* SIM card and GSM/GPRS/FM/BT stuff
This work is based on FPDoom, see [1], [2], [3] for details.
At the moment only timer and debug_ll output via USB are supported.
After adding lcd and keypad driver running bareDOOM [4] on SC6531E will be possible.
[1] https://github.com/ilyakurdyukov/fpdoom
[2] https://habr.com/ru/articles/706766/
[3] https://www.youtube.com/watch?v=tln_Iace1O8
[4] https://github.com/a3f/bareDOOM
Antony Pavlov (4):
clocksource: add sc6531e driver
ARM: add sc6531e and F+ Ezzy 4 phone support
sc6531e: add debug_ll support
Documentation: add sc6531e instructions
Documentation/boards/sc6531e.rst | 187 +++++++++ arch/arm/Kconfig | 10 + arch/arm/Makefile | 1 + arch/arm/boards/Makefile | 1 + arch/arm/boards/ezzy-4/Makefile | 6 + arch/arm/boards/ezzy-4/env/init/automount | 27 ++ arch/arm/boards/ezzy-4/lowlevel.c | 19 + arch/arm/boards/ezzy-4/usbio.c | 449 ++++++++++++++++++++++ arch/arm/configs/ezzy-4_defconfig | 49 +++ arch/arm/cpu/uncompress.c | 7 + arch/arm/dts/Makefile | 1 + arch/arm/dts/ezzy-4.dts | 22 ++ arch/arm/include/asm/debug_ll.h | 2 + arch/arm/mach-sc6531e/Kconfig | 17 + arch/arm/mach-sc6531e/Makefile | 3 + drivers/clocksource/Makefile | 1 + drivers/clocksource/timer-sc6531e.c | 70 ++++ include/mach/sc6531e/debug_ll.h | 17 + 18 files changed, 889 insertions(+) create mode 100644 Documentation/boards/sc6531e.rst create mode 100644 arch/arm/boards/ezzy-4/Makefile create mode 100644 arch/arm/boards/ezzy-4/env/init/automount create mode 100644 arch/arm/boards/ezzy-4/lowlevel.c create mode 100644 arch/arm/boards/ezzy-4/usbio.c create mode 100644 arch/arm/configs/ezzy-4_defconfig create mode 100644 arch/arm/dts/ezzy-4.dts create mode 100644 arch/arm/mach-sc6531e/Kconfig create mode 100644 arch/arm/mach-sc6531e/Makefile create mode 100644 drivers/clocksource/timer-sc6531e.c create mode 100644 include/mach/sc6531e/debug_ll.h
Signature · 1 line
2.39.0
RFC 1/4 clocksource: add sc6531e driver
--- drivers/clocksource/Makefile | 1 + drivers/clocksource/timer-sc6531e.c | 70 +++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+)
drivers/clocksource/Makefile +1 -0
@@ -26,3 +26,4 @@ obj-$(CONFIG_CLINT_TIMER) += timer-clint.o obj-$(CONFIG_RISCV_TIMER) += timer-riscv.o obj-$(CONFIG_ARMV7M_SYSTICK) += armv7m_systick.o obj-$(CONFIG_CLKSRC_STM32) += timer-stm32.o +obj-$(CONFIG_ARCH_SC6531E) += timer-sc6531e.o
drivers/clocksource/timer-sc6531e.c new file +70 -0
70 lines not on this page · raw message
Signature · 1 line
2.39.0
RFC 2/4 ARM: add sc6531e and F+ Ezzy 4 phone support
In reply to Antony Pavlov--- arch/arm/Kconfig | 9 +++++ arch/arm/Makefile | 1 + arch/arm/boards/Makefile | 1 + arch/arm/boards/ezzy-4/Makefile | 3 ++ arch/arm/boards/ezzy-4/env/init/automount | 27 +++++++++++++ arch/arm/boards/ezzy-4/lowlevel.c | 19 +++++++++ arch/arm/configs/ezzy-4_defconfig | 49 +++++++++++++++++++++++ arch/arm/dts/Makefile | 1 + arch/arm/dts/ezzy-4.dts | 22 ++++++++++ arch/arm/mach-sc6531e/Kconfig | 17 ++++++++ arch/arm/mach-sc6531e/Makefile | 3 ++ 11 files changed, 152 insertions(+)
arch/arm/Kconfig +9 -0
@@ -84,6 +84,14 @@ config ARCH_DIGIC help Support for Canon's digital cameras that use the DIGIC4 chip. +config ARCH_SC6531E + bool "SC6531E-based devices" + depends on 32BIT + select CPU_ARM926T + select GPIOLIB + help + Support for feature phones based on the SC6531E chipset. + config ARCH_EP93XX bool "Cirrus Logic EP93xx" depends on 32BIT
@@ -330,6 +338,7 @@ source "arch/arm/mach-nomadik/Kconfig" source "arch/arm/mach-omap/Kconfig" source "arch/arm/mach-pxa/Kconfig" source "arch/arm/mach-rockchip/Kconfig" +source "arch/arm/mach-sc6531e/Kconfig" source "arch/arm/mach-socfpga/Kconfig" source "arch/arm/mach-stm32mp/Kconfig" source "arch/arm/mach-versatile/Kconfig"
arch/arm/Makefile +1 -0
@@ -104,6 +104,7 @@ machine-$(CONFIG_ARCH_OMAP) += omap machine-$(CONFIG_ARCH_PXA) += pxa machine-$(CONFIG_ARCH_ROCKCHIP) += rockchip machine-$(CONFIG_ARCH_SAMSUNG) += samsung +machine-$(CONFIG_ARCH_SC6531E) += sc6531e machine-$(CONFIG_ARCH_SOCFPGA) += socfpga machine-$(CONFIG_ARCH_STM32MP) += stm32mp machine-$(CONFIG_ARCH_VERSATILE) += versatile
arch/arm/boards/Makefile +1 -0
@@ -44,6 +44,7 @@ obj-$(CONFIG_MACH_EMBEST_MARSBOARD) += embest-marsboard/ obj-$(CONFIG_MACH_EMBEST_RIOTBOARD) += embest-riotboard/ obj-$(CONFIG_MACH_ELTEC_HIPERCAM) += eltec-hipercam/ obj-y += freescale-mx51-babbage/ +obj-$(CONFIG_MACH_EZZY4) += ezzy-4/ obj-$(CONFIG_MACH_FREESCALE_MX53_LOCO) += freescale-mx53-qsb/ obj-$(CONFIG_MACH_FREESCALE_MX53_VMX53) += freescale-mx53-vmx53/ obj-$(CONFIG_MACH_FREESCALE_MX7_SABRESD) += freescale-mx7-sabresd/
arch/arm/boards/ezzy-4/Makefile new file +3 -0
@@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only + +lwl-y += lowlevel.o
arch/arm/boards/ezzy-4/env/init/automount new file +27 -0
@@ -0,0 +1,27 @@ +#!/bin/sh + +version +echo +help +echo +cpuinfo +echo +iomem +echo +meminfo +echo +of_dump +echo +drvinfo +echo + +timeout 3 +echo + +echo sleep 0 +sleep 1 +echo sleep 1 +sleep 1 +echo sleep 2 +sleep 1 +echo sleep 3
arch/arm/boards/ezzy-4/lowlevel.c new file +19 -0
@@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0-only + +#include <common.h> +#include <linux/sizes.h> +#include <asm/barebox-arm-head.h> +#include <asm/barebox-arm.h> + +extern char __dtb_ezzy_4_start[]; + +void __naked barebox_arm_reset_vector (uint32_t r0,uint32_t r1,uint32_t r2) +{ +void *fdt; + +arm_cpu_lowlevel_init (); + + fdt = __dtb_ezzy_4_start +get_runtime_offset (); + +barebox_arm_entry (0x14000000 ,SZ_4M , fdt); +}
arch/arm/configs/ezzy-4_defconfig new file +49 -0
49 lines not on this page · raw message
arch/arm/dts/Makefile +1 -0
@@ -8,6 +8,7 @@ lwl-$(CONFIG_MACH_ADVANTECH_ROM_742X) += imx6dl-advantech-rom-7421.dtb.o lwl-$(CONFIG_MACH_AFI_GF) += am335x-afi-gf.dtb.o lwl-$(CONFIG_MACH_BEAGLEBONE) += am335x-bone.dtb.o am335x-boneblack.dtb.o am335x-bone-common.dtb.o lwl-$(CONFIG_MACH_CANON_A1100) += canon-a1100.dtb.o +lwl-$(CONFIG_MACH_EZZY4) += ezzy-4.dtb.o lwl-$(CONFIG_MACH_CLEP7212) += ep7212-clep7212.dtb.o lwl-$(CONFIG_MACH_CM_FX6) += imx6dl-cm-fx6.dtb.o imx6q-cm-fx6.dtb.o imx6q-utilite.dtb.o lwl-$(CONFIG_MACH_DFI_FS700_M60) += imx6q-dfi-fs700-m60-6q.dtb.o imx6dl-dfi-fs700-m60-6s.dtb.o
arch/arm/dts/ezzy-4.dts new file +22 -0
@@ -0,0 +1,22 @@ +/dts-v1/; + +/ { + model = "F+ Ezzy 4"; + compatible = "f+,ezzy-4"; + + #address-cells = <1>; + #size-cells = <1>; + + chosen { }; + + memory { + device_type = "memory"; + reg = <0x14000000 0x00400000>; + }; + + timer: timer@81003000 { + compatible = "sc6531e-timer"; + reg = <0x81003000 0x100>; + status = "okay"; + }; +};
arch/arm/mach-sc6531e/Kconfig new file +17 -0
@@ -0,0 +1,17 @@ +# SPDX-License-Identifier: GPL-2.0-only + +if ARCH_SC6531E + +choice + prompt "board type" + +config MACH_EZZY4 + bool "F+ Ezzy 4" + +endchoice + +config ARCH_TEXT_BASE + hex + default 0x00001900 if MACH_EZZY4 + +endif
arch/arm/mach-sc6531e/Makefile new file +3 -0
@@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only + +obj- := __dummy__.o
Signature · 1 line
2.39.0
RFC 3/4 sc6531e: add debug_ll support
In reply to Antony Pavlov--- arch/arm/Kconfig | 1 + arch/arm/boards/ezzy-4/Makefile | 3 + arch/arm/boards/ezzy-4/usbio.c | 449 ++++++++++++++++++++++++++++++++ arch/arm/cpu/uncompress.c | 7 + arch/arm/include/asm/debug_ll.h | 2 + include/mach/sc6531e/debug_ll.h | 17 ++ 6 files changed, 479 insertions(+)
arch/arm/Kconfig +1 -0
@@ -88,6 +88,7 @@ config ARCH_SC6531E bool "SC6531E-based devices" depends on 32BIT select CPU_ARM926T + select HAS_DEBUG_LL select GPIOLIB help Support for feature phones based on the SC6531E chipset.
arch/arm/boards/ezzy-4/Makefile +3 -0
@@ -1,3 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-only lwl-y += lowlevel.o + +lwl-y += usbio.o +obj-y += usbio.o
arch/arm/boards/ezzy-4/usbio.c new file +449 -0
449 lines not on this page · raw message
arch/arm/cpu/uncompress.c +7 -0
@@ -79,6 +79,13 @@ void __noreturn barebox_pbl_start(unsigned long membase, unsigned long memsize,setup_c (); +if (IS_ENABLED (CONFIG_ARCH_SC6531E ) &&IS_ENABLED (CONFIG_DEBUG_LL )) { +usb_debug_ll_init (); + +puts_ll ("Hello world\n" ); +puts_ll ("\n" ); + } +pr_debug ("memory at 0x%08lx, size 0x%08lx\n" , membase, memsize);if (IS_ENABLED (CONFIG_MMU ))
arch/arm/include/asm/debug_ll.h +2 -0
@@ -64,6 +64,8 @@#include <mach/clps711x/debug_ll.h> #elif definedCONFIG_ARCH_AT91 #include <mach/at91/debug_ll.h> +#elif definedCONFIG_ARCH_SC6531E +#include <mach/sc6531e/debug_ll.h> #endif #endif
include/mach/sc6531e/debug_ll.h new file +17 -0
@@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-FileCopyrightText: 2023 Antony Pavlov <[email protected]> */ + +#ifndef __MACH_SC6531E_DEBUG_LL_H__ +#define __MACH_SC6531E_DEBUG_LL_H__ + +#include <io.h> + +void usb_debug_ll_init (void ); +int usb_PUTC_LL (char ch); + +static inline void PUTC_LL (char ch) +{ +usb_PUTC_LL (ch); +} + +#endif /* __MACH_SC6531E_DEBUG_LL_H__ */
Signature · 1 line
2.39.0
RFC 4/4 Documentation: add sc6531e instructions
In reply to Antony Pavlov--- Documentation/boards/sc6531e.rst | 187 +++++++++++++++++++++++++++++++ 1 file changed, 187 insertions(+)
Documentation/boards/sc6531e.rst new file +187 -0
@@ -0,0 +1,187 @@ +SC6531E +======= + +F+ Ezzy 4 +--------- + +Barebox has limited support for the SC6531E-based feature phones:: + + ARCH=arm make ezzy-4_defconfig + ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make + +The resulting ``./images/barebox.img`` can be loaded with +``spd_dump`` utility:: + + git clone https://github.com/ilyakurdyukov/spreadtrum_flash + ( cd spreadtrum_flash && git log -1 --pretty='%h %s' && make ) + 6886a85 Readme update about smartphones. + + wget https://github.com/ilyakurdyukov/fpdoom/releases/download/1.20230513/fpdoom.zip + unzip fpdoom.zip nor_fdl1.bin + + git clone https://github.com/ilyakurdyukov/fpdoom + ( cd fpdoom/libc_server && git log -1 --pretty='%h %s' && make ) + cc90d2a faster usb io + + ./spreadtrum_flash/spd_dump --wait 300 fdl nor_fdl1.bin 0x40004000 fdl images/barebox.img ram && ./fpdoom/libc_server/libc_server + + BSL_REP_VER: "SPRD3\0" + BSL_REP_VER: "Custom FDL1: CHIP ID = 0x65620001\0" + + ./fpdoom/libc_server/libc_server + !!! debug_ll + + Hello world + + start.c: memory at 0x14000000, size 0x00400000 + start.c: found DTB in boarddata, copying to 0x142ffe80 + start.c: initializing malloc pool at 0x141ffe80 (size 0x00100000) + start.c: starting barebox... + initcall-> 0x143021fc + initcall-> 0x14307040 + initcall-> 0x1430d598 + initcall-> 0x1430dfd8 + initcall-> 0x143263f4 + initcall-> 0x1432a9c0 + start.c: barebox_arm_boot_dtb: using barebox_boarddata + initcall-> 0x143012fc + initcall-> 0x143120f0 + initcall-> 0x1432602c + initcall-> 0x14312060 + initcall-> 0x14310844 + initcall-> 0x14300058 + initcall-> 0x14312390 + initcall-> 0x14300590 + initcall-> 0x1430bfe8 + initcall-> 0x1430d6e4 + initcall-> 0x143233fc + initcall-> 0x14324b7c + initcall-> 0x14325a10 + initcall-> 0x14329c74 + initcall-> 0x14301238 + initcall-> 0x143090bc + initcall-> 0x14300dc8 + initcall-> 0x143018ac + initcall-> 0x14304b8c + initcall-> 0x1430dbd0 + initcall-> 0x1430de24 + initcall-> 0x14312268 + initcall-> 0x143127fc + initcall-> 0x143127bc + initcall-> 0x1431277c + initcall-> 0x1431273c + initcall-> 0x14323224 + initcall-> 0x1432a228 + initcall-> 0x143109ac + initcall-> 0x143000cc + initcall-> 0x14300b00 + initcall-> 0x14303244 + initcall-> 0x143049c0 + initcall-> 0x14308588 + malloc space: 0x141ffe80 -> 0x142ffe7f (size 1 MiB) + initcall-> 0x143088a0 + initcall-> 0x1430b920 + initcall-> 0x1430cf14 + initcall-> 0x1430d794 + initcall-> 0x14310fe4 + initcall-> 0x1432af50 + initcall-> 0x143012bc + environment load /dev/env0: No such file or directory + Maybe you have to create the partition. + initcalls done + Executing '/env/init/automount'... + + barebox 2023.05.0-00182-g726a6ded65fc-dirty #1 Sat Jun 10 10:50:06 MSK 2023 + + + + Information commands: + ?, cpuinfo, devinfo, drvinfo, gpioinfo, help, iomem, meminfo, version + Boot commands: + boot, go + Partition commands: + automount + Environment commands: + export, global, nv, setenv + File commands: + basename, cat, cd, cp, digest, dirname, ll, ls, md5sum, mkdir, readlink, rm + rmdir, sha1sum + Scripting commands: + ., :, [, exit, false, getopt, let, msleep, sh, sleep, source, test, true + Console commands: + echo, edit, sedit, timeout, vi + Memory commands: + md, memcmp, memcpy, memset, memtest, mm, mw + Hardware manipulation commands: + gpio_direction_input, gpio_direction_output, gpio_get_value, gpio_set_value + led + Miscellaneous commands: + of_dump, of_node, of_property, oftree, time, uptime + Use 'help COMMAND' for more details. + + + implementer: ARM + architecture: v5TEJ + I-cache: 8192 bytes (linelen = 32) + D-cache: 8192 bytes (linelen = 32) + Control register: A W P D L I DT IT + + 0x00000000 - 0xffffffff (size 0x00000000) iomem + 0x14000000 - 0x143fffff (size 0x00400000) ram0 + 0x141ffe80 - 0x142ffe7f (size 0x00100000) malloc space + 0x142ffe80 - 0x142ffffe (size 0x0000017f) board data + 0x14300000 - 0x1433149f (size 0x000314a0) barebox + 0x143314a0 - 0x14333fbf (size 0x00002b20) barebox data + 0x14333fc0 - 0x14336973 (size 0x000029b4) bss + 0x143f0000 - 0x143f7fff (size 0x00008000) stack + 0x81003000 - 0x810030ff (size 0x00000100) [email protected] + + Maximum system memory: 139648 + Current system memory: 139648 + in use: 136240 + + { + model = "F+ Ezzy 4"; + compatible = "f+,ezzy-4"; + #address-cells = <0x1>; + #size-cells = <0x1>; + chosen { + }; + memory { + device_type = "memory"; + reg = <0x14000000 0x400000>; + }; + timer@81003000 { + compatible = "sc6531e-timer"; + reg = <0x81003000 0x100>; + status = "okay"; + }; + }; + + Driver Device(s) + -------------------- + sc6531e-timer + [email protected] + ramfs + ramfs0 + devfs + devfs0 + gpio-leds + mem + mem0 + mem1 + + Use 'devinfo DEVICE' for more information + + 1 + + sleep 0 + sleep 1 + sleep 2 + sleep 3 + Executing '/env/init/automount-ratp'... + Executing '/env/init/ps1'... + + Hit any to stop autoboot: 0 + Booting entry 'net' + ifup: No such file or directory + host: No such file or directory
Signature · 1 line
2.39.0
Hi Antony,
This has stayed unanswered for some time.
I am not sure what I should do with it. In the current form I think it's a bit too basic to be useful. Maybe we can add it once the LCD and Keypad driver is ready?
Sascha
Quoted 64 lines · Antony Pavlov
This patch series adds initial support for SC6531E chip.
SC6431E chip is specially designed solution for creating feature phones. It contains
* ARM926EJ-S core (up to 208 MHz)
* embedded PSRAM
* peripherals: USB, SPI, UART, IIS, PCM, I2C, keypad, LCD
* SIM card and GSM/GPRS/FM/BT stuffThis work is based on FPDoom, see [1], [2], [3] for details.
At the moment only timer and
debug_lloutput via USB are supported.After adding lcd and keypad driver running bareDOOM [4] on SC6531E will be possible.
[1] https://github.com/ilyakurdyukov/fpdoom
[2] https://habr.com/ru/articles/706766/
[3] https://www.youtube.com/watch?v=tln_Iace1O8
[4] https://github.com/a3f/bareDOOMAntony Pavlov (4):
clocksource: add sc6531e driver
ARM: add sc6531e and F+ Ezzy 4 phone support
sc6531e: adddebug_llsupport
Documentation: add sc6531e instructionsDocumentation/boards/sc6531e.rst | 187 +++++++++ arch/arm/Kconfig | 10 + arch/arm/Makefile | 1 + arch/arm/boards/Makefile | 1 + arch/arm/boards/ezzy-4/Makefile | 6 + arch/arm/boards/ezzy-4/env/init/automount | 27 ++ arch/arm/boards/ezzy-4/lowlevel.c | 19 + arch/arm/boards/ezzy-4/usbio.c | 449 ++++++++++++++++++++++ arch/arm/configs/ezzy-4_defconfig | 49 +++ arch/arm/cpu/uncompress.c | 7 + arch/arm/dts/Makefile | 1 + arch/arm/dts/ezzy-4.dts | 22 ++ arch/arm/include/asm/debug_ll.h | 2 + arch/arm/mach-sc6531e/Kconfig | 17 + arch/arm/mach-sc6531e/Makefile | 3 + drivers/clocksource/Makefile | 1 + drivers/clocksource/timer-sc6531e.c | 70 ++++ include/mach/sc6531e/debug_ll.h | 17 + 18 files changed, 889 insertions(+) create mode 100644 Documentation/boards/sc6531e.rst create mode 100644 arch/arm/boards/ezzy-4/Makefile create mode 100644 arch/arm/boards/ezzy-4/env/init/automount create mode 100644 arch/arm/boards/ezzy-4/lowlevel.c create mode 100644 arch/arm/boards/ezzy-4/usbio.c create mode 100644 arch/arm/configs/ezzy-4_defconfig create mode 100644 arch/arm/dts/ezzy-4.dts create mode 100644 arch/arm/mach-sc6531e/Kconfig create mode 100644 arch/arm/mach-sc6531e/Makefile create mode 100644 drivers/clocksource/timer-sc6531e.c create mode 100644 include/mach/sc6531e/debug_ll.hSignature · 1 line
2.39.0
Signature · 4 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Quoted 7 lines · On Tue, 4 Jul 2023 14:03:56 +0200 Sascha Hauer <[email protected]> wrote:
Hi Antony,
This has stayed unanswered for some time.
I am not sure what I should do with it. In the current form I think it's a bit too basic to be useful. Maybe we can add it once the LCD and Keypad driver is ready?
It's just RFC. With LCD and keypad support SC6531E barebox port will be a nice demo for barebox presentation and can be added to mainline repo.
There are some ready-to-use SC6531E drivers in the https://github.com/strongtz/linux-sprd repo. LCD display is connected via SPI so drivers/spi/spi-sprd.c can be used,
also we need backlight driver.
Keypad is supported by drivers/input/keyboard/sprd_keypad.c.
Quoted 73 lines
Sascha
Quoted 64 lines · Antony Pavlov
This patch series adds initial support for SC6531E chip.
SC6431E chip is specially designed solution for creating feature phones. It contains
* ARM926EJ-S core (up to 208 MHz)
* embedded PSRAM
* peripherals: USB, SPI, UART, IIS, PCM, I2C, keypad, LCD
* SIM card and GSM/GPRS/FM/BT stuffThis work is based on FPDoom, see [1], [2], [3] for details.
At the moment only timer and
debug_lloutput via USB are supported.After adding lcd and keypad driver running bareDOOM [4] on SC6531E will be possible.
[1] https://github.com/ilyakurdyukov/fpdoom
[2] https://habr.com/ru/articles/706766/
[3] https://www.youtube.com/watch?v=tln_Iace1O8
[4] https://github.com/a3f/bareDOOMAntony Pavlov (4):
clocksource: add sc6531e driver
ARM: add sc6531e and F+ Ezzy 4 phone support
sc6531e: adddebug_llsupport
Documentation: add sc6531e instructionsDocumentation/boards/sc6531e.rst | 187 +++++++++ arch/arm/Kconfig | 10 + arch/arm/Makefile | 1 + arch/arm/boards/Makefile | 1 + arch/arm/boards/ezzy-4/Makefile | 6 + arch/arm/boards/ezzy-4/env/init/automount | 27 ++ arch/arm/boards/ezzy-4/lowlevel.c | 19 + arch/arm/boards/ezzy-4/usbio.c | 449 ++++++++++++++++++++++ arch/arm/configs/ezzy-4_defconfig | 49 +++ arch/arm/cpu/uncompress.c | 7 + arch/arm/dts/Makefile | 1 + arch/arm/dts/ezzy-4.dts | 22 ++ arch/arm/include/asm/debug_ll.h | 2 + arch/arm/mach-sc6531e/Kconfig | 17 + arch/arm/mach-sc6531e/Makefile | 3 + drivers/clocksource/Makefile | 1 + drivers/clocksource/timer-sc6531e.c | 70 ++++ include/mach/sc6531e/debug_ll.h | 17 + 18 files changed, 889 insertions(+) create mode 100644 Documentation/boards/sc6531e.rst create mode 100644 arch/arm/boards/ezzy-4/Makefile create mode 100644 arch/arm/boards/ezzy-4/env/init/automount create mode 100644 arch/arm/boards/ezzy-4/lowlevel.c create mode 100644 arch/arm/boards/ezzy-4/usbio.c create mode 100644 arch/arm/configs/ezzy-4_defconfig create mode 100644 arch/arm/dts/ezzy-4.dts create mode 100644 arch/arm/mach-sc6531e/Kconfig create mode 100644 arch/arm/mach-sc6531e/Makefile create mode 100644 drivers/clocksource/timer-sc6531e.c create mode 100644 include/mach/sc6531e/debug_ll.hSignature · 1 line
2.39.0Signature · 4 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Signature · 2 lines
Best regards, Antony Pavlov