Commit 17da677e authored by Guido Gunther's avatar Guido Gunther

Document eMMC setup a bit

parent 11623f3d
Pipeline #1608 passed with stage
in 2 minutes and 44 seconds
...@@ -2,4 +2,7 @@ ...@@ -2,4 +2,7 @@
*~ *~
\#*# \#*#
.\#* .\#*
install.html README.html
README.rst
tests/__pycache__
.pytest_cache/
...@@ -8,3 +8,7 @@ all: $(DOCS) ...@@ -8,3 +8,7 @@ all: $(DOCS)
%.html: %.org %.html: %.org
emacs --batch -nw $< -f org-html-export-to-html --kill emacs --batch -nw $< -f org-html-export-to-html --kill
# Convert to ReStructuredText
%.rst: %org
pandoc README.org README.rst
...@@ -65,4 +65,26 @@ you can e.g. create via Debian's deboostrap. ...@@ -65,4 +65,26 @@ you can e.g. create via Debian's deboostrap.
For that to work the *BOOT MODE* switch needs to be set to *eMMC* (instead of *USB*). For that to work the *BOOT MODE* switch needs to be set to *eMMC* (instead of *USB*).
* Flash uboot * Installing a minimal Linux the eMMC
You can dd a prebuil image on there or you can just debootstrap from
scratch, this can be useful if you don't want that many services
starting up by default:
#+BEGIN_SRC sh
e2fsck /dev/mmcblk0p2
mount /dev/mmcblk0p2 /mnt
debootstrap --arch=arm64 buster /mnt
#+END_SRC
Back in u-boot we can switch to using the rootfs on the eMMC then (we're still
pulling kernel and device tree via tftp though:
#+BEGIN_SRC
setenv emmcboot "setenv bootargs ${args_common} debug root=/dev/mmcblk0p2; dhcp ${loadaddr} Image-librem5-devkit; dhcp ${fdt_addr} librem5-devkit.dtb; booti ${loadaddr} - ${fdt_addr}"
#+END_SRC
* TODO Flash uboot
* Hardware Components
** LCD Panel
The panel is a Rockchip JH057N00900 (5.7", TFT 720*1440 Pixels) using a ST7703 IC.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment