Jump to content

Reddwarf

Members
  • Posts

    310
  • Joined

  • Last visited

Posts posted by Reddwarf

  1. 16 hours ago, Reddwarf said:

    I'm running Armbian_20.09_Arm-64_focal_current_5.8.5_desktop  on a Mini M8S, wifi works fine and connecte to internet. Now, I want to share the internet connection with a STB over wired internet. I have tried the simple method by setting the properties of eth0 to "shared with other..." but that does not work. The STB needs to get an ip-address so I guess I need a dhcp server as well. I have installed it and tried to configure it according to the method described here: https://linuxconfig.org/what-is-dhcp-and-how-to-configure-dhcp-server-in-linux but I get an error when I try to start it, and I can't figure out exactly what is wrong. Can someone help?

    bump...

  2. I'm running Armbian_20.09_Arm-64_focal_current_5.8.5_desktop  on a Mini M8S, wifi works fine and connecte to internet. Now, I want to share the internet connection with a STB over wired internet. I have tried the simple method by setting the properties of eth0 to "shared with other..." but that does not work. The STB needs to get an ip-address so I guess I need a dhcp server as well. I have installed it and tried to configure it according to the method described here: https://linuxconfig.org/what-is-dhcp-and-how-to-configure-dhcp-server-in-linux but I get an error when I try to start it, and I can't figure out exactly what is wrong. Can someone help?

  3. 18 hours ago, hexdump said:

    @Reddwarf please keep on the subjects of the threads - this one here is about rk322x and not rk3328 ... to me it looks like you are trying to compile arm code on an intel machine maybe - for that you'll need to cross compile or compile native on an arm machine ... followup if needed please in a separate thread

     

    best wishes - hexdump

    Started a new topic about building problems on ARM platform, can you please help?

  4. @hexdump Trying to compile your uboot from github I get this error:

     

    
    arstein@MM8S:~/u-boot-mainline-rk3328-no-sd-boot$ patch -p1 < /compile/doc/u-boot-misc/misc.rk3328-no-sd-boot/rk3328-h96max-no-sd-boot.patch
    bash: /compile/doc/u-boot-misc/misc.rk3328-no-sd-boot/rk3328-h96max-no-sd-boot.patch: No such file or directory
    karstein@MM8S:~/u-boot-mainline-rk3328-no-sd-boot$ ls
    api       cmd        disk     env       Kbuild    MAINTAINERS  README
    arch      common     doc      examples  Kconfig   Makefile     scripts
    bl31.elf  config.mk  drivers  fs        lib       net          test
    board     configs    dts      include   Licenses  post         tools
    karstein@MM8S:~/u-boot-mainline-rk3328-no-sd-boot$
    
    

    Am I missing some files or what?

  5. On 8/18/2020 at 11:52 AM, hexdump said:

    you might have a look at this, but you are on your own then (no warranties or support from my side) - for me it worked to get my h96max h2 which cannot boot from sd card too working by installing an adjusted u-boot - https://github.com/hexdump0815/u-boot-misc/blob/master/readme.rk3328-no-sd-boot

    Been trying to build this SW on a Linux Mint laptop, when I get to "make PLAT=rk3328 DEBUG=1 bl31" the result is:

     

      CC      bl31/bl31_context_mgmt.c
    gcc: error: unrecognized command line option ‘-mstrict-align’; did you mean ‘-Wstrict-aliasing’?
    make: *** [Makefile:1070: build/rk3328/debug/bl31/bl31_context_mgmt.o] Error 1

     

    Can somebody more experienced than me please give me a hint on what to do about it?

  6. 20 minutes ago, jock said:

    My hypothesis is that you are in loader mode, so you can upload a firmware update but can't upgrade your loader.

    To be able to upgrade the loader also you must be in maskrom mode. To enter maskrom mode you can either gate the clock of the eMMC (via the screwdriver trick of the unbrick section) or run rkdeveloptool rd 3 while in loader mode.

    Once you're there, first you have to "download" the loader binary on the soc (that's called usbplug in this stage) to initialize DDR memory and load the basic services of the SoC, and then you can finally upgrade the loader itself (see the rkdeveloptool db and ul commands on the first post on how to restore backups).

     

    You may take a look to this repository for binaries for rk3328

    Thanks, how can I determine what binary I should use for updating the loader? If I run Cpu-z on the original Android is says that the cpu is a 3028, what is correct?

  7. 4 minutes ago, jock said:

    @Reddwarf Searching that box through google, I find an RK3328 device. Unfortunately I have no experience with rk3328, but I guess the general rules about rockchip socs probably applies to this one too. You may profit from the first post, specifically from the unbrick section and the rkdeveloptool instructions to make and restore backups/images.

    You probably need a male-to-male USB cable to do such low-level tricks, but if you grab the original Android image you can probably be able to restore at least the original functionality.

    Yes I have the original Android image and can flash it with the factory tool. But I want to run Armbian and the problem is that the box does not boot from sdcard or usb with the factory bootloader. I'v tried to flash a new bootloader with the rkdeveloptool but the response is "this operation is not supported". If I flash Armbian in the box it does not boot. However, the factory tool is capable of flashing bootloader (I can see it does that while flashing Android), so if there is a way to replace the bootloader aection in the Android image I might be on dry ground.

  8. 1 minute ago, balbes150 said:

    I don't do this kind of equipment, and I have no idea what's wrong with it.

     

    The GPS receiver is not the problem, it work just fine under Linux Mint, transmits ascii data at 9600baud. But I'm struggeling to find what port it is connected to in /dev. As I said, lsusb tells me that it is connected to bus02 - device02. Is there not support for serial usb devices in Armbian? (since there is no ttyUSBxx in /dev)?

  9. On 8/11/2020 at 12:15 PM, Reddwarf said:

    Well I'v read the topic and tried booting exactly as described. I presume the usb stick containing Armbian should be in USB1, The box just boots android and nothing interesting happens. I there a way to replace the uboot in the box with the one on the sdcard? Perhaps using dd command under Linux anv connect the box with reset button pressed?

    No???

  10. 10 minutes ago, balbes150 said:

    Well I'v read the topic and tried booting exactly as described. I presume the usb stick containing Armbian should be in USB1, The box just boots android and nothing interesting happens. I there a way to replace the uboot in the box with the one on the sdcard? Perhaps using dd command under Linux anv connect the box with reset button pressed?

  11. 21 minutes ago, balbes150 said:

    This is a" bad " model, it requires a lot of extra steps to run.

    Use the combined launch method (SD+USB), infa, how to do it is in this topic and in the topic about rk3328.

     

    @balbes150 I can't seem to find the topic about RK3328, I have read the first post in this forum and have tried the SD+USB method but the box does not boot from SD anyway. Is there a way to replace the uboot in the box with yours?

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines