reference :https://forum.openwrt.org/viewtopic.php?id=43237 reference :http://blog.chinaunix.net/uid-22547469-id-5048943.html cp  httpd     cus531-16m/  -a cp  net/httpd.c   cus531-16m/ cp  net/httpd.h   cus531-16m/ 修改net.c #ifdef CONFIG_STATUS_LED #…
find cpu datasheet , watchdog relate registers: 0x18060008 watchdong timer control 0x1806000c watchdog timer we can read and write watchdog register under uboot console: #mw 0x1806000c 0xffffffff  1 #mw 0x1806000c 0x10000000  1 #mw 0x18060008    0x3 …
reference: uboot_dir/doc/README.distro Linux distributions are faced with supporting a variety of boot mechanisms,environments or bootloaders (PC BIOS, EFI, U-Boot, Barebox, ...). This makeslife complicated. Worse, bootloaders such as U-Boot have a c…
Orthogonal Least Squares Learning Algorithm for Radial Basis Function Networks S. Chen, C. F. N. Cowan, and P. M. Grant…
design: when uboot load kerne failed,we can switch to stanbdy system; how to realize: when boot fail, we can let uboot env bootKenrelFailCount++, then save to uboot_env partiton.    watchdog timeout will trigger cpu reset, when bootKernelFailCount bi…
DDR工作频率  在600MHZ. include/configs/board953x.h #define CFG_PLL_FREQ            CFG_PLL_650_600_200 #define  CFG_DDR_REFRESH_VAL            0x4138   (default 12c) 0x0100 0001 0011 1000 ./board/atheros/common/init-953x.c:59:#define CFG_DDR2_SCORPION_CAS…
reference :https://github.com/lentinj/u-boot/blob/master/doc/README.autoboot how to enable protect sonsole in uboot stage ? we can add follow contest in include/configs/xxxx.h +// add by panzidong for support  protect uboot console +#define CONFIG_AU…
uboot commad test test - minimal test like /bin/sh so we can use test command to some judge for example, test –n $uenvcmd    test var uenvcmd length !eq  zero detail learning you  can reference url: https://www.cnblogs.com/tankblog/p/6160808.html Not…
pseudocode: If(reset_button was pressed ) { Change  uboot env bootslot^1 }…
reference: http://www.denx.de/wiki/DULG/UBootCmdGroupExec => help source source - run script from memory Usage: source [addr] - run script starting at addr - A valid image header must be present => With the source command you can run "shell&quo…