From mboxrd@z Thu Jan 1 00:00:00 1970 From: Offouga Joris Date: Tue, 29 Jan 2019 06:50:19 +0100 Subject: [U-Boot] [RFC 1/9] Arm: dts: imx7d-pico: Import Linux pico-pi dts In-Reply-To: References: <1548019138-11133-1-git-send-email-offougajoris@gmail.com> <1548019138-11133-2-git-send-email-offougajoris@gmail.com> <3a8a552f-f4b7-1b3f-a357-2247258f7997@linaro.org> <7e104f7f-c676-8e8d-b8e7-881f0b8d7569@gmail.com> <22897369-2d33-c41b-b244-18f0dd96eab0@linaro.org> <082A4A39-EB41-46C3-8DB6-72E770DBC5CA@gmail.com> <607bb985-9974-2a92-0016-4c1c1c0d5552@gmail.com> <86f6ef94-e40d-cef0-9b5c-06b960c679af@gmail.com> <9d47c97b-2a98-a828-f473-08b8ba7a9aa7@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de > Le 28 janv. 2019 à 07:53, Jun Nie a écrit : > > Joris Offouga 于2019年1月25日周五 下午8:27写道: >> >> >>>> Le 25/01/2019 à 02:19, Jun Nie a écrit : >>>> Joris Offouga 于2019年1月24日周四 下午9:07写道: >>>> >>>>>> Le 24/01/2019 à 13:54, Jun Nie a écrit : >>>>>> Joris Offouga 于2019年1月24日周四 下午6:30写道: >>>>>> Le 24/01/2019 à 11:02, Jun Nie a écrit : >>>>>>>>>> Hi Joris, >>>>>>>>>> >>>>>>>>>> I've been told that this board exhibits this same problem even without >>>>>>>>>> the DM conversion. >>>>>>>>>> >>>>>>>>>> "PMIC: PFUZE3000 DEV_ID=0x0 REV_ID=0xfffffffb >>>>>>>>>> read error from device: 9df65458 register: 0x69! >>>>>>>>>> write error to device: 9df65458 register: 0x23! >>>>>>>>>> write error to device: 9df65458 register: 0x31!" >>>>>>>>> The result before DM conversion is : >>>>>>>>> >>>>>>>>> PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11 >>>>>>>>> >>>>>>>>> Did you have this problem with the warp7 ? >>>>>>>> No. >>>>>>>> >>>>>>>> Jun - do you see the above error on the pico ? >>>>>>> No. The only line I see about PMIC is: >>>>>>> PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11 >>>>>>> >>>>>>> Jun >>>>>> Yes it is the line that appears before the conversion >>>>>> >>>>>> Jun - do you have the pico board ? >>>>>> >>>>>> Can you help me with the conversion ? >>>>>> >>>>>> Joris >>>>> OK, I can try it. Where can I find a git branch with these patches? >>>> Non, fork the repo and I create a branch on my repo you go? >>>> >>>> If you have a preference, tell me >>> Right, you create a branch, I will clone and test on it. >> >> I create a branch pico-imx7d/convert_dm on my github repo : >> >> https://github.com/jorisoffouga/u-boot/tree/pico-imx7d/convert_dm > > Hi Joris, > > I burn u-boot.img to offset 69KB, but SPL does not boot into u-boot > according to log. Not sure Hi Jun You have the same behavior as me. For the spl I think it should copy Otavio and Fabio who put it in place. > > U-Boot SPL 2019.01-00273-g3006f29-dirty (Jan 27 2019 - 22:19:00 +0800) > Trying to boot from MMC1 > > If I replace SPL with DCD file for early initilization, I see below > log. Suppose it is due to i2c failure. > > 4474 U-Boot 2019.01-00274-gca08248-dirty (Jan 27 2019 - 22:28:17 +0800) > 4475 > 4476 CPU: Freescale i.MX7D rev1.2 1000 MHz (running at 792 MHz) > 4477 CPU: Commercial temperature grade (0C to 95C) at 27C > 4478 Reset cause: POR > 4479 Model: TechNexion PICO-IMX7D Board and PI baseboard > 4480 Board: i.MX7D PICOSOM > 4481 DRAM: 512 MiB > 4482 read error from device: 9df54458 register: 0x3! > 4483 PMIC: PFUZE3000 DEV_ID=0x0 REV_ID=0xfffffffb > 4484 read error from device: 9df54458 register: 0x69! > 4485 write error to device: 9df54458 register: 0x23! > 4486 write error to device: 9df54458 register: 0x31! > 4487 write error to device: 9df54458 register: 0x21! > 4488 write error to device: 9df54458 register: 0x2f! > 4489 read error from device: 9df54458 register: 0x2e! > 4490 write error to device: 9df54458 register: 0x2e! > 4491 MMC: FSL_SDHC: 2, FSL_SDHC: 1, FSL_SDHC: 0 > 4492 Loading Environment from MMC... OK > 4493 In: serial at 30a70000 > 4494 Out: serial at 30a70000 > 4495 Err: serial at 30a70000 > 4496 Net: gpio at 30250000: dir_output: error: gpio GPIO6_11 not reserved > 4497 gpio at 30250000: set_value: error: gpio GPIO6_11 not reserved > 4498 Board Net Initialization Failed > 4499 No ethernet found. > 4500 Hit any key to stop autoboot: 2 ^H^H^H 1 ^H^H^H 0 > 4501 Saving Environment to MMC... Writing to MMC(0)... OK > 4502 switch to partitions #0, OK > 4503 mmc0(part 0) is current device > 4504 Scanning mmc 0:1... > 4505 Found U-Boot script /boot.scr > 4506 830 bytes read in 3 ms (269.5 KiB/s) > 4507 ## Executing script at 80800000 > > Jun Joris > >>> >>> Jun >> Joris >>> >>>> Joris >>>> >>>>> Jun