mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Roland Hieber <rohieb@rohieb.name>
To: barebox@lists.infradead.org
Cc: Roland Hieber <rohieb@rohieb.name>
Subject: [PATCH 2/9] doc: boards: Amazon Kindle 4/5: apply some more formatting
Date: Tue, 12 Jun 2018 00:02:28 +0200	[thread overview]
Message-ID: <20180611220235.15995-3-rohieb@rohieb.name> (raw)
In-Reply-To: <20180611220235.15995-1-rohieb@rohieb.name>

Signed-off-by: Roland Hieber <rohieb@rohieb.name>
---
 .../boards/imx/amazon-kindle-4-5.rst          | 39 ++++++++++++-------
 1 file changed, 25 insertions(+), 14 deletions(-)

diff --git a/Documentation/boards/imx/amazon-kindle-4-5.rst b/Documentation/boards/imx/amazon-kindle-4-5.rst
index 1e71cd26ba..bc6bf2609b 100644
--- a/Documentation/boards/imx/amazon-kindle-4-5.rst
+++ b/Documentation/boards/imx/amazon-kindle-4-5.rst
@@ -18,24 +18,32 @@ are shipped with a vendor modified u-boot imximage based on u-boot v2009.08.
 To upload and run a new bootloader the older devices can be put into
 USB-downloader mode by the SOC microcode when a specific key is pressed during
 startup:
+
 * the fiveway down button on the model D01100
 * the home button on model D01200
+
 A new USB device "NS Blank CODEX" should appear, barebox may be uploaded using
-$ scripts/imx/imx-usb-loader barebox-kindle-d01100.img
-$ scripts/imx/imx-usb-loader barebox-kindle-d01200.img
+
+::
+
+        $ scripts/imx/imx-usb-loader barebox-kindle-d01100.img
+        $ scripts/imx/imx-usb-loader barebox-kindle-d01200.img
+
 Hint: keep the select button pressed down to get the barebox USB console.
 
 Barebox may be used as drop-in replacement for the shipped bootloader, when
 the imximg fits into 258048 bytes. When installing the barebox imximg on
-the eMMC take care not to overwrite the vendor supplied serial numbers stored
-on the eMMC.
-e.g. for the D01100 just write the imx-header and the application section:
-loady -t usbserial
-memcpy -b -s barebox-kindle-d01100.img -d /dev/disk0.boot0.imx_header 1024 0 2048
-memcpy -b -s barebox-kindle-d01100.img -d /dev/disk0.boot0.self 4096 0 253952
+the eMMC, take care not to overwrite the vendor supplied serial numbers stored
+on the eMMC,
+e.g. for the D01100 just write the imx-header and the application section::
+
+        loady -t usbserial
+        memcpy -b -s barebox-kindle-d01100.img -d /dev/disk0.boot0.imx_header 1024 0 2048
+        memcpy -b -s barebox-kindle-d01100.img -d /dev/disk0.boot0.self 4096 0 253952
 
 Note: a USB serial ACM console will be launched by a barebox init script
 when
+
 * the cursor select key is pressed during startup of model D01100
 * the home button is pressed within a second after startup of model D01200.
   If you press the home button during startup, you will enter USB boot mode.
@@ -47,12 +55,15 @@ power consumption to a few milliamps of battery power, after some minutes
 the power consumption is further reduced to about 550 microamps. Switching
 on iomux pullups may significantly reduce your standby-time.
 
-Hints to reduce the build image size.
+Hints to reduce the build image size
+------------------------------------
+
 Note that a drop-in replacement barebox imximage must not exceed 258048 bytes
 since the space behind it is in use. Hence, don't build in drivers and FS
-that are not required, e.g.:
-  NET, DISK_AHCI, DISK_INTF_PLATFORM_IDE, DISK_ATA, VIDEO, PWM, LED,
-  USB_STORAGE, USB_ULPI, NAND, MTD_UBI, FS_UBIFS, MFD_MC34704, MFD_MC9SDZ60,
-  MFD_STMPE, EEPROM_AT25, EEPROM_AT24, KEYBOARD_GPIO, PARTITION_DISK_EFI
+that are not required, e.g.
+``NET, DISK_AHCI, DISK_INTF_PLATFORM_IDE, DISK_ATA, VIDEO, PWM, LED,
+USB_STORAGE, USB_ULPI, NAND, MTD_UBI, FS_UBIFS, MFD_MC34704, MFD_MC9SDZ60,
+MFD_STMPE, EEPROM_AT25, EEPROM_AT24, KEYBOARD_GPIO, PARTITION_DISK_EFI``
+
 Also unselect support for other boards to get rid of their dependencies.
-Further select IMAGE_COMPRESSION_XZKERN
+Further select ``IMAGE_COMPRESSION_XZKERN``.
-- 
2.17.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2018-06-11 22:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-11 22:02 [PATCH 0/9] small nit-picks for the i.MX boards documentation Roland Hieber
2018-06-11 22:02 ` [PATCH 1/9] doc: boards: imx: order table of contents alphabetically Roland Hieber
2018-06-11 22:02 ` Roland Hieber [this message]
2018-06-11 22:02 ` [PATCH 3/9] doc: boards: Amazon Kindle 3: apply more formatting Roland Hieber
2018-06-11 22:02 ` [PATCH 4/9] doc: boards: element14 WaRP7: fix header level and nested list Roland Hieber
2018-06-11 22:02 ` [PATCH 5/9] doc: boards: Garz+Fricke Vincell: fix header level, capitalization and punctuation Roland Hieber
2018-06-11 22:02 ` [PATCH 6/9] doc: boards: Ka-Ro TX6: use official spelling of Ka-Ro Roland Hieber
2018-06-11 22:02 ` [PATCH 7/9] doc: boards: Phytec phyCORE-i.MX31: fix formatting, style Roland Hieber
2018-06-11 22:02 ` [PATCH 8/9] doc: boards: Synertronixx SCB9328: use official uppercase spelling Roland Hieber
2018-06-11 22:02 ` [PATCH 9/9] doc: boards: Wandboard: fix formatting and punctuation Roland Hieber
2018-06-13  7:16 ` [PATCH 0/9] small nit-picks for the i.MX boards documentation Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180611220235.15995-3-rohieb@rohieb.name \
    --to=rohieb@rohieb.name \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox