随笔分类 -  u-boot

u-boot 学习积累
摘要:=> sf probe 0 3000000SF: Detected W25N01GV with page size 2 KiB, erase size 4 KiB, total 128 MiB=> fatload mmc 0 0x1000000 rootfs.yaffs2reading rootfs 阅读全文
posted @ 2020-03-18 15:48 嵌入式实操 阅读(312) 评论(0) 推荐(0)
摘要:=> fstypefstype - Look up a filesystem type Usage:fstype <interface> <dev>:<part>- print filesystem typefstype <interface> <dev>:<part> <varname>- set 阅读全文
posted @ 2019-01-25 13:34 嵌入式实操 阅读(640) 评论(0) 推荐(0)
摘要:=> part --helppart - disk partition related commands Usage:part uuid <interface> <dev>:<part> - print partition UUIDpart uuid <interface> <dev>:<part> 阅读全文
posted @ 2019-01-25 13:32 嵌入式实操 阅读(1520) 评论(0) 推荐(0)
摘要:pseudocode: If(reset_button was pressed ) { Change uboot env bootslot^1 } 阅读全文
posted @ 2019-01-09 17:29 嵌入式实操 阅读(216) 评论(0) 推荐(0)
摘要:reference :https://forum.openwrt.org/viewtopic.php?id=43237 reference :http://blog.chinaunix.net/uid-22547469-id-5048943.html cp httpd cus531-16m/ -a 阅读全文
posted @ 2019-01-09 17:19 嵌入式实操 阅读(609) 评论(0) 推荐(0)
摘要:pseudocode: if( getenv(“uboot_env_init”) != NULL){ if(uboot_env_init != HAVE_INIT){ Set uboot_env_init=1; Write to uboot_env partition; }else{ Means u 阅读全文
posted @ 2019-01-09 17:13 嵌入式实操 阅读(171) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2019-01-09 17:08 嵌入式实操 阅读(245) 评论(0) 推荐(0)
摘要:find cpu datasheet , watchdog relate registers: 0x18060008 watchdong timer control 0x1806000c watchdog timer we can read and write watchdog register u 阅读全文
posted @ 2019-01-09 16:59 嵌入式实操 阅读(394) 评论(0) 推荐(0)
摘要: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 001 阅读全文
posted @ 2019-01-09 16:48 嵌入式实操 阅读(523) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2019-01-09 16:37 嵌入式实操 阅读(244) 评论(0) 推荐(0)
摘要:By passing the kernel panic parameter, the system automatically resets after 3 seconds when kernel panic happen example: bootargs 'board=xxxxx console 阅读全文
posted @ 2019-01-09 16:14 嵌入式实操 阅读(406) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2019-01-04 15:17 嵌入式实操 阅读(1082) 评论(0) 推荐(0)
摘要:reference: uboot_dir/doc/README.distro Linux distributions are faced with supporting a variety of boot mechanisms,environments or bootloaders (PC BIOS 阅读全文
posted @ 2019-01-04 15:07 嵌入式实操 阅读(385) 评论(0) 推荐(0)
摘要:reference: http://www.denx.de/wiki/DULG/UBootCmdGroupExec With the source command you can run "shell" scripts under U-Boot: You create a U-Boot script 阅读全文
posted @ 2019-01-04 14:49 嵌入式实操 阅读(821) 评论(0) 推荐(0)