bootlin / buildroot-external-st

External Buildroot tree for STMicroelectronics boards configurations
56 stars 29 forks source link

How can I build bps for a board with emmc boot? #39

Closed jacky123pqh closed 1 year ago

jacky123pqh commented 1 year ago

Hi, bootlin,would u give a exampe for how to build bps for a emmc boot board?Thanks.I read TF-A code,and get the macro STM32MP_EMMC is for emmc boot device;then following "[Using Device Tree files generated by STM32 CubeMX] "and modify BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="STM32MP_EMMC=1 "instead "STM32MP_SDMMC=1",but TF-A build failed, with message: drivers/st/ddr/stm32mp1_ram.c: in function‘stm32mp1_ddr_clk_enable’: drivers/st/ddr/stm32mp1_ram.c:34:28:error: ‘DDRPHYC’ undeclared (first use in this function); did you mean ‘DDRPHYC_PIR’? ddrphy_clk = clk_get_rate(DDRPHYC);

tpetazzoni commented 1 year ago

Sorry, but what is "bps" in this context? What are you trying to do?

tpetazzoni commented 1 year ago

Not enough details provided, no feedback from submitter, closing.