随笔分类 -  qca4531-uboot

qca4531uboot custom
摘要: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 嵌入式实操 阅读(244) 评论(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)
摘要:为了系统和稳定性,flash上有两套系统。在uboot引导阶段会根据当前的bootslot变量,决择运行哪套系统。进入系统之后,会自动挂载数据区,然后启动开关的应用程序。 如上图所示系统有两块存储芯片,分别为512K的SPI-NOR与128M的SPI-NAND。Spi-nor分为5个区,其中rese 阅读全文
posted @ 2018-11-27 14:17 嵌入式实操 阅读(865) 评论(0) 推荐(0)