dm: Complete CONFIG_BLK migration
Get series with b4
b4 am 20180713172227.319ce3e8@jawaVersions newest first
- v1 Latest0 of 2 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 0/2] dm: Complete CONFIG_BLK migration
Quoted 138 lines · On Fri, 13 Jul 2018 16:53:53 +0200 Marek Vasut <[email protected]> wrote:
Quoted 129 lines · Adam Ford
Quoted 127 lines · Adam Ford
Quoted 123 lines · Tom Rini
Quoted 110 lines · Derald D. Woods
Quoted 109 lines · Adam Ford
Quoted 84 lines · Tom Rini
Quoted 73 lines · Simon Glass
The time has come to migrate all boards to use
CONFIG_BLK. This series is just a test to see what boards would have to be removed if we requiredCONFIG_BLK, as we plan to after the next release.This should help maintainers see what is impacted.
Hopefully maintainers will be able to convert their boards over in the next month so we we can avoid having to remove any boards.
The goal is to have all boards use driver model. But so far, we do allow
CONFIG_DMto not be defined.For 'Force BLK', here is the buildman output showing failed boards and the relatively small number of command errors:
03: Force BLK
mips: + pic32mzdask arm: + mixtile_loftq colibri_imx6_nospl sniper
omap3_zoom1tbs2910Mele_A1000G_quadam335x_igep003xmx6ul_14x14_evkmk802_a10sam43xx_hs_evmdevkit3250pcm051_rev3am57xx_hs_evmEmpire_electronix_m712Auxtek-T003 pcm058 zc5202am335x_shcam335x_shc_ictHummingbird_A31vining_2000am335x_evm_usbsplot1200_spligep00x0Mele_I7Wobo_i5r7-tv-dongle liteboardomap3_overoam335x_boneblackevb-ast2500 warp7gwventana_gw5904cairo A13-OLinuXinoMmccmon6_sdapalis_imx6_nospl_itwandboardbirdland_bav335acolibri_imx7colibri_imx6inet_q972xpress_splstm32f429-evaluationudoo_neoigep0032Mele_M9A13-OLinuXinoinet98v_rev2A10s-OLinuXino-M riotboard snapper9260am43xx_evmpfla02 mx6qsabreliteapalis_imx6_nospl_coms5p_gonicolibri_pxa270snapper9g20Yones_Toptech_BS1078_V2am335x_shc_sdboot_promptk2g_hs_evmcl-som-imx7am335x_shc_sdbootvf610twr_nandstm32f469-discoveryam335x_evm_normx53cx9020Empire_electronix_d709vf610twrcm_t43pengwyn stm32f746-discoSinovoip_BPI_M2Sinovoip_BPI_M3Sinlinx_SinA31spico-imx7dam43xx_evm_rtconlyLicheePi_Zeropcm051_rev1mccmon6_normx6sabreautodisplay5_factoryam335x_shc_promptgwventana_nandBananapi_M2_UltraAuxtek-T004tbs_a711cm_t335h8_homlet_v2Colombusam43xx_evm_usbhost_bootchiliboardam335x_baltoscolibri_vfmx6ul_9x9_evkkp_imx6q_tpcbk4r1 udoodifrnce_dit4350am335x_evm_norbootUTOO_P66iNet_86VSmarsboardMSI_Primo81apalis_imx6bananapi_m2_berryxilinx_zynqmp_r5birdland_bav335bam43xx_evm_qspibootCSQ_CS908Ampe_A76kp_imx53am335x_evm_spibootCubietruck_plusk2g_evmmx6sabresdomap3_logicpeppercolorfly_e708_q1pcm052gwventana_emmcam335x_boneblack_vbootam335x_shc_netbootxpress ot1200 cgtqmx6eval zc5601 devkit8000dh_imx6mx6cuboxiam57xx_evmam335x_sl50q8_a13_tabletsksimx6microblaze: + microblaze-generic powerpc: + P1010RDB-PA_36BIT_NOR_SECBOOT
BSC9132QDS_SDCARD_DDRCLK100_SECUREP1010RDB-PB_SPIFLASH_SECBOOTT1024QDS_DDR4_SECURE_BOOTcontrolcenterd_36BIT_SDCARDBSC9132QDS_SDCARD_DDRCLK133_SECUREP1010RDB-PA_SPIFLASH_SECBOOTBSC9132QDS_NAND_DDRCLK133_SECUREP1010RDB-PA_36BIT_SPIFLASH_SECBOOTP2041RDB_SECURE_BOOTP5020DS_NAND_SECURE_BOOTP1010RDB-PB_36BIT_NOR_SECBOOTBSC9132QDS_NOR_DDRCLK100_SECUREP3041DS_SECURE_BOOTT1042D4RDB_SECURE_BOOTT1042RDB_SECURE_BOOTT4240QDS_SECURE_BOOTP1010RDB-PB_36BIT_SPIFLASH_SECBOOT P1010RDB-PB_NAND_SECBOOTBSC9132QDS_SPIFLASH_DDRCLK100_SECUREP3041DS_NAND_SECURE_BOOTT4160QDS_SECURE_BOOTT2080RDB_SECURE_BOOTB4860QDS_SECURE_BOOTP4080DS_SECURE_BOOTT2080QDS_SECURE_BOOTP5040DS_SECURE_BOOTP1010RDB-PB_36BIT_NAND_SECBOOTcontrolcenterd_36BIT_SDCARD_DEVELOPP1010RDB-PA_NAND_SECBOOTBSC9132QDS_SPIFLASH_DDRCLK133_SECUREP1010RDB-PA_NOR_SECBOOTQuoted 8 lines
controlcenterd_TRAILBLAZER_DEVELOPP5020DS_SECURE_BOOTT1024QDS_SECURE_BOOTT1040QDS_SECURE_BOOTBSC9132QDS_NOR_DDRCLK133_SECURET1024RDB_SECURE_BOOTP5040DS_NAND_SECURE_BOOTP1010RDB-PA_36BIT_NAND_SECBOOTT1042RDB_PI_NAND_SECURE_BOOTT1040RDB_SECURE_BOOTT1040D4RDB_SECURE_BOOTBSC9132QDS_NAND_DDRCLK100_SECUREP1010RDB-PB_NOR_SECBOOTT1023RDB_SECURE_BOOTcontrolcenterd_TRAILBLAZERQuoted 3 lines
So, how are the maintainers CC'd on this feeling about the deadline? It was supposed to be 2018.05, but it's looking like we would enforce it for 2018.09 at this point in time.
I looked at the
omap3_logicboard, and if I turned on theCONFIG_BLKoption, some items in USB break.LD
drivers/mtd/built-in.ocommon/usb_storage.c: In function ‘usb_stor_probe_device’:common/usb_storage.c:207:32: error: ‘struct usb_device’ has no member named ‘dev’; did you mean ‘devnum’?data = dev_get_platdata(udev->dev); ^~~ devnum common/usb_storage.c:217:34: error: ‘struct usb_device’ has no member named ‘dev’; did you mean ‘devnum’? ret = blk_create_devicef(udev->dev, "usb_storage_blk", str, ^~~ devnumCC
drivers/mtd/nand/nand.oscripts/Makefile.build:278: recipe for target
'common/usb_storage.o' failedQuoted 7 lines
Quoted 4 lines
If I turn off the USB stuff and some of the other items dependent on USB, the issues goes away. I wonder if this may be affecting other uses as well.
This is what I see on omap3-evm also.
It looks like the USB mass storage gadget code needs converting, to unblock a number of platforms from being converted fully to BLK.
Quoted 7 lines
Quoted 1 line
Does this mean the deadline can/will be extended?
gentile nudge. I haven't heard anything on what direction we should head. I don't personally have time right now to work on migrating the USB Storage driver to
CONFIG_BLK, but if it means getting kicked out of U-Boot, I'll remove the feature from my board as a temporary solution.
Quoted 4 lines
I'd be strongly opposed to kicking out boards based on some ad-hoc deadline. The deadline should be extended if there aren't resources to complete the migration.
I can give an example of Odroid XU3....
It looked on the beginning as it was missing some USB support, but it tuned out that the root cause is the lack of support for DM_MMC and DM_REGULATOR (which are necessary for CONFIG_BLK).
The simple switch to DM_MMC in the case of exynos brings this board unusable as the eMMC/SD card is not working anymore.
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de -------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180713/276b6711/attachment.sig>