mirror of https://github.com/OpenIPC/wiki.git
adding helping tips on U-boot.
parent
daefbcc6e9
commit
a4661a86db
|
@ -0,0 +1,19 @@
|
|||
Help: U-boot
|
||||
------------
|
||||
|
||||
### Environment
|
||||
|
||||
If you get `Too many args` error while trying to set an environment variable,
|
||||
try to do that from within Linux using `fw_setenv` instead of `setenv` in U-boot.
|
||||
|
||||
__U-boot console:__
|
||||
```
|
||||
hisilicon # setenv uk 'mw.b 0x82000000 ff 1000000; tftp 0x82000000 uImage.${soc}; sf probe 0; sf erase 0x50000 0x200000; sf write 0x82000000 0x50000 ${filesize}'
|
||||
** Too many args (max. 16) **
|
||||
```
|
||||
|
||||
__OpenIPC Linux:__
|
||||
```
|
||||
root@openipc-hi3518ev100:~# fw_setenv uk 'mw.b 0x82000000 ff 1000000; tftp 0x82000000 uImage.${soc}; sf probe 0; sf erase 0x50000 0x200000; sf write 0x82000000 0x50000 ${filesize}'
|
||||
root@openipc-hi3518ev100:~#
|
||||
```
|
|
@ -2,9 +2,9 @@
|
|||
[Table of Content](index.md)
|
||||
|
||||
## Introduction
|
||||
- [About project](menu-index.md)
|
||||
- [About the project](menu-index.md)
|
||||
- [Supported devices](https://openipc.org/wiki/en/guide-supported-devices)
|
||||
- [Show changelog](show-changelog.md)
|
||||
- [Changelog](show-changelog.md)
|
||||
|
||||
## Subprojects
|
||||
- [coupler](https://openipc.org/coupler)
|
||||
|
@ -20,7 +20,7 @@
|
|||
- [Installation on SigmaStar based boards](install-ssc335.md)
|
||||
- [Installation on XM510 based boards](install-xm510.md)
|
||||
- [Installation on XM530 based boards](install-xm530.md)
|
||||
- [Veryld full manual](old-manual.md)
|
||||
- [Very old full manual](old-manual.md)
|
||||
|
||||
## Usage
|
||||
- [System features](system-features.md)
|
||||
|
@ -46,6 +46,9 @@
|
|||
- [FFMPEG usage](dev-ffmpeg-usage.md)
|
||||
- [Kernel configuration for adding new platforms](integration-kernel.md)
|
||||
|
||||
## Help, Tips, and Tricks
|
||||
- [U-boot](help-uboot.md)
|
||||
|
||||
## Contacts
|
||||
- [Bug reports](https://github.com/OpenIPC/firmware/issues)
|
||||
|
||||
|
|
Loading…
Reference in New Issue