Open Source Software TODO list
ss: test if the output file in the form /dev/sdXY is a block device before writing it- u-boot: generate a u-boot.itb image instead of overwriting u-boot.img
- meta-swupdate: make use a packageconfig + configuration fragment
- swupdate: even when hardware revision check is disabled HW_COMPATIBILITY, it says OK when it shouldn't (v2016.10.0)
- If CONFIG_HW_COMPATIBILITY is disabled, the option -H is not available and the file /etc/hwrevision is not checked (checked on v2016.10, 9224371491b9cd38b00a5fcde2e1e2845a8443ed after 2017.01) tested with -d and -i
- But in master if the HW compatibility check fails, the downloader does not exit -> Fix that bug
- swupdate: add an argument to specify the cacert to be passed to curl
- Yocto/Poky: factorize the configuration fragment feature
- libkcapi: write a Yocto recipe
- The libkcapi is Yocto-ready https://github.com/smuellerDD/libkcapi/commit/a039f8a5adca57dc69a19d7361600c2f410e0c26
- create a dockerfile that interfaces with repo and Yocto
- U-Boot: socfpga_devkit node pour gpio0 and gpio2 with Sid sign-off
- I was trying to understand the mapping between a GPIO pin name in the schematics like HPS_GPIOx the bank it is connected to and the GPIO number: there is actually no link between the bank and the pin number
- Each FPGA I/O block is divided into banks; In the SX board the banks connected to the HPS are 6A, 6B, 7A, 7B, 7C, 7D.
- HPS_GPIO[0:28] (29)-> portA[0:28]
- HPS_GPIO[29:57] (29) -> portB[0:28]
- HPS_GPIO[57:84] (27) -> portC[0:26]
- HPS_GPI[0:13]=portC[13:26] (GPI=General Purpose Input) (http://git.arm.linux.org.uk/cgit/linux-arm.git/tree/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts?id=466e90ca2138c92b1e47d919237488b445b44d73#n156 and https://www.altera.com/support/support-resources/knowledge-base/solutions/rd05162013_937.html)
- Example on SX
- SD_CD_DAT3=HPS_GPIO47=portB[18] (47-29) (http://git.arm.linux.org.uk/cgit/linux-arm.git/tree/arch/arm/boot/dts/socfpga_cyclone5_socdk.dts?id=a7f9dac38c0c500aaaf5335d904c5a48584f0eeb#n127)
- LEDs=HPS_GPIO[41:44]=portB[12:15] (http://git.arm.linux.org.uk/cgit/linux-arm.git/tree/arch/arm/boot/dts/socfpga_cyclone5_socdk.dts?id=a7f9dac38c0c500aaaf5335d904c5a48584f0eeb#n42)
- PB/SW=HPS_GPI[4:11]=portC[17:24]
- Additional Resource:
- U-Boot: fit_check_sign should be fixed: if the .itb has been generated with -E, the signature checking will fail. Fix it!