* [U-Boot] mainline u-boot on radxarock (rockchip rk3188) from SDcard @ 2018-04-29 5:35 Trevor Woerner 2018-04-29 23:17 ` Trevor Woerner 2018-05-02 7:10 ` Kever Yang 0 siblings, 2 replies; 7+ messages in thread From: Trevor Woerner @ 2018-04-29 5:35 UTC (permalink / raw) To: u-boot Hello, I am able to generate a bootable image (bootloader, parameter, kernel, filesystem) for my radxarock (pro) on an SDcard if I use the bootloader from https://github.com/radxa/u-boot-rockchip. When I try to use mainline u-boot_2008.01 it doesn't seem to be able to find or boot from the SDcard: U-Boot SPL 2018.01-dirty (Apr 29 2018 - 05:19:18) Returning to boot ROM... U-Boot 2018.01-dirty (Apr 29 2018 - 05:19:18 +0000) Model: Radxa Rock DRAM: 2 GiB MMC: MMC Device 0 not found *** Warning - No MMC card found, using default environment In: serial at 20064000 Out: serial at 20064000 Err: serial at 20064000 Model: Radxa Rock rockchip_dnl_key_pressed: adc_channel_single_shot fail! Net: Net Initialization Skipped No ethernet found. Hit any key to stop autoboot: 0 No MMC device available No MMC device available No ethernet found. missing environment variable: pxeuuid missing environment variable: bootfile Retrieving file: pxelinux.cfg/00000000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/0000000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/000000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/00000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/0000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/00 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/0 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/default-arm-rockchip No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/default-arm No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/default No ethernet found. Config file not found No ethernet found. No ethernet found. => Any thoughts? Best regards, Trevor ^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] mainline u-boot on radxarock (rockchip rk3188) from SDcard 2018-04-29 5:35 [U-Boot] mainline u-boot on radxarock (rockchip rk3188) from SDcard Trevor Woerner @ 2018-04-29 23:17 ` Trevor Woerner 2018-05-02 7:10 ` Kever Yang 1 sibling, 0 replies; 7+ messages in thread From: Trevor Woerner @ 2018-04-29 23:17 UTC (permalink / raw) To: u-boot On Sun 2018-04-29 @ 01:35:18 AM, Trevor Woerner wrote: > I am able to generate a bootable image (bootloader, parameter, kernel, > filesystem) for my radxarock (pro) on an SDcard if I use the bootloader from > https://github.com/radxa/u-boot-rockchip. When I try to use mainline > u-boot_2008.01 I was looking though the mailing list and was happy to see lots of recent activity with rk3188! Maybe there's a chance I'll get this working :-) As such, I moved from 2018.01 to the most latest (i.e. 8c84287a0f225e29b688bda848e49a555c68a442) Unfortunately I'm not seeing much of a change: U-Boot SPL 2018.05-rc2-00145-g8c84287a0f-dirty (Apr 29 2018 - 23:06:29 +0000) Returning to boot ROM... U-Boot 2018.05-rc2-00145-g8c84287a0f-dirty (Apr 29 2018 - 23:06:29 +0000) Model: Radxa Rock DRAM: 2 GiB MMC: Loading Environment from MMC... MMC Device 0 not found *** Warning - No MMC card found, using default environment Failed (-5) In: serial at 20064000 Out: serial at 20064000 Err: serial at 20064000 Model: Radxa Rock rockchip_dnl_key_pressed: adc_channel_single_shot fail! Net: Net Initialization Skipped No ethernet found. Hit any key to stop autoboot: 0 No MMC device available No MMC device available No ethernet found. missing environment variable: pxeuuid missing environment variable: bootfile Retrieving file: pxelinux.cfg/00000000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/0000000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/000000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/00000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/0000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/00 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/0 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/default-arm-rockchip No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/default-arm No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/default No ethernet found. Config file not found No ethernet found. No ethernet found. => Anything else I can try testing? Best regards, Trevor ^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] mainline u-boot on radxarock (rockchip rk3188) from SDcard 2018-04-29 5:35 [U-Boot] mainline u-boot on radxarock (rockchip rk3188) from SDcard Trevor Woerner 2018-04-29 23:17 ` Trevor Woerner @ 2018-05-02 7:10 ` Kever Yang 2018-05-02 8:11 ` Jaehoon Chung 2018-09-21 9:13 ` Heiko Stuebner 1 sibling, 2 replies; 7+ messages in thread From: Kever Yang @ 2018-05-02 7:10 UTC (permalink / raw) To: u-boot Hi Trevor, It looks like the mmc driver does not work correctly, and no emmc/sdcard found. Maybe you can enable 'DEBUG' and get more detail about what happen. Thanks, - Kever On 04/29/2018 01:35 PM, Trevor Woerner wrote: > Hello, > > I am able to generate a bootable image (bootloader, parameter, kernel, > filesystem) for my radxarock (pro) on an SDcard if I use the bootloader from > https://github.com/radxa/u-boot-rockchip. When I try to use mainline > u-boot_2008.01 it doesn't seem to be able to find or boot from the SDcard: > > U-Boot SPL 2018.01-dirty (Apr 29 2018 - 05:19:18) > Returning to boot ROM... > > > U-Boot 2018.01-dirty (Apr 29 2018 - 05:19:18 +0000) > > Model: Radxa Rock > DRAM: 2 GiB > MMC: > MMC Device 0 not found > *** Warning - No MMC card found, using default environment > > In: serial at 20064000 > Out: serial at 20064000 > Err: serial at 20064000 > Model: Radxa Rock > rockchip_dnl_key_pressed: adc_channel_single_shot fail! > Net: Net Initialization Skipped > No ethernet found. > Hit any key to stop autoboot: 0 > No MMC device available > No MMC device available > No ethernet found. > missing environment variable: pxeuuid > missing environment variable: bootfile > Retrieving file: pxelinux.cfg/00000000 > No ethernet found. > missing environment variable: bootfile > Retrieving file: pxelinux.cfg/0000000 > No ethernet found. > missing environment variable: bootfile > Retrieving file: pxelinux.cfg/000000 > No ethernet found. > missing environment variable: bootfile > Retrieving file: pxelinux.cfg/00000 > No ethernet found. > missing environment variable: bootfile > Retrieving file: pxelinux.cfg/0000 > No ethernet found. > missing environment variable: bootfile > Retrieving file: pxelinux.cfg/000 > No ethernet found. > missing environment variable: bootfile > Retrieving file: pxelinux.cfg/00 > No ethernet found. > missing environment variable: bootfile > Retrieving file: pxelinux.cfg/0 > No ethernet found. > missing environment variable: bootfile > Retrieving file: pxelinux.cfg/default-arm-rockchip > No ethernet found. > missing environment variable: bootfile > Retrieving file: pxelinux.cfg/default-arm > No ethernet found. > missing environment variable: bootfile > Retrieving file: pxelinux.cfg/default > No ethernet found. > Config file not found > No ethernet found. > No ethernet found. > => > > Any thoughts? > > Best regards, > Trevor > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > https://lists.denx.de/listinfo/u-boot ^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] mainline u-boot on radxarock (rockchip rk3188) from SDcard 2018-05-02 7:10 ` Kever Yang @ 2018-05-02 8:11 ` Jaehoon Chung 2018-05-03 15:13 ` Trevor Woerner 2018-09-21 9:13 ` Heiko Stuebner 1 sibling, 1 reply; 7+ messages in thread From: Jaehoon Chung @ 2018-05-02 8:11 UTC (permalink / raw) To: u-boot Hi, On 05/02/2018 04:10 PM, Kever Yang wrote: > Hi Trevor, > > It looks like the mmc driver does not work correctly, and no > emmc/sdcard found. > > Maybe you can enable 'DEBUG' and get more detail about what happen. > > > Thanks, > - Kever > On 04/29/2018 01:35 PM, Trevor Woerner wrote: >> Hello, >> >> I am able to generate a bootable image (bootloader, parameter, kernel, >> filesystem) for my radxarock (pro) on an SDcard if I use the bootloader from >> https://github.com/radxa/u-boot-rockchip. When I try to use mainline >> u-boot_2008.01 it doesn't seem to be able to find or boot from the SDcard: Do you use the dwmmc driver? or which driver are you using? And Could you share which defconfig is used? Plz, CC'd me. Best Regards, Jaehoon Chung >> >> U-Boot SPL 2018.01-dirty (Apr 29 2018 - 05:19:18) >> Returning to boot ROM... >> >> >> U-Boot 2018.01-dirty (Apr 29 2018 - 05:19:18 +0000) >> >> Model: Radxa Rock >> DRAM: 2 GiB >> MMC: >> MMC Device 0 not found >> *** Warning - No MMC card found, using default environment >> >> In: serial at 20064000 >> Out: serial at 20064000 >> Err: serial at 20064000 >> Model: Radxa Rock >> rockchip_dnl_key_pressed: adc_channel_single_shot fail! >> Net: Net Initialization Skipped >> No ethernet found. >> Hit any key to stop autoboot: 0 >> No MMC device available >> No MMC device available >> No ethernet found. >> missing environment variable: pxeuuid >> missing environment variable: bootfile >> Retrieving file: pxelinux.cfg/00000000 >> No ethernet found. >> missing environment variable: bootfile >> Retrieving file: pxelinux.cfg/0000000 >> No ethernet found. >> missing environment variable: bootfile >> Retrieving file: pxelinux.cfg/000000 >> No ethernet found. >> missing environment variable: bootfile >> Retrieving file: pxelinux.cfg/00000 >> No ethernet found. >> missing environment variable: bootfile >> Retrieving file: pxelinux.cfg/0000 >> No ethernet found. >> missing environment variable: bootfile >> Retrieving file: pxelinux.cfg/000 >> No ethernet found. >> missing environment variable: bootfile >> Retrieving file: pxelinux.cfg/00 >> No ethernet found. >> missing environment variable: bootfile >> Retrieving file: pxelinux.cfg/0 >> No ethernet found. >> missing environment variable: bootfile >> Retrieving file: pxelinux.cfg/default-arm-rockchip >> No ethernet found. >> missing environment variable: bootfile >> Retrieving file: pxelinux.cfg/default-arm >> No ethernet found. >> missing environment variable: bootfile >> Retrieving file: pxelinux.cfg/default >> No ethernet found. >> Config file not found >> No ethernet found. >> No ethernet found. >> => >> >> Any thoughts? >> >> Best regards, >> Trevor >> _______________________________________________ >> U-Boot mailing list >> U-Boot at lists.denx.de >> https://lists.denx.de/listinfo/u-boot > > > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > https://lists.denx.de/listinfo/u-boot > ^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] mainline u-boot on radxarock (rockchip rk3188) from SDcard 2018-05-02 8:11 ` Jaehoon Chung @ 2018-05-03 15:13 ` Trevor Woerner 2018-05-03 23:37 ` Jaehoon Chung 0 siblings, 1 reply; 7+ messages in thread From: Trevor Woerner @ 2018-05-03 15:13 UTC (permalink / raw) To: u-boot Hi Jaehoon and Kever, On Wed, May 2, 2018 at 4:11 AM, Jaehoon Chung <jh80.chung@samsung.com> wrote: > Hi, > > On 05/02/2018 04:10 PM, Kever Yang wrote: > > Hi Trevor, > > > > It looks like the mmc driver does not work correctly, and no > > emmc/sdcard found. > > > > Maybe you can enable 'DEBUG' and get more detail about what happen. > Is enabling DEBUG just a matter of increasing the logging levels (CONFIG_LOGLEVEL and CONFIG_LOG_MAX_LEVEL) to 7, or is something else required? > > > > > > Thanks, > > - Kever > > On 04/29/2018 01:35 PM, Trevor Woerner wrote: > >> Hello, > >> > >> I am able to generate a bootable image (bootloader, parameter, kernel, > >> filesystem) for my radxarock (pro) on an SDcard if I use the bootloader > from > >> https://github.com/radxa/u-boot-rockchip. When I try to use mainline > >> u-boot_2008.01 it doesn't seem to be able to find or boot from the > SDcard: > > Do you use the dwmmc driver? or which driver are you using? > And Could you share which defconfig is used? > > Plz, CC'd me. > > I'm using rock_defconfig, currently without any changes, as such MMC_DW_ROCKCHIP is enabled. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] mainline u-boot on radxarock (rockchip rk3188) from SDcard 2018-05-03 15:13 ` Trevor Woerner @ 2018-05-03 23:37 ` Jaehoon Chung 0 siblings, 0 replies; 7+ messages in thread From: Jaehoon Chung @ 2018-05-03 23:37 UTC (permalink / raw) To: u-boot Dear Trevor, On 05/04/2018 12:13 AM, Trevor Woerner wrote: > Hi Jaehoon and Kever, > > On Wed, May 2, 2018 at 4:11 AM, Jaehoon Chung <jh80.chung@samsung.com> > wrote: > >> Hi, >> >> On 05/02/2018 04:10 PM, Kever Yang wrote: >>> Hi Trevor, >>> >>> It looks like the mmc driver does not work correctly, and no >>> emmc/sdcard found. >>> >>> Maybe you can enable 'DEBUG' and get more detail about what happen. >> > > Is enabling DEBUG just a matter of increasing the logging levels > (CONFIG_LOGLEVEL and CONFIG_LOG_MAX_LEVEL) to 7, or is something else > required? I think you can just add the CONFIG_MMC_TRACE in include/configs/<your haeder>.h Then we can see the command sequence. It's helpful to debug. > > >>> >>> >>> Thanks, >>> - Kever >>> On 04/29/2018 01:35 PM, Trevor Woerner wrote: >>>> Hello, >>>> >>>> I am able to generate a bootable image (bootloader, parameter, kernel, >>>> filesystem) for my radxarock (pro) on an SDcard if I use the bootloader >> from >>>> https://github.com/radxa/u-boot-rockchip. When I try to use mainline >>>> u-boot_2008.01 it doesn't seem to be able to find or boot from the >> SDcard: >> >> Do you use the dwmmc driver? or which driver are you using? >> And Could you share which defconfig is used? >> >> Plz, CC'd me. >> >> > I'm using rock_defconfig, currently without any changes, as such > MMC_DW_ROCKCHIP is enabled. Did you try to check v2018.03? Your log seems that "didn't initialize any card." You didn't any change? Your bootloader added "-dirty" U-Boot 2018.01-dirty (Apr 29 2018 - 05:19:18 +0000) When i didn't work SD-card or eMMC, i follow the below sequence. 1. Check the correct gpio and power. 2. Check the device tree. 3. Check the clock. 4. And then check the device driver. 5. Check the mmc core. Now. I need to get your information more. dt file, board name, etc... If you have a version that it's working fine, then you can try to find a trouble patch with git bisect command. Best Regards, Jaehoon Chung > ^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] mainline u-boot on radxarock (rockchip rk3188) from SDcard 2018-05-02 7:10 ` Kever Yang 2018-05-02 8:11 ` Jaehoon Chung @ 2018-09-21 9:13 ` Heiko Stuebner 1 sibling, 0 replies; 7+ messages in thread From: Heiko Stuebner @ 2018-09-21 9:13 UTC (permalink / raw) To: u-boot Hi Trevor, Am Mittwoch, 2. Mai 2018, 09:10:49 CEST schrieb Kever Yang: > Hi Trevor, > > It looks like the mmc driver does not work correctly, and no > emmc/sdcard found. I just sent off a series adding mmc support for rk3188 in u-boot, so maybe you could try that. Heiko ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2018-09-21 9:13 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2018-04-29 5:35 [U-Boot] mainline u-boot on radxarock (rockchip rk3188) from SDcard Trevor Woerner 2018-04-29 23:17 ` Trevor Woerner 2018-05-02 7:10 ` Kever Yang 2018-05-02 8:11 ` Jaehoon Chung 2018-05-03 15:13 ` Trevor Woerner 2018-05-03 23:37 ` Jaehoon Chung 2018-09-21 9:13 ` Heiko Stuebner
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.