boobypi

Members
  • Content count

    44
  • Joined

  • Last visited

About boobypi

  • Rank
    Advanced Member

Recent Profile Visitors

301 profile views
  1. RK3328 MX10 4GB ram 32GB emmc

    In case of brick, there is 2 pad bottom emmc that can be shorted with a 10Ohm resistor or whatever near from you to put the box in maskrom mode (tested without problem). In maskrom mode you will need to load usb loader to do anything. Basicaly i done these steps mkdir rockchip/ cd rockchip/ git clone https://github.com/rockchip-linux/rkbin.git git clone https://github.com/rockchip-linux/u-boot.git git clone https://github.com/rockchip-linux/build.git sudo apt install gcc-aarch64-linux-gnu git-core gitk git-gui gcc-arm-linux-gnueabihf u-boot-tools //make uboot image ./mk-uboot.sh rk3328-evb //tool for flashing in maskrom mode git clone https://github.com/rockchip-linux/rkdeveloptool.git cd rkdeveloptool/ cat Readme.txt autoreconf -i ./configure make sudo ./rkdeveloptool rd 3 Reset Device OK. sudo ./rkdeveloptool db ../out/u-boot/RK3328MiniLoaderAll_MX10.bin Downloading bootloader succeeded. //editing parameter_gpt file then erasing emmc sudo ./rkdeveloptool ef //writing new partition table sudo ./rkdeveloptool gpt ../parameter_gpt.txt **********GPT Info********** NO LBA Name 00 00000040 loader1 01 00001F80 reserved1 02 00002000 reserved2 03 00004000 loader2 04 00006000 atf 05 00008000 boot 06 00040000 rootfs sudo ./rkdeveloptool wl 0x40 ../out/u-boot/idbloader.img sudo ./rkdeveloptool wl 0x4000 ../out/u-boot/uboot.img sudo ./rkdeveloptool wl 0x6000 ../out/u-boot/trust.img If i remember weel in this state the box don't want to start but wasn't in maskmode, I connect the 2 pads to short Emmc for 1 sec while connecting usb and i upgrade the loader with this cmd : sudo ./rkdeveloptool db ../out/u-boot/RK3328MiniLoaderAll_MX10.bin Downloading bootloader succeeded. sudo ./rkdeveloptool ul ../out/u-boot/RK3328MiniLoaderAll_MX10.bin Upgrading loader succeeded. Now it's booting with console at 1500000
  2. RK3328 MX10 4GB ram 32GB emmc

    Hello, Just some word to know MX10 RK3328 can have an uboot legacy 4.4 working in emmc with the defaut rk3328-evb board config. I follow the guide [RK3328_Linux-Debian_V1.1_Development_Guide-20170711.pdf]. I suggest before trying anything to be sure you have an working usb loader for your BOX (usb loader from rkbin github don't work for example). You can find it in android update firmware image, unpack it with https://github.com/TeeFirefly/rk2918_tools.git And try on box in recovery mode : To remenber information about your emmc (in case it show 0MB capacity) Be carefull with the default parameter_gpt file, it's setup 512bytes page size and if you erase you emmc will show 0MB capacity so bad!) sudo ./rkdeveloptool rfi Flash Info: Manufacturer: SAMSUNG, value=00 Flash Size: 29820 MB Block Size: 512 KB Page Size: 2 KB ECC Bits: 0 Access Time: 40 Flash CS: Flash<0> sudo ./rkdeveloptool rd 3 //reboot device in maskrom mode sudo ./rkdeveloptool db RK3328MiniLoaderAll_MX10.bin (extracted from MX10 firmware) Downloading bootloader succeeded. Now you are sure to be able to debrick the box if thing go wrong :) parameter_gpt.txt used FIRMWARE_VER: 6.0.0 MACHINE_MODEL: RK3328 MACHINE_ID: 007 MANUFACTURER: RK3328 MAGIC: 0x5041524B ATAG: 0x00200800 MACHINE: 3328 CHECK_MASK: 0x80 PWR_HLD: 0,0,A,0,1 #KERNEL_IMG: 0x00280000 #FDT_NAME: rk-kernel.dtb #RECOVER_KEY: 1,1,0,20,0 #in section; per section 2048(0x800) bytes <<===== BE CAREFULL with PAGE SIZE BEFORE ERASE CMDLINE: mtdparts=rk29xxnand:0x00001f40@0x00000040(loader1),0x00000080@0x00001f80(reserved1),0x00002000@0x00002000(reserved2),0x00002000@0x00004000(loader2),0x00002000@0x00006000(atf),0x00038000@0x00008000(boot:bootable),-@0x0040000(rootfs) RK3328MiniLoaderAll.bin
  3. [OPiOne] USB power off

    Or put an unused gpio pin for kernel start and drive PL12 manualy as gpio after startup to turn on usb device. Interresting for power saving
  4. Here http://112.124.9.243/uftp/linux-4.4.y-g3739ddc.tar.xz After read some comments at http://free-electrons.com/blog/mali-opengl-support-on-allwinner-platforms-with-mainline-linux/, mali400 have different implementation (nexell mali 400 != allwinner mali 400)
  5. Maybe i tell bullshit but i saw a kernel4.4 driver for mali400 released with NanoPi Fire2A & Fire3 Boards.
  6. GPU driver?

    Do you know your link with comment reference isn't working in firefox? I have to check the share button to see proposed url and find the tutorial Maybe it's more simple to make an pdf or a quote like this :
  7. GPU driver?

    Well u are right, i misreading first page, sorrye Plz share a link to the tutorial, i don't find it
  8. GPU driver?

    Hello Just to understand a little bit can we use the binary libmali with lastest kernel with patch (Myy) or it 's necessary to start from 4.4 kernel and port mainline patches to 4.4 kernel? I buy an rk3328 device only because it's seem there is an kernel - not prehistoric - with gpu available but after some read i find documentation poor and community less active (in number) than sunxi linux team. I hope to be able to compile QT5 webkit with gpu mesa dependancy but maybe it's very early to dream about it A link to Myy tutorial (RK3288) if already exist need to be under light ^^ Tks for what is sharing here
  9. orangepipc limit usb speed

    The only good reason in my opinion is for usb protocol reverse engineering with a low cost usb packet analyser (usb 12mbit).
  10. Z28 [RK3328] 1/8

    Hi mdel, I ask if the weird "sdmmc0m1-pwren" instead SDMMC0_DET isn't the power enable pin for wlan-bluetooth module
  11. Z28 [RK3328] 1/8

    Maybe you can check a big file copy from sdcard to android emmc to see speed throughtput and maybe confirming sdcard socket is spi wired (lower speed than real sdmmc controller)
  12. example of command (tested on OP PC) to boot openwrt in ram from a tftp server (sharing dtb, uimage and rootfs) : setenv ipaddr 192.168.x.x setenv serverip 192.168.x.x setenv netmask 255.255.255.0 setenv kernel_addr_r 0x42000000 setenv fdt_addr_r 0x43000000 setenv ramdisk_addr_r 0x43300000 setenv rootfsaddr 0x43300000 setenv tftpLoadUBoot tftpboot 0x42000000 openwrt-sunxi-uImage setenv tftpLoadDTB tftpboot 0x43000000 dtb setenv tftpLoadROOTFSRAM tftpboot 0x43300000 openwrt-sunxi-root.ext4 setenv tftpLoadCMD run tftpLoadUBoot tftpLoadDTB tftpLoadROOTFSRAM setenv bootargs console=ttyS0,115200 mem=512M earlyprintk root=/dev/ram0 rw ramdisk_size=200000 initrd=0x43300000,100M saveenv run tftpLoadCMD bootm 0x42000000 - 0x43000000 - 0x43300000
  13. many thks i will try that!
  14. Thanks for replying, Do you know if i can just copy or dd my new uboot custumized? I have an mainline uboot-orange-pc-sunxi-ith-spl.bin (421.3ko) to write somewhere on sdcard...