[RFC 0/4] Run barebox on sc6531e-based feature phone

Antony Pavlov antonynpavlov at gmail.com
Sat Jun 10 03:32:16 PDT 2023


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

-- 
2.39.0




More information about the barebox mailing list