This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
en:bpi-r64:uboot [2019/11/04 14:56] frank [netboot] |
en:bpi-r64:uboot [2019/11/04 15:17] (current) frank [manual boot] |
||
---|---|---|---|
Line 217: | Line 217: | ||
===== manual boot ===== | ===== manual boot ===== | ||
<code> | <code> | ||
- | U-Boot MT7622> ls mmc 1:1 | + | U-Boot MT7622> ls mmc 1:1 |
- | bananapi/ | + | bananapi/ |
- | 0 sd.txt | + | 0 sd.txt |
- | 8841288 uImage_5.4 | + | 8841288 uImage_5.4 |
- | 23721 bpi-r64-5.4.dtb | + | 23721 bpi-r64-5.4.dtb |
- | + | ||
- | 3 file(s), 1 dir(s) | + | 3 file(s), 1 dir(s) |
- | + | ||
- | U-Boot MT7622> setenv kaddr 0x44000000 | + | U-Boot MT7622> setenv kaddr 0x44000000 |
- | U-Boot MT7622> setenv dtaddr 0x47000000 | + | U-Boot MT7622> setenv dtaddr 0x47000000 |
- | U-Boot MT7622> fatload mmc 1:1 $kaddr uImage_5.4 | + | U-Boot MT7622> fatload mmc 1:1 $kaddr uImage_5.4 |
- | 8841288 bytes read in 786 ms (10.7 MiB/s) | + | 8841288 bytes read in 786 ms (10.7 MiB/s) |
- | U-Boot MT7622> fatload mmc 1:1 $dtaddr bpi-r64-5.4.dtb | + | U-Boot MT7622> fatload mmc 1:1 $dtaddr bpi-r64-5.4.dtb |
- | 23721 bytes read in 8 ms (2.8 MiB/s) | + | 23721 bytes read in 8 ms (2.8 MiB/s) |
+ | U-Boot MT7622> setenv bootargs console=ttyS0,115200 root=/dev/mmcblk1p2 rw rootwait | ||
U-Boot MT7622> bootm $kaddr - $dtaddr | U-Boot MT7622> bootm $kaddr - $dtaddr | ||
</code> | </code> |