Skip to content

Recover Button

Hardware
2 1 895
  • In der Version v2.0 fehlte dieser Button noch, er war einfach nicht bestückt.

    0_1532793266131_DSC_0040_ergebnis.JPG

    Wenn jemand den vermisst, zur Not kann man da was dran löten. Sollte machbar sein.

    v2.1

    0_1532793316445_DSC_0039_ergebnis.JPG

    Die Frage, was macht das Ding? Gehen wir mal auf die Suche.....

    Kamil hat auf seiner Release Seite einen Link zu u-boot recovery selection

    Kamil erklärt das so

    ayufan: introduce recovery button mode selection

    Press and hold recovery button to choose suitable boot mode.
    When given mode is selected release the button.
    Each mode exposes device over USB-OTG and can be connected via USB A-to-A cable

    1 blink: share eMMC or SD as virtual disk
    2 blinks: enter fastboot (Android's)
    3 blinks: enter RockUSB download mode
    4 blinks: enter MaskROM download mode

    Ob das so funktioniert kann ich nicht sagen, da ich nicht 100% weiß wofür das ist.

    Spekulation

    An die USB-C Buchse kann man ein USB A-to-A Kabel anschliessen, damit kann man dann mit verschiedenen Programmen auf das Board zugreifen.

    Für Entwickler vermutlich total wichtig, denke ich das es für den durchschnittlichen Anwender unwichtig ist.

  • Ich hab das mal ausprobiert.

    Den Recover Button so lange drücken, bis folgendes erscheint.

    In:    serial@ff1a0000                                                          
    Out:   serial@ff1a0000                                                          
    Err:   serial@ff1a0000                                                          
    Model: Pine64 RockPro64                                                         
    rockchip_dnl_mode = 1 mode                                                      
    rockchip_dnl_mode = 2 mode                                                      
    rockchip_dnl_mode = 3 mode                                                      
    rockchip_dnl_mode = 4 mode                                                      
    entering maskrom mode...
    

    RKFlashTool clonen

     root@thinkpad:/home/frank/test# git clone https://github.com/rockchip-linux/rkflashtool
     Klone nach 'rkflashtool' ...
     remote: Counting objects: 663, done.
     remote: Total 663 (delta 0), reused 0 (delta 0), pack-reused 663
     Empfange Objekte: 100% (663/663), 114.94 KiB | 0 bytes/s, Fertig.
     Löse Unterschiede auf: 100% (367/367), Fertig.
    

    In das Verzeichnis wechseln

    root@thinkpad:/home/frank/test# cd rkflashtool/
    

    Inhalt

    root@thinkpad:/home/frank/test/rkflashtool# ls
    doc	       Makefile    rkcrc.h	  rkflashtool.h  rkparametersblock
    examples       README	   rkflashall	  rkmisc	 rkunpack.c
    fixversion.sh  release.sh  rkflashloader  rkpad		 rkunsign
    flashuboot     rkcrc.c	   rkflashtool.c  rkparameters	 version.h
    

    RKFlashtool bauen

    root@thinkpad:/home/frank/test/rkflashtool# make
    gcc -O2 -W -Wall -I/usr/include/libusb-1.0 rkflashtool.c -o rkflashtool  -lusb-1.0
    gcc -O2 -W -Wall -I/usr/include/libusb-1.0 rkcrc.c -o rkcrc  -lusb-1.0
    gcc -O2 -W -Wall -I/usr/include/libusb-1.0 rkunpack.c -o rkunpack  -lusb-1.0
    

    Ich habe ein USB-A to USB-A Kabel vom USB-C Port des ROCKPro64 zu meinem Notebook hergestellt.

    root@thinkpad:/home/frank/test/rkflashtool# sudo ./rkflashtool v
    rkflashtool: info: rkflashtool v5.2
    rkflashtool: info: Detected RK3399...
    rkflashtool: info: interface claimed
    rkflashtool: info: MASK ROM MODE
    rkflashtool: info: chip version: -..-
    

    Ok, Verbindung steht.

    Eine Übersicht der Befehle

    root@thinkpad:/home/frank/test/rkflashtool# sudo ./rkflashtool
    rkflashtool: info: rkflashtool v5.2
    rkflashtool: fatal: usage:
    	rkflashtool b [flag]            	reboot device
    	rkflashtool l <file             	load DDR init (MASK ROM MODE)
    	rkflashtool L <file             	load USB loader (MASK ROM MODE)
    	rkflashtool v                   	read chip version
    	rkflashtool n                   	read NAND flash info
    	rkflashtool i offset nsectors >outfile 	read IDBlocks
    	rkflashtool j offset nsectors <infile  	write IDBlocks
    	rkflashtool m offset nbytes   >outfile 	read SDRAM
    	rkflashtool M offset nbytes   <infile  	write SDRAM
    	rkflashtool B krnl_addr parm_addr      	exec SDRAM
    	rkflashtool r partname >outfile 	read flash partition
    	rkflashtool w partname <infile  	write flash partition
    	rkflashtool r offset nsectors >outfile 	read flash
    	rkflashtool w offset nsectors <infile  	write flash
    	rkflashtool p >file             	fetch parameters
    	rkflashtool P <file             	write parameters
    	rkflashtool e partname          	erase flash (fill with 0xff)
    	rkflashtool e offset nsectors   	erase flash (fill with 0xff)
    
  • FrankMF FrankM hat am auf dieses Thema verwiesen
  • Armbian 20.08 (Caple) released

    Armbian armbian rockpro64
    1
    0 Stimmen
    1 Beiträge
    390 Aufrufe
    Niemand hat geantwortet
  • Serielle Konsole UART2 (2)

    Angeheftet Hardware uart rockpro64
    1
    8
    0 Stimmen
    1 Beiträge
    253 Aufrufe
    Niemand hat geantwortet
  • ROCKPro64 - Docker Image

    ROCKPro64 docker rockpro64
    4
    1
    0 Stimmen
    4 Beiträge
    1k Aufrufe
    FrankMF
    Das ganze hat einen furchtbar schönen Vorteil. Mal angenommen, ich habe ein NodeBB-Forum in einem Container laufen. Will das Ding updaten und das crasht einfach mal so. Egal, Container stoppen, Container starten und alles läuft wieder. Mit dem Commit sichere ich mir dann den Zustand nachdem ich weiß, das alles klappt
  • PCI-e X4 to M.2/NGFF NVMe SSD Interface Card

    Hardware hardware rockpro64
    1
    0 Stimmen
    1 Beiträge
    682 Aufrufe
    Niemand hat geantwortet
  • eMMC Modul

    Hardware hardware rockpro64
    1
    0 Stimmen
    1 Beiträge
    2k Aufrufe
    Niemand hat geantwortet
  • ROCKPro64 - kein WLan-Modul möglich?

    ROCKPro64 rockpro64
    4
    2
    0 Stimmen
    4 Beiträge
    2k Aufrufe
    FrankMF
    Heute, 5 Monate später, kann ich bestätigen das WLan möglich ist Getestet auf einem ROCKPro64 v2.1 mit 2GB RAM. Eine Vorabversion von Recalbox machte es das erste Mal für mich möglich das WLan zu benutzen. Bericht Und PCIe ist abgeschaltet im dts File. pcie-phy { compatible = "rockchip,rk3399-pcie-phy"; #phy-cells = <0x0>; rockchip,grf = <0x15>; clocks = <0x8 0x8a>; clock-names = "refclk"; resets = <0x8 0x87>; reset-names = "phy"; status = "disabled"; phandle = <0x8b>; }; pcie@f8000000 { compatible = "rockchip,rk3399-pcie"; #address-cells = <0x3>; #size-cells = <0x2>; aspm-no-l0s; clocks = <0x8 0xc5 0x8 0xc4 0x8 0x147 0x8 0xa0>; clock-names = "aclk", "aclk-perf", "hclk", "pm"; bus-range = <0x0 0x1f>; max-link-speed = <0x2>; linux,pci-domain = <0x0>; msi-map = <0x0 0x89 0x0 0x1000>; interrupts = <0x0 0x31 0x4 0x0 0x0 0x32 0x4 0x0 0x0 0x33 0x4 0x0>; interrupt-names = "sys", "legacy", "client"; #interrupt-cells = <0x1>; interrupt-map-mask = <0x0 0x0 0x0 0x7>; interrupt-map = <0x0 0x0 0x0 0x1 0x8a 0x0 0x0 0x0 0x0 0x2 0x8a 0x1 0x0 0x0 0x0 0x3 0x8a 0x2 0x0 0x0 0x0 0x4 0x8a 0x3>; phys = <0x8b>; phy-names = "pcie-phy"; ranges = <0x83000000 0x0 0xfa000000 0x0 0xfa000000 0x0 0x1e00000 0x81000000 0x0 0xfbe00000 0x0 0xfbe00000 0x0 0x100000>; reg = <0x0 0xf8000000 0x0 0x2000000 0x0 0xfd000000 0x0 0x1000000>; reg-names = "axi-base", "apb-base"; resets = <0x8 0x82 0x8 0x83 0x8 0x84 0x8 0x85 0x8 0x86 0x8 0x81 0x8 0x80>; reset-names = "core", "mgmt", "mgmt-sticky", "pipe", "pm", "pclk", "aclk"; status = "disabled"; Also bleibt weiterhin ungeklärt, ob auch beides zusammen möglich ist. Also gleichzeitig das WLan-Modul und eine PCIe Karte.
  • Benchmark Mainline 4.17.0-rc6

    Verschoben Archiv rockpro64
    4
    0 Stimmen
    4 Beiträge
    1k Aufrufe
    FrankMF
    iozone 5GT/s x2 rock64@rockpro64:/mnt$ sudo iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2 Iozone: Performance Test of File I/O Version $Revision: 3.429 $ Compiled for 64 bit mode. Build: linux Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins Al Slater, Scott Rhine, Mike Wisner, Ken Goss Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR, Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner, Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone, Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root, Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer, Vangel Bojaxhi, Ben England, Vikentsi Lapa. Run began: Sat Jun 16 06:34:43 2018 Include fsync in write timing O_DIRECT feature enabled Auto Mode File size set to 102400 kB Record Size 4 kB Record Size 16 kB Record Size 512 kB Record Size 1024 kB Record Size 16384 kB Command line used: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2 Output is in kBytes/sec Time Resolution = 0.000001 seconds. Processor cache size set to 1024 kBytes. Processor cache line size set to 32 bytes. File stride size set to 17 * record size. random random bkwd record stride kB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread 102400 4 48672 104754 115838 116803 47894 103606 102400 16 168084 276437 292660 295458 162550 273703 102400 512 566572 597648 580005 589209 534508 597007 102400 1024 585621 624443 590545 599177 569452 630098 102400 16384 504871 754710 765558 780592 777696 753426 iozone test complete. 2,5GT/s x2 rock64@rockpro64:/mnt$ sudo iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2 Iozone: Performance Test of File I/O Version $Revision: 3.429 $ Compiled for 64 bit mode. Build: linux Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins Al Slater, Scott Rhine, Mike Wisner, Ken Goss Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR, Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner, Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone, Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root, Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer, Vangel Bojaxhi, Ben England, Vikentsi Lapa. Run began: Sun Jun 17 06:54:02 2018 Include fsync in write timing O_DIRECT feature enabled Auto Mode File size set to 102400 kB Record Size 4 kB Record Size 16 kB Record Size 512 kB Record Size 1024 kB Record Size 16384 kB Command line used: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2 Output is in kBytes/sec Time Resolution = 0.000001 seconds. Processor cache size set to 1024 kBytes. Processor cache line size set to 32 bytes. File stride size set to 17 * record size. random random bkwd record stride kB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread 102400 4 49420 91310 102658 103415 47023 90099 102400 16 138141 202088 224648 225918 141642 202457 102400 512 335055 347517 375096 378596 364668 350005 102400 1024 345508 354999 378947 382733 375315 354783 102400 16384 306262 383155 424403 429423 428670 377476 iozone test complete.
  • bionic-lxde-rockpro64

    Verschoben Linux rockpro64
    2
    1
    0 Stimmen
    2 Beiträge
    983 Aufrufe
    FrankMF
    Neue Version 0.7.3 USB2 Funktastur und Maus funktioniert. LED's Weiße LED leuchtet dauerhaft nach dem Starten Youtube Video läuft, aber nach einiger Zeit startet das System neu. Sieht nach Grafiktreiber aus. ALSA hat auch ein Problem, kein Ton. Aber das ist erst mal völlig unwichtig. Erst mal muss die Hardware laufen. [image: 1527276354890-desktop-resized.jpg]