[SOLVED] stuck at emmc - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85) +--- Forum: General Discussion on ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=86) +--- Thread: [SOLVED] stuck at emmc (/showthread.php?tid=6013) Pages:
1
2
|
[SOLVED] stuck at emmc - dr_dre - 04-28-2018 Hello all, ill try tell my problem. I used u-boot-flash-spi-rock64.img.xz on microsd to flash spi and be able to boot from emmc. I used android tv as my emc image. I played with it for some time ( worked okish btw) ANd now im lost. I cant find my emmc ( I lost it) ( yeah blame me ) how will i be able to boot from micro sd . As soon as i turn on power all 3 leds all are lit bright and are not doing anything. neither will he boot from usb or from microsd. ( tried several sd cards and boot imgs) Any help is appreciated. Cheers. Dre RE: stuck at emmc - vincent37 - 04-28-2018 (04-28-2018, 09:46 AM)dr_dre Wrote: Hello all, follow this link to erase your SPI Flash: http://wiki.pine64.org/index.php/NOOB#Erasing_and_Rewriting_SPI RE: stuck at emmc - dr_dre - 04-29-2018 (04-28-2018, 02:44 PM)vincent37 Wrote: follow this link to erase your SPI Flash: http://wiki.pine64.org/index.php/NOOB#Erasing_and_Rewriting_SPIThnx for the Reply vincent. But as I said booting from sd isnt possible anymore. Any other ideas besides creating a ticket at Pine-support ? Dre RE: stuck at emmc - evilbunny - 04-29-2018 (04-29-2018, 01:17 AM)dr_dre Wrote: Any other ideas besides creating a ticket at Pine-support ? There is pins you can short to disable SPI Flash, according to Lukasz it's the last two pins at the bottom row RE: stuck at emmc - pfeerick - 04-29-2018 (04-29-2018, 03:07 AM)evilbunny Wrote: There is pins you can short to disable SPI Flash, according to Lukasz it's the last two pins at the bottom row (Yes, I'm stalking you, you rascally wabbit!) Yup, it's the two pin header near the white/red leds and pwr/reset buttons, marked "eMMC en/dis"(able)... you short the two pins to disable the eMMC... or just unplug the eMMC from the board (all the jumper does is stop the eMMC clock by pulling to GND). What I'm not clear on is why you needed to flash the SPI in order boot from eMMC... as the rock64 boot sequence is SPI -> eMMC -> SD, so if there was nothing on the SPI (i.e. as shipped from factory), it will then try the eMMC (if installed, and the disable pins not jumpered), and then the SD card... RE: stuck at emmc - dr_dre - 04-29-2018 (04-29-2018, 03:30 AM)pfeerick Wrote:(04-29-2018, 03:07 AM)evilbunny Wrote: There is pins you can short to disable SPI Flash, according to Lukasz it's the last two pins at the bottom row Ok what should be normal behavior from rock64 board after i flashed spi with u-boot-flash-spi-rock64.img and i dont have emmc anymore. Problem is i get 3 bright leds immediately after power on. no life can be seen ( no ethernet leds no nothing.) The shorten of the spi flash did not help either. My next move would be to get serial working to see any kind of messages. or am i moving in the wrong direction. Cheers Dre RE: stuck at emmc - dr_dre - 04-29-2018 is there any way to write spi to factory settings again ( using uart or so) this is the output from serial ------------ U-Boot SPL 2017.09-ga0a2b48 (Mar 29 2018 - 21:57:02) setup_ddr_param 1 booted from SPI flash Trying to boot from SPI "Synchronous Abort" handler, esr 0x02000000 ELR: 10000 LR: 1890 x 0: 0000000000400000 x 1: 0000000000000000 x 2: 0000000000010000 x 3: 0000000000000180 x 4: 0000000000000009 x 5: 0000000000000073 x 6: 00000000001fff86 x 7: 0000000000000003 x 8: 0000000000000340 x 9: 0000000013d92d40 x10: 00000000005ffc0c x11: 00000000001ffb80 x12: 000000000000030d x13: 0000000000000300 x14: 00000000005ffc5c x15: 00000000001ffb80 x16: 0000000000000000 x17: 0000000000000000 x18: 00000000005ffea0 x19: 000000000000d498 x20: 000000000000d480 x21: 0000000000000000 x22: 00000000005ffe70 x23: 00000000005ffe58 x24: 000000000000b50b x25: 000000000000b4f3 x26: 000000000000d000 x27: 00000000deadbeef x28: 0000000000000430 x29: 00000000005ffde0 Resetting CPU ... DDR version 1.08 20170628 In SRX LPDDR3 333MHz Bus Width=32 Col=11 Bank=8 Row=15/15 CS=2 Die Bus-Width=32 Size=4096MB ddrconfig:7 OUT U-Boot SPL 2017.09-ga0a2b48 (Mar 29 2018 - 21:57:02) setup_ddr_param 1 booted from SPI flash Trying to boot from SPI ---------- RE: stuck at emmc - dr_dre - 04-29-2018 ok that worked fine. shortened 20 and 21 just to boot ( remove after several seconds) DDR version 1.08 20170628 In LPDDR3 333MHz Bus Width=32 Col=11 Bank=8 Row=15/15 CS=2 Die Bus-Width=32 Size=4096MB ddrconfig:7 OUT U-Boot SPL 2017.09-ga0a2b48 (Apr 27 2018 - 18:00:06) setup_ddr_param 1 booted from SD Trying to boot from MMC2 NOTICE: BL31: v1.3(debug):9d3f591 NOTICE: BL31: Built : 14:39:02, Jan 17 2018 NOTICE: BL31:Rockchip release version: v1.3 INFO: ARM GICv2 driver initialized INFO: Using opteed sec cpu_context! INFO: boot cpu mask: 1 INFO: plat_rockchip_pmu_init: pd status 0xe INFO: BL31: Initializing runtime services WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK ERROR: Error initializing runtime service opteed_fast INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x200000 INFO: SPSR = 0x3c9 U-Boot 2017.09-ga0a2b48 (Apr 27 2018 - 18:00:21 +0000), Build: jenkins-linux-build-rock-64-211 Model: Pine64 Rock64 DRAM: 4 GiB MMC: rksdmmc@ff520000: 0, rksdmmc@ff500000: 1 *** Warning - bad CRC, using default environment In: serial@ff130000 Out: serial@ff130000 Err: serial@ff130000 Model: Pine64 Rock64 misc_init_r cpuid=55524b50303930303500000000122119 serial=95ac81d6aa1d2bf Net: eth0: ethernet@ff540000 Hit any key to stop autoboot: 0 Card did not respond to voltage select! mmc_init: -95, time 10 switch to partitions #0, OK mmc1 is current device Scanning mmc 1:6... Found U-Boot script /boot.scr reading /boot.scr 449 bytes read in 4 ms (109.4 KiB/s) ## Executing script at 00500000 SF: Detected gd25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB MMC read: dev # 1, block # 64, count 8000 ... 8000 blocks read: OK SF: 4096000 bytes @ 0x8000 Erased: OK device 0 offset 0x8000, size 0x3e8000 SF: 4096000 bytes @ 0x8000 Written: OK --- ANd it boots from usb as well as well as sd thnx for the direction you pointed me to Dre RE: stuck at emmc - Facecreator - 04-29-2018 Hello, nice that it works. Can you tell me which adapter you have used to read the rock serially? RE: stuck at emmc - dr_dre - 04-29-2018 yes i used a FTDI232 to do the job . https://www.aliexpress.com/item/Free-Shipping-FT232RL-FTDI-USB-3-3V-5-5V-to-TTL-Serial-Adapter-Module-forArduin-Mini/32639650148.html?spm=a2g0s.9042311.0.0.ITatop I used this thread to help me with the pin connections. https://forum.pine64.org/showthread.php?tid=5029 @MarkHaysHarris777 for the win (https://forum.pine64.org/member.php?action=profile&uid=1323) |