Skip to contentSkip to conversation

ARM: da8xxevm: README: Add NOR booting instructions

PATCH In review Adam Ford 2 participants 2 messages Aug 11, 2018 – Aug 20, 2018

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 ARM: da8xxevm: README: Add NOR booting instructions

The da850evm with its UI expander board can boot XIP boot from NOR flash. This adds the instructions to the readme. file.

board/davinci/da8xxevm/README.da850 +19 -0
index 519267e2f0..f24e8b5342 100644
@@ -112,6 +112,25 @@ uflash writes the AIS image at offset 117. For compatibility with uflash,
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR is set to take into account this
 offset, and the dd command is adjusted accordingly.
 
+Flashing the images to NOR
+==========================
+NOR Flash is XIP (execute-in-place), so no AIS (or SPL) is needed. The
+u-boot.bin is directy flashed, but CONFIT_DA850_LOWLEVEL must be set
+to initialize hardware that's normally done by SPL.
+
+For this case, CONFIG_SYS_TEXT_BASE=0x60000000 which is the address to
+which the bootloader jumps when powered on.
+
+Example:
+For the da850evm, there is a defconfig setup to use the NOR flash on
+the UI expander board called da850evm_direct_nor_defconfig.
+
+Flash to NOR directly using
+sudo mono ./sfh_OMAP-L138.exe -p /dev/ttyUSB0 -flash_noubl
+  -flashType NOR u-boot.bin
+
+SW7:5 through SW7:7 should be switched on and all others off.
+
 Recovery
 ========
 
Signature · 1 line
2.17.1
#1 lore raw

board/davinci/da8xxevm/README.da850

Quoted 7 lines · Adam Ford

The da850evm with its UI expander board can boot XIP boot from NOR flash. This adds the instructions to the readme. file.

board/davinci/da8xxevm/README.da850 +0 -0
index 519267e2f0..f24e8b5342 100644

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180820/0c4a27af/attachment.sig>