Jump to content

martinayotte

Members
  • Posts

    3892
  • Joined

  • Last visited

Reputation Activity

  1. Like
    martinayotte got a reaction from jiko in Nanopi m4v2, SD reader dead, forgotten eMMC password - can I reset?   
    On all Rockchip SoCs, eMMC has boot priority over SDCard.
    If you wish to boot from SDCard, you need to stop U-Boot from eMMC by pressing <spacebar> multiple during early boot process, then you get into U-Boot command prompt.
    You can then tell U-Boot you wish to boot from SDCard by giving the "setenv devnum 1" command followed by "run mmc_boot" ...
  2. Like
    martinayotte got a reaction from lanefu in Armbian v20.08 (Caple) Planning Thread   
    2h00 PM GMT make it 10h00AM EDT for me, will be drinking my second coffee cup ...
  3. Like
    martinayotte got a reaction from Igor in Armbian v20.08 (Caple) Planning Thread   
    2h00 PM GMT make it 10h00AM EDT for me, will be drinking my second coffee cup ...
  4. Like
    martinayotte got a reaction from TonyMac32 in Armbian v20.08 (Caple) Planning Thread   
    2h00 PM GMT make it 10h00AM EDT for me, will be drinking my second coffee cup ...
  5. Like
    martinayotte got a reaction from Werner in Armbian v20.08 (Caple) Planning Thread   
    2h00 PM GMT make it 10h00AM EDT for me, will be drinking my second coffee cup ...
  6. Like
    martinayotte got a reaction from guidol in Switching SUNXI-DEV to 5.8.y (h3-h5-h6/megous)   
    I think I've found the problem :
     
    Those "of_chosen" symbol dependencies came in the @megi commit https://github.com/megous/linux/commit/4ea85aef763727ab40791ae3c0c8dd1bb87ef577
    But the "of_chosen" symbol export is not provided in driver/of/base.c like suggested by a guy 4 years ago :
    https://lore.kernel.org/patchwork/patch/710174/
     
    I'm now compiling new 5.7.y build and will let you know if it is succeeded ...
  7. Like
    martinayotte got a reaction from Werner in Switching SUNXI-DEV to 5.8.y (h3-h5-h6/megous)   
    I think I've found the problem :
     
    Those "of_chosen" symbol dependencies came in the @megi commit https://github.com/megous/linux/commit/4ea85aef763727ab40791ae3c0c8dd1bb87ef577
    But the "of_chosen" symbol export is not provided in driver/of/base.c like suggested by a guy 4 years ago :
    https://lore.kernel.org/patchwork/patch/710174/
     
    I'm now compiling new 5.7.y build and will let you know if it is succeeded ...
  8. Like
    martinayotte got a reaction from Tido in BARGAIN: HDMI capture card   
    From my Bell Fiber TV Decoder, but I'm using HDMI splitter ...
    Yes ! Actually, I'm using currently a HDMI Capture box purchased a year ago (at US$80), which store the capture on USB dongle, which I then copy files into a NAS, but current limitation is that files are splitted into 2GB FAT chunk (around 20mins of recording) instead of single files. I then need to concatenate them into single one using ffmpeg.
    Then, I convert them into DVD with "dvdauthor" to give DVDs to my mother ...
  9. Like
    martinayotte got a reaction from Werner in THE testing thread   
    Me ...
  10. Like
    martinayotte got a reaction from Werner in Orangepi 3 h6 allwiner chip   
    I will start working on that soon ...
  11. Like
    martinayotte got a reaction from Pasha Ram in OrangePi PC+ TVout overscan issue (SOLVED)   
    add your needed commands in /etc/rc.local just before the exit 0; ...
     
  12. Like
    martinayotte got a reaction from iav in ODroid-N2 RTC not work in linux-image-current-meson64=20.02.8 5.4.28-meson64   
    I'm one of the main Armbian devs, so, yes, I will add the DT overlay in builds in the near future ...
  13. Like
    martinayotte got a reaction from Bitschubser in ROC-RK3399-PC (Renegade Elite)   
    I've done a small SPI module attached on my Pine64, and I'm using a user-patch for U-Boot Pine64 DTS, along with an DT overlay for the kernel that provide MTD partition, which I can then push the U-Boot image on the SPI flash.
     
  14. Like
    martinayotte got a reaction from balbes150 in ROC-RK3399-PC (Renegade Elite)   
    I've done a small SPI module attached on my Pine64, and I'm using a user-patch for U-Boot Pine64 DTS, along with an DT overlay for the kernel that provide MTD partition, which I can then push the U-Boot image on the SPI flash.
     
  15. Like
    martinayotte got a reaction from Fred St-Pierre in ROC-RK3399-PC (Renegade Elite)   
    I've done a small SPI module attached on my Pine64, and I'm using a user-patch for U-Boot Pine64 DTS, along with an DT overlay for the kernel that provide MTD partition, which I can then push the U-Boot image on the SPI flash.
     
  16. Like
    martinayotte got a reaction from gounthar in RK3399 Orange Pi   
    After transferring Armbian from SDCard to eMMC, next time you wish to boot SDCard, it will be less painful, no more needs of TP50265 ...
    Simply stop U-Boot with spacebar, then you can select SD with "setenv devnum 1" followed by "run mmc_boot".
     
    You need to switch firmware to another version :
    mv /lib/firmware/brcm/brcmfmac4356-sdio.bin /lib/firmware/brcm/brcmfmac4356-sdio.bin-ORIG mv /lib/firmware/brcm/brcmfmac4356-sdio.txt /lib/firmware/brcm/brcmfmac4356-sdio.txt-ORIG cp /lib/firmware/brcm/brcmfmac4356-sdio-nanopi-m4v2.bin /lib/firmware/brcm/brcmfmac4356-sdio.bin cp /lib/firmware/brcm/brcmfmac4356-sdio-nanopi-m4v2.txt /lib/firmware/brcm/brcmfmac4356-sdio.txt  
  17. Like
    martinayotte got a reaction from gounthar in RK3399 Orange Pi   
    You should change the "verbosity=1" to "verbosity=7" in /boot/armbianEnv.txt
  18. Like
    martinayotte got a reaction from gounthar in RK3399 Orange Pi   
    Here it is : https://mega.nz/file/fS5XhTQI#_7bZ_jw4XdqFWc_9x6wAI1s07sEnKoamqOBqhMf_hc8
     
  19. Like
    martinayotte got a reaction from gounthar in RK3399 Orange Pi   
    This U-Boot seems to be pretty old ...
     
    The one I built recently is booting fine 5.6.2 from eMMC :
    DDR Version 1.24 20191016 In soft reset SRX Channel 0: DDR3, 800MHz Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB Channel 1: DDR3, 800MHz Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB 256B stride ch 0 ddrconfig = 0x101, ddrsize = 0x20 ch 1 ddrconfig = 0x101, ddrsize = 0x20 pmugrf_os_reg[2] = 0x32817281, stride = 0x9 OUT Boot1: 2019-03-14, version: 1.19 CPUId = 0x0 ChipType = 0x10, 307 SdmmcInit=2 0 BootCapSize=100000 UserCapSize=14910MB FwPartOffset=2000 , 100000 mmc0:cmd8,20 mmc0:cmd5,20 mmc0:cmd55,20 mmc0:cmd1,20 mmc0:cmd8,20 mmc0:cmd5,20 mmc0:cmd55,20 mmc0:cmd1,20 mmc0:cmd8,20 mmc0:cmd5,20 mmc0:cmd55,20 mmc0:cmd1,20 SdmmcInit=0 1 StorageInit ok = 67497 SecureMode = 0 SecureInit read PBA: 0x4 SecureInit read PBA: 0x404 SecureInit read PBA: 0x804 SecureInit read PBA: 0xc04 SecureInit read PBA: 0x1004 SecureInit read PBA: 0x1404 SecureInit read PBA: 0x1804 SecureInit read PBA: 0x1c04 SecureInit ret = 0, SecureMode = 0 atags_set_bootdev: ret:(0) GPT 0x3380ec0 signature is wrong recovery gpt... GPT 0x3380ec0 signature is wrong recovery gpt fail! LoadTrust Addr:0x4000 No find bl30.bin No find bl32.bin Load uboot, ReadLba = 2000 Load OK, addr=0x200000, size=0xa5d94 RunBL31 0x40000 NOTICE: BL31: v1.3(debug):42583b6 NOTICE: BL31: Built : 07:55:13, Oct 15 2019 NOTICE: BL31: Rockchip release version: v1.1 INFO: GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3 INFO: Using opteed sec cpu_context! INFO: boot cpu mask: 0 INFO: plat_rockchip_pmu_init(1190): pd status 3e 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 2020.01-armbian (Apr 06 2020 - 16:14:46 -0400) Model: Orange Pi RK3399 Board DRAM: 2 GiB PMIC: RK808 MMC: dwmmc@fe310000: 2, dwmmc@fe320000: 1, sdhci@fe330000: 0 Loading Environment from MMC... *** Warning - bad CRC, using default environment In: serial@ff1a0000 Out: serial@ff1a0000 Err: serial@ff1a0000 Model: Orange Pi RK3399 Board rockchip_dnl_key_pressed: adc_channel_single_shot fail! Net: eth0: ethernet@fe300000 Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0(part 0) is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 2940 bytes read in 19 ms (150.4 KiB/s) ## Executing script at 00500000 Boot script loaded from mmc 0 209 bytes read in 16 ms (12.7 KiB/s) 7746799 bytes read in 755 ms (9.8 MiB/s) 22217216 bytes read in 2122 ms (10 MiB/s) 74021 bytes read in 38 ms (1.9 MiB/s) 1266 bytes read in 33 ms (37.1 KiB/s) Applying kernel provided DT overlay rockchip-spi-spidev.dtbo 2698 bytes read in 33 ms (79.1 KiB/s) Applying kernel provided DT fixup script (rockchip-fixup.scr) ## Executing script at 39000000 ## Loading init Ramdisk from Legacy Image at 06000000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 7746735 Bytes = 7.4 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 01f00000 Booting using the fdt blob at 0x1f00000 Loading Ramdisk to 7d7be000, end 7df214af ... OK Loading Device Tree to 000000007d743000, end 000000007d7bdfff ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.6.2-rockchip64 (root@giroles-hpel8300) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #trunk SMP PREEMPT Mon Apr 6 16:26:34 EDT 2020 [ 0.000000] Machine model: Orange Pi RK3399 Board ...  
  20. Like
    martinayotte got a reaction from gounthar in RK3399 Orange Pi   
    It seems to be clear that DTB is missing ...
  21. Like
    martinayotte got a reaction from Christian_ in How to use microusb port on OrangePi Lite?   
    Of course, I've shown the source located in kernel tree, not a decompiled version ...
     
    I've also said something wrong : I've a local patch not included in Armbian tree :

    You can use that patch if you are doing you own build ...
    ... or you can tweak your decompile DT to make sure that USB nodes are matching that, or use my own DTB attached, of course after backing up yours first ...
     
    sun8i-h3-orangepi-lite.dtb
  22. Like
    martinayotte got a reaction from iav in ODroid-N2 RTC not work in linux-image-current-meson64=20.02.8 5.4.28-meson64   
    Install DT compiler from http://ftp.debian.org/debian/pool/main/d/device-tree-compiler/device-tree-compiler_1.4.7-3_arm64.deb
    Then, compile the DTS I've provided and then load it dynamically :
    dtc -@ -I dts -O dtb -o odroid-n2-ic2@1c000.dtbo odroid-n2-ic2@1c000.dts mkdir /sys/kernel/config/device-tree/overlays/i2c3a cat odroid-n2-ic2@1c000.dtbo > /sys/kernel/config/device-tree/overlays/i2c3a/dtbo  
  23. Like
    martinayotte got a reaction from iav in ODroid-N2 RTC not work in linux-image-current-meson64=20.02.8 5.4.28-meson64   
    Odroid-N2 external RTC is attached on I2C3 which isn't enabled by default.
    To enable it, use this overlay source and compile it and load it.
    /dts-v1/; /plugin/; / { compatible = "amlogic,meson-g12b"; fragment@0 { target-path = "/aliases"; __overlay__ { i2c3a = "/soc/bus@ffd00000/i2c@1c000"; }; }; fragment@1 { target-path = "/soc/bus@ffd00000/i2c@1c000"; __overlay__ { status = "okay"; pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>; pinctrl-names = "default"; pcf8563: rtc@51 { /*I2C-bus slave address: read A3h and write A2h*/ compatible = "nxp,pcf8563"; reg = <0x51>; }; }; }; }; Then, the i2c will appear as well as module for PCF8563 will be loaded, it will be hookup as /dev/rtc1, you can then set the clock and re-read it using :
    hwclock -w -f /dev/rtc1 hwclock -f /dev/rtc1  
  24. Like
    martinayotte got a reaction from spikerguy in NanoPi neo+ 2 (neo plus 2)   
    If you look at Armbian build scripts, since NanoPiNeoPlus2 is an Allwinner H5 SoC, it is usual megous's github here :
     
    Current : https://github.com/megous/linux/tree/orange-pi-5.4
     
    Dev : https://github.com/megous/linux/tree/orange-pi-5.6
     
  25. Like
    martinayotte got a reaction from gounthar in usermod: group 'gpio' does not exist   
    There is also this one, although not a fork of the previous : https://github.com/Jeremie-C/OrangePi.GPIO
     
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines