Skip to content
Snippets Groups Projects

Create librem5 board

Merged Hugo Grostabussiat requested to merge Bonstra/uboot-imx:create-librem5-board into devkit-wip
1 unresolved thread

Create an independent board for the Librem5 devkit.

The board code is copied from the Emcraft imx8m_som.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
1 if TARGET_PURISM_LIBREM5_DEVKIT
2
3 config SYS_BOARD
4 default "librem5"
  • Should this be librem5_devkit to distinguish it from the phone.

  • The idea was to avoid duplicating the board code again by having both librem5_devkit and librem5 (the final product) use the same board directory.

    The common parts would be kept as is, while the non-common parts would be put into their own file, which would be included or not in the build by the Makefile depending on the TARGET_PURISM_LIBREM5_{DEVKIT,PHONE} config defines.

    Though, given the relatively low amount of code in the board directory, maintaining the duplicated librem5 and librem5_devkit should still be manageable.

    What do you all think is the best approach? Duplicate or keep everything in the same directory?

  • Please register or sign in to reply
Please register or sign in to reply
Loading