Jump to content

How to install armbian in h618?


alienxz77b

Recommended Posts

Armbian & Khadas are rewarding contributors

Belena Etcher Uncompresses the image then writes image then verifies image.

I switched to just clicking on compressed image and use linux default restore image using Disks.

I now try using extracted image and usb image writer.  this does not work

I am using Linux Mint but can also boot win10.

I check out rufus too. i also have many other on my win10 drive.

thanks for your help

update:

using Rufus to burn image to sdcard gives same result black screen on tv and led clock blank

Do i need press any buttons inside box ? 

what should i expect to see if it works ?

 

Checking my ram spec it is DDR3L so will need boot loader "board-h616.tanix_tx6s_lpddr3"

RAM: K4B4G0446D-BYK0 DDR3L-1600 (11-11-11)

https://image.semiconductor.samsung.com/resources/data-sheet/DS_K4B4G0846D_BY_M_Rev1_3-0.pdf

 

I confident my SDCard image is ok and not the issue

I need to learn how to change boot loader

 

 

Edited by firepower
Link to comment
Share on other sites

From what Im read and my Exp no need to press any button..its black because it correctly boot from sdcard but stuck. If it work sure display boot messages on screen then ask for new root password. You need to install serial console cable and give boot error that show there (Im using putty with serial) like my post (I include my sample b4) then from there if like mine its DRAM setting that mismatch.. then need original dtb or dts to seek info there, read this forum from Im ask. Yours may be easier as its original from Tanix where mine is clone

 

Link to comment
Share on other sites

For My own problem with Openvfd I already seek further:

For Newer Kernel (v6.7 especially,forgot alr from which version seems v5) need to substract 1 from arthur config gpio_clk and gpio.dat

For Tanix H6 with fd650 controller like mine need add dtb mod for I2C, still dunno my box needed anot later try2

The one capable to convert GPIO setting from android to vfd.conf is on coreelec with nickname the_coolest but he didn't give the clue how to count it (I only knew sometimes its just simple hex to dec convert)

Still try to study more as I have time

Edited by L Jumadi
detailed explanation
Link to comment
Share on other sites

Srry Im not expert on this, seems DRAM config ok but mmc or sdcard type wrong. As I know using big card sometimes not compatible.. Im using 8 or 16GB card only

Edit: Srry wrong read, but you need to include serial on sun50i-h616-tanix-tx6s-axp313.dtb that error , android boot is for reference only :)

Edited by L Jumadi
Link to comment
Share on other sites

Good Morning everyone.
im still making some tests with the vontar h618 4g 32g in the sdcard.
trying to compile "linux_openvfd" getting this error:
 

Quote

root@transpeed-8k618-t:/linux_openvfd/driver# make -j 4
make -C /lib/modules/`uname -r`/build M=/linux_openvfd/driver ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- modules
make[1]: Entering directory '/usr/src/linux-headers-6.10.9-edge-sunxi64'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: gcc (Debian 12.2.0-14) 12.2.0
  You are using:           aarch64-linux-gnu-gcc (Debian 12.2.0-14) 12.2.0
  CC [M]  /linux_openvfd/driver/openvfd_drv.o
/linux_openvfd/driver/openvfd_drv.c:43:7: warning: "CONFIG_AMLOGIC_LEGACY_EARLY_SUSPEND" is not defined, evaluates to 0 [-Wundef]
   43 | #elif CONFIG_AMLOGIC_LEGACY_EARLY_SUSPEND
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/linux_openvfd/driver/openvfd_drv.c: In function ‘register_openvfd_driver’:
/linux_openvfd/driver/openvfd_drv.c:399:75: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
  399 |                 pr_dbg("%s: Succeeded to add openvfd module \n", __func__);
      |                                                                           ^
/linux_openvfd/driver/openvfd_drv.c: In function ‘gpiochip_find’:
/linux_openvfd/driver/openvfd_drv.c:628:39: error: passing argument 2 of ‘gpio_device_find’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  628 |         gdev = gpio_device_find(data, match);
      |                                       ^~~~~
      |                                       |
      |                                       int (*)(struct gpio_chip *, void *)
In file included from ./include/linux/of_gpio.h:14,
                 from /linux_openvfd/driver/openvfd_drv.c:36:
./include/linux/gpio/driver.h:645:39: note: expected ‘int (*)(struct gpio_chip *, const void *)’ but argument is of type ‘int (*)(struct gpio_chip *, void *)’
  645 |                                 int (*match)(struct gpio_chip *gc,
      |                                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  646 |                                              const void *data));
      |                                              ~~~~~~~~~~~~~~~~~
/linux_openvfd/driver/openvfd_drv.c:630:26: error: invalid use of undefined type ‘struct gpio_device’
  630 |                 gc = gdev->chip;
      |                          ^~
/linux_openvfd/driver/openvfd_drv.c: At top level:
/linux_openvfd/driver/openvfd_drv.c:668:5: warning: no previous prototype for ‘evaluate_pin’ [-Wmissing-prototypes]
  668 | int evaluate_pin(const char *name, const unsigned int *vfd_arg, struct vfd_pin *pin, unsigned char enable_skip_evaluation)
      |     ^~~~~~~~~~~~
/linux_openvfd/driver/openvfd_drv.c:751:6: warning: no previous prototype for ‘get_pin_from_dt’ [-Wmissing-prototypes]
  751 | void get_pin_from_dt(const char *name, const struct platform_device *pdev, struct vfd_pin *pin)
      |      ^~~~~~~~~~~~~~~
/linux_openvfd/driver/openvfd_drv.c:767:5: warning: no previous prototype for ‘request_pin’ [-Wmissing-prototypes]
  767 | int request_pin(const char *name, struct vfd_pin *pin, unsigned char enable_skip)
      |     ^~~~~~~~~~~
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:244: /linux_openvfd/driver/openvfd_drv.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.10.9-edge-sunxi64/Makefile:1936: /linux_openvfd/driver] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.10.9-edge-sunxi64'
make: *** [Makefile:5: modules] Error 2
root@transpeed-8k618-t:/linux_openvfd/driver# dmesg | grep gpio
[    1.646701] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.655086] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
 

 

@L Jumadi maybe this link is useful to you https://github.com/arthur-liberman/linux_openvfd/issues/14
Im already stuck but maybe you make progress. 

Edited by MMorales
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines