Jump to content

alexy314

Members
  • Posts

    14
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

1141 profile views
  1. Thank you very much for the detailed explanation, I'm planning to build my own debian desktop image so it's good to know the mainline kernel is making great progress.
  2. Oh, initially I didn't think of that. The resolution change midway through bootup tricked me into thinking it is KMS. So the resolution is set manually in boot.cmd and script.fex? That clears up the mystery for me. Thanks!
  3. Thank you very much for the kind and timely response. Guess I'll look into http://docs.armbian.com/Developer-Guide_Build-Preparation/ first. Previously I've had some experiences with cross-compiling kernels and hacking some sunxi-based TV boxes. So I guess I would be able to make my own image. Thanks for explaining the situation and hopefully Armbian will get better and better. Regards, Aleksey
  4. Hello, My hardware is BananaPi and I would like to enable early KMS start. As per https://wiki.archlinux.org/index.php/Kernel_mode_setting#Early_KMS_start , I need to add "the display driver kernel module" to initramfs. With a normal x86 PC, the kernel module to add would be 'i915', 'radeon' or 'nouveau'. But I'm a bit confused with the sunxi hardware. Which module am I supposed to add? Thanks!
  5. The "desktop" image for Banana Pi used to be based on Debian Jessie, but now it has been replaced by a Ubuntu xenial based image. For some reason I need the debian image, but after checking https://dl.armbian.com/bananapi/archive/ I did not see the old images. Is it possible to have the old image now? Thanks! (I have been using that jessie desktop image for a long time until just now the SD card died...)
  6. Armbian ubuntu image has libvdpau-sunxi which enables HW-accel video playback. Although it has limited decode format support. See: http://linux-sunxi.org/Cedrus#Supported_codec_matrix
  7. Added CONFIG_USB_STORAGE=y and now USB Flash drive can be seen in /dev and mounted.
  8. OK. I've partially solved my own problem. I managed to find out the non-working usb port is [usbc0], which is linked to the OTG controller in the A20 SoC. So I added the following config and recompiled the kernel: Changed 0 to 1 at the line #37 of the drivers/usb/host/sw_hci_sunxi.h CONFIG_USB_SW_SUNXI_USB=y CONFIG_USB_SW_SUNXI_USB_MANAGER=y CONFIG_USB_SW_SUNXI_USB0_OTG=y CONFIG_USB_SW_SUNXI_USB_DEBUG=yThen use the [usbc0] config from ybkj_a20_jn.fex Then a fifth bus appeared in lsusb, and I'm able to see a USB flash drive attached to the port: # lsusb Bus 001 Device 002: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 002: ID 0bda:0179 Realtek Semiconductor Corp. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Now the only problem is the drive cannot be seen in /dev.http://paste.ubuntu.com/13966784/ Reference: https://github.com/linux-sunxi/linux-sunxi/issues/158 https://www.olimex.com/forum/index.php?topic=86.0 http://www.cubieforums.com/index.php?topic=672.10;wap2
  9. This device has been added to the wiki: http://linux-sunxi.org/10moons_LT390W
  10. I'm completely confused... My idea is: If I cannot enable the non-working port, try if I can disable the working port to find out which one of [usbc0] [usbc1] and [usbc2] is the currently working port. I tried altering usb_id_gpio in [usbc0], usb_drv_vbus_gpio in [usbc0] [usbc1] and [usbc2], but cannot disable the working port. So...I'm completely lost. Where is the 'key' config? Thanks!
  11. Hi all, I'm trying to get Debian on an A20 TV box. Now I've successfully got debian up and running, but only one of the two usb ports is working. There is +5V power on the non-working USB port, but plugged in device cannot be seen in lsusb, and nothing is logged in dmesg. My current script.fex: http://paste.ubuntu.com/13887802/ [usbc0] usb_used = 1 usb_port_type = 2 usb_detect_type = 1 usb_id_gpio = port:PH04<0><1><default><default> usb_det_vbus_gpio = "axp_ctrl" usb_drv_vbus_gpio = port:PB09<1><default><default><0> usb_restrict_gpio = port:PH00<1><0><default><0> usb_host_init_state = 0 usb_restric_flag = 0 usb_restric_voltage = 3550000 usb_restric_capacity = 5 [usbc1] usb_used = 1 usb_port_type = 1 usb_detect_type = 0 usb_drv_vbus_gpio = port:PH06<1><0><default><0> usb_restrict_gpio = usb_host_init_state = 1 usb_restric_flag = 0 [usbc2] usb_used = 1 usb_port_type = 1 usb_detect_type = 0 usb_drv_vbus_gpio = port:PH03<1><0><default><0> usb_restrict_gpio = usb_host_init_state = 1 usb_restric_flag = 0 [usb_wifi_para] usb_wifi_used = 1 usb_wifi_usbc_num = 2 Why usb_id_gpio is not configured in [usbc1] and [usbc2]? My guess of the USB schematics: A20 USB OTG - USB Port A20 USB Host 1 - USB Port A20 USB Host 2 - Realtek RTL8188etv Onboard WLAN I'm relatively new to this, and currently have little idea about how to find out the correct configuration. Any hints? Thanks in advance! And sorry for my bad English. ;-)
  12. I've swapped multiple cards with no avail... Although I can boot with lemaker official image, it's a bit unstable. Hangs from time to time. Power supply is fine with an 5V-3A adapter. I've contacted the vendor and prepare to send it back for repair. Anyways, thanks for your help!
  13. Thanks for reply! I read through that thread carefully, but banana pro does not have an hwclock. In fact I have been testing armbian and bananian with legacy kernel 3.4.10x all the time. Also tested bananian 15.04 - debian wheezy. The symptom is different, the green led becomes constant on. I don't have any HDMI display or serial cable so I'm stuck without any info :-( I'm considering the possibility of an faulty hardware. Maybe sending it back for repair. Thanks!
  14. Hi, Recently while I was using the banana pro, it locked itself up and I had to manually pull out the power. And after that, it cannot boot anymore with armbian or bananian, the red light turned on and thats it, no more activities. :-( But with lemaker's oficial image it can boot up normally. What could be the problem? Do I have a faulty hardware? Thanks!
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines