Lighting signature experiment on ZedBoard (3) Linux kernel boot

April 09, 2023

After experiment 1 and experiment 2, we completed the hardware part and exported the design to the SDK. Now we hope that Linux can run on our hardware. For this we need to give Linux a hint and tell it where the entry is. There are u-boot and FSBL to complete, they are equivalent to PC Bios. u-boot can be provided by digilent, in ZedBoard_linux_Design/boot_image/, of course, you can also compile it yourself. Now let's edit FSBL, in the SDK, -->File-->New-->Project-->Xilinx-->ApplicaTIon Project-->next, then give our project a name, called FSBL, other The default is fine. Then next to the Templates tab, select Zynq FSBL here, then click Finish. Then find the -->FSBL-->src-->main.c in the Project Explorer, you will find a lot of errors here, because the lack of a library file, add #include "xdevcfg.h", all errors disappear. Then find a location to add the following code,

/* Reset the USB */
{
Fsbl_printf(DEBUG_GENERAL, "Reset USB...");

/* Set data dir */
*(unsigned int *)0xe000a284 = 0x00000001;

/* Set OEN */
*(unsigned int *)0xe000a288 = 0x00000001;
Xil_DCacheFlush();
/* For REVB Set data value low for reset, then back high */
#ifdef ZED_REV_A
*(unsigned int *)0xe000a048 = 0x00000001;
Xil_DCacheFlush();
*(unsigned int *)0xe000a048 = 0x00000000;
Xil_DCacheFlush();
#else
*(unsigned int *)0xe000a048 = 0x00000000;
Xil_DCacheFlush();
*(unsigned int *)0xe000a048 = 0x00000001;
Xil_DCacheFlush();
#endif
}

Lighting signature experiment on ZedBoard (3) Linux kernel boot

After saving, the SDK will compile automatically, and find FSBL.elf in ZedBoard_Linux_Design/hw/xps_proj/SDK/SDK_Export/FSBL/Debug/.

Of course, FSBL can also be provided by digilent, because our project has no changes to FSBL and u-boot, and our hardware changes are in the bitstream file system.bit. So we will get u-boot.bin, system.bit and FSBL.elf, use these 3 files to compile a complete BOOT.bin. In the SDK, -->Xinix Tools-->Create Zynq Boot Image-->Add the FSBL.elf path, then add system.bit and u-boot.bin as shown in the figure, and finally click Create Image. Get a new u-boot.bin and rename it to BOOT.bin. This BOOT.bin can replace BOOT.bin on the ZedBoard's own SD card, but it contains our custom IP.

Lighting signature experiment on ZedBoard (3) Linux kernel boot

KNL5-100 Residual Current Circuit Breaker

KNL5-100 Moulded Case Circuit Breaker is MCCB , How to select good Molded Case Circuit Breaker suppliers? Korlen electric is your first choice. All moulded Case Circuit Breakers pass the CE.CB.SEMKO.SIRIM etc. Certificates.

Moulded Case Circuit Breaker /MCCB can be used to distribute electric power and protect power equipment against overload and short-current, and can change the circuit and start motor infrequently. The application of Moulded Case Circuit Breaker /MCCB is industrial.
Korlen electric also provide Miniature Circuit Breaker /MCB. Residual Current Circuit Breaker /RCCB. RCBO. Led light and so on .

KNL5-100 Molded Case Circuit Breaker,KNL5-100 Small Size Molded Case Circuit Breaker,KNL5-100 Electrical Molded Case Circuit Breaker,KNL5-100 Automatic Molded Case Circuit Breaker

Wenzhou Korlen Electric Appliances Co., Ltd. , https://www.zjmotorstarter.com