On Mon, Jan 13, 2020 at 5:36 PM Leonard Crestez <leonard.crestez@xxxxxxx> wrote: > > On 10.01.2020 20:34, Adam Ford wrote: > > On Wed, Dec 18, 2019 at 10:42 AM Adam Ford <aford173@xxxxxxxxx > > <mailto:aford173@xxxxxxxxx>> wrote: > > > > U-Boot booted and Linux booted, but I still get: > > > > > > > > imx8m-ddrc-devfreq 3d400000.memory-controller: failed to init > > > > firmware freq info: -19 > > > > > > Which version of u-boot is that, upstream? I'm subscribed to uboot > > > mailing list and I see that imx8m support has its own separate issues > > > but my familiarity is limited :( > > > > U-Boot 2020.01-rc4-00244-gf39abbbc53-dirty (Dec 18 2019 - 09:27:40 > > -0600) > > > > > > > > I've only ever tested with NXP uboot and the NXP version of mkimage: > > > > > > > > https://source.codeaurora.org/external/imx/uboot-imx/log/?h=imx_v2019.04_4.19.35_1.1.0 > > <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fimx%2Fuboot-imx%2Flog%2F%3Fh%3Dimx_v2019.04_4.19.35_1.1.0&data=02%7C01%7Cleonard.crestez%40nxp.com%7C5babd2cb3fec4dc0a21008d795fbbc4a%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637142780735473321&sdata=LhleGMcJzjiNsPbVxmPbvgRVMnl%2F2HxUqVYKcgCFiEg%3D&reserved=0> > > > https://source.codeaurora.org/external/imx/imx-mkimage/ > > <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fimx%2Fimx-mkimage%2F&data=02%7C01%7Cleonard.crestez%40nxp.com%7C5babd2cb3fec4dc0a21008d795fbbc4a%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637142780735483320&sdata=enJQ9hgVkIG7frJ9v6QBQAgJBL8j3hWB7RAKa8XhPaw%3D&reserved=0> > > > > I will try your versions and see what happens. > > > > > My bootloader prints the following BuildInfo: > > > - ATF 70fa7bc > > > > > > - U-Boot 2019.04-00019-g4d377539a119 > > > > > > > Thanks for your help. > > > > > > I wanted to try again after everything was merged into linux-next. > > > > I am using the U-Boot master (as of 10 Jan 2020), with ATF from > > 4.19.35_1.1.0 from Code Aurora. I have tried your ATF, but I don't see > > any change in behavior. I have made the DDRC a module, but I still get > > the same error message. > > > > [ 2.204554] imx8m-ddrc-devfreq 3d400000.memory-controller: failed to > > init firmware freq info: -19 > > > > Is there something else I can try? > > Yes, the NXP branch of uboot from Code Aurora (my commit hash is above). > > I understand you want to use uboot and atf master, apparently they both > need to be patched for this feature to work. It would still be > interesting to validate. I was able to get the 8MM to work with this new driver using the uboot branch from Code Aurora. Could you point me to what in U-Boot needs to be pulled forward to the mainline? I'd be willing to help if I can. Thanks for your help. adam > > -- > Regards, > Leonard