Changes

Jump to: navigation, search

Standalone boot (DIVELK)

256 bytes removed, 09:29, 30 April 2018
Update u-boot NOR
== Update u-boot NOR ==
<pre>
=> tftp ${loadaddr} diva/MLO.byteswapsf probe 0:0; sf erase 0x0 0x40000; sf write ${loadaddr} 0x0 0x40000tftp ${loadaddr} diva/udivelk-boot.img4.spisf probe 0:0; sf erase 0x40000 0x100000; sf write ${loadaddr} 0x40000 0x100000</pre> Update to the latest u-boot version allows usage of u-boot environment variables available<pre class="board-terminal">=> tftp ${loadaddr} diva/MLO0_diva_spiboot_MLO.byteswap
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.0.82; our IP address is 192.168.0.83
Filename 'diva/MLOdivelk-4.0.0_diva_spiboot_MLO.byteswap'.
Load address: 0x82000000
Loading: #############
7741.4 KiB3 MiB/s
done
Bytes transferred = 65892 65868 (10164 1014c hex)
=> sf probe 0:0; sf erase 0x0 0x40000; sf write ${loadaddr} 0x0 0x40000
SF: 262144 bytes @ 0x0 Written: OK
=> tftp ${loadaddr} diva/udivelk-4.0.0_diva_spiboot_u-boot.img.spi
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.0.82; our IP address is 192.168.0.83
Filename 'diva/udivelk-4.0.0_diva_spiboot_u-boot.img.nor'.
Load address: 0x82000000
Loading: #################################################################
#########################################
9351.5 KiB3 MiB/s
done
Bytes transferred = 540472 540424 (83f38 83f08 hex)
=> sf probe 0:0; sf erase 0x40000 0x800000x100000; sf write ${loadaddr} 0x40000 0x800000x100000
SF: Detected s25fl256s_64k with page size 256 Bytes, erase size 64 KiB, total 32 MiB
SF: 524288 1048576 bytes @ 0x40000 Erased: OKdevice 0 offset 0x40000, size 0x800000x100000SF: 524288 1048576 bytes @ 0x40000 Written: OK=>
</pre>
'''Note:''' Adjust the SYSBOOT pins to enable boot from spi.
170
edits

Navigation menu