*(volatile uint32_t *)(map_base + pgoffset) = val; close(fd); munmap((void *)map_base, PAGE_SIZE); } int Xil_In32(uint64_t phyaddr) { int fd; uint32_t val; volatile uint8_t *map_base; uint64_t base = phyaddr & PAGE_MASK; uint64_t pgoffset = phyaddr & (~PAGE_MASK...
static inline u32 Xil_In32(UINTPTR Addr) { return *(volatile u32 *) Addr; } static inline void Xil_Out32(UINTPTR Addr, u32 Value) { #ifndef ENABLE_SAFETY volatile u32 *LocalAddr = (volatile u32 *)Addr; *LocalAddr = Value; #else XStl_RegUpdate(Addr, Value); #endif } void X...
Xil_Out32(XPAR_M_AVALON_0_BASEADDR, i);if(Xil_In32(XPAR_M_AVALON_0_BASEADDR) !=loop) {printf("loop %x, read %x\n",loop, Xil_In32(XPAR_M_AVALON_0_BASEADDR)); }else{printf("loop %x, OK\n",loop); }if(Xil_In32(XPAR_AXI_GPIO_1_BASEADDR)) { Xil_Out32(XPAR_AXI_GP...
InstancePtr->IsReady = XIL_COMPONENT_IS_READY; Store FSBL run state in Reboot Status Register Read bootmode register BootModeRegister = Xil_In32(BOOT_MODE_REG); BootModeRegister &= BOOT_MODES_MASK; 分析各种启动模式下Init和Load boot image动作 Qspi InitQspi(); MoveImage = QspiAccess; Handoff...
int Xil_In32(uint64_t phyaddr){int fd;uint32_t val;volaTIle uint8_t *map_base;uint64_t base = phyaddr PAGE_MASK;uint64_t pgoffset = phyaddr (~PAGE_MASK);//open /dev/memif((fd = open(/dev/mem, O_RDWR | O_SYNC)) == -1){perror(open /dev/mem:);}//mmapmap_base = mma...
//BootModeRegister=Xil_In32(BOOT_MODE_REG);//BootModeRegister&=BOOT_MODES_MASK;BootModeRegister=JTAG_MODE; 烧写成功了 断电重启后,终端终于打印出预期内容 U-Boot2020.01(May272022-16:41:23 0000)CPU: Zynq 7z030 Silicon: v3.1 DRAM: ECC disabled512MiB Flash:0Bytes NAND:0MiB MMC: mmc@e0100000...
test1:$6$7PLnhlcr$4SCHINbWrameVSn6rxYgDOeUBwvYOHVbEOIudtNxWXIl5ULSt1Om8FvK6R3s9fI0qNef1vq8NhVMNJwudmfkM1:18828:0:99999:7::: 用户组管理 增groupadd 删groupdel 改groupmod 查看/etc/group 命令26 #增加一个用户组groupadd 例子: groupadd test #创建用户的时候可以制定组 useradd -g test tes...
18 * STANDBY Exit status to be checked by FSBL in case 19 * field 'boot_action' == ...
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {...
16 uint32_t boot_action; 17 /* 18 * STANDBY Exit status to be checked by FSBL in case 19 * field 'boot_action' == BOOT_API_CTX_BOOT_ACTION_WAKEUP_STANDBY 20 * take values from defines above 'BOOT_API_CTX_STBY_EXIT_STATUS_XXX' ...