• Posts

  • Joined

  • Last visited

Profile Information

  • Gender
  • Location
  • Interests
    robotics, multimedia, linux, cubietrucks

damien78's Achievements

  1. Hi, I updated my cubietruck jessie to 5.23. update successful but no boot on kernel . I boot on sd card and mount nand . no uImage but an zImage. I use mkimage in order to generate uImage and it work. kernel packaging must be corrected.
  2. Ok I tested. bluethoot ok. but the function I want to use, loudspeaker emulator, does not work properly. the sound is constantly cut, choppy. it's not an armbian problem...
  3. Hi, I updated my system to version 5.20. This version is supposed to solve the problem of bluetooth.But this is not the case. Can you help me? thanks. ps : dmesg | grep ap6210 : 8.054958] [ap6210] select wifi ap6210 [ 8.058372] [ap6210] Initializing ap6210. [ 8.063627] [ap6210] platform device registered successfully. [ 8.067651] [ap6210] Using ap6210 configuration. [ 8.288340] [ap6210] WLAN placed in POWER ON [ 8.559560] [ap6210] Linux Kernel SDIO/MMC Driver [ 8.582485] [ap6210] Broadcom Dongle Host Driver: register interface [wlan0] MAC: 00:90:4c:11:22:33 [ 8.947049] [ap6210] WLAN placed in RESET [ 10.468573] ap6211: exports duplicate symbol bcmsdh_probe (owned by ap6210) [ 10.487291] ap6211: exports duplicate symbol bcmsdh_probe (owned by ap6210) [ 10.792652] [ap6210] Using ap6210 configuration. [ 32.955882] [ap6210] dhd_check_hang: Event HANG send up due to re=0 te=0 e=-36 s=0 [ 32.959999] [ap6210] In : chip crash eventing [ 32.975217] Modules linked in: disp_ump mali_drm drm mali ump bnep cpufreq_userspace btusb ap6210 sunxi_ir hidp rfcomm hci_uart bluetooth sg [last unloaded: scsi_wait_scan] [ 33.024617] [<c0706ea8>] (cfg80211_disconnected+0xc0/0xc4) from [<bf0da1ac>] (wl_cfg80211_hang+0x44/0xb4 [ap6210]) [ 33.034502] [<bf0da1ac>] (wl_cfg80211_hang+0x44/0xb4 [ap6210]) from [<c004cef0>] (process_one_work+0x138/0x3cc) [ 33.121388] [ap6210] reg_notifier for intiator:0 not supported
  4. I have build and rapidly test on my cubietrucks it's ok. I must debug sound format mismatch on spdif ( basically remove s32le and add iec958) I add iec958 format, but it has not had any effect. I think it lacks a specific configuration file in alsa but it's too complicated.
  5. Hi, I solved this issue. You must apply ( manually ) this part of patch in order to be able to pause during playback with sound over spdif. @@ -247,13 +296,20 @@ static int sunxi_pcm_trigger(struct snd_pcm_substream *substream, int cmd) case SNDRV_PCM_TRIGGER_START: case SNDRV_PCM_TRIGGER_RESUME: case SNDRV_PCM_TRIGGER_PAUSE_RELEASE: + /* enqueue dma buffers */ + sunxi_pcm_enqueue(substream); sunxi_dma_start(prtd->params); + ret =0; break; case SNDRV_PCM_TRIGGER_SUSPEND: case SNDRV_PCM_TRIGGER_STOP: case SNDRV_PCM_TRIGGER_PAUSE_PUSH: sunxi_dma_stop(prtd->params); + prtd->dma_loaded = 0; + ret = 0; break; default: @@ -262,7 +318,7 @@ static int sunxi_pcm_trigger(struct snd_pcm_substream *substream, int cmd) } spin_unlock(&prtd->lock); - return 0; + return ret; } I copied this from the HDMI driver that works fine. first line : push data in dma buffer second line : flush dma the others lines are non functional.they simply allow to return errors.
  6. Hi, I compiled with one of my patch and it works. Can you tell me how you manage to debug the kernel? you use the connection ttl series with kgdb? thanks
  7. Hi, I have tested this issue : https://github.com/linux-sunxi/linux-sunxi/issues/244 apparently it is not resolved. kernel panic log :
  8. Hi, There is no error during installation. my boot partition : bin boot.axf boot.cmd boot.ini boot.scr config-3.4.112-sun7i-gd47d367-dirty initrd.img-3.4.112-sun7i-gd47d367-dirty linux magic.bin script.bin script.bin.old script.old System.map-3.4.112-sun7i-gd47d367-dirty uEnv.txt uImage uImage-3.4.108 uImage-3.4.110 uImage-3.4.111-ir+ uImage-cma uImage-ir upgrade.log I installed the packages: linux-headers-sun7i_5.14_armhf.deb linux-image-sun7i_5.14_armhf.deb linux-image-sun7i-dbg_5.14_armhf.deb linux-u-boot-cubietruck_5.14_armhf.deb with "dpkg -i" cat boot.cmd setenv bootargs console=tty1 root=/dev/sda1 rootwait rootfstype=ext4 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 enforcing=0 loglevel=1 #-------------------------------------------------------------------------------------------------------------------------------- # Boot loader script to boot with different boot methods for old and new kernel #-------------------------------------------------------------------------------------------------------------------------------- if ext4load mmc 0 0x00000000 /boot/.next || fatload mmc 0 0x00000000 .next then # sunxi mainline kernel #-------------------------------------------------------------------------------------------------------------------------------- ext4load mmc 0 0x49000000 /boot/dtb/${fdtfile} || fatload mmc 0 0x49000000 /dtb/${fdtfile} ext4load mmc 0 0x46000000 /boot/zImage || fatload mmc 0 0x46000000 zImage env set fdt_high ffffffff bootz 0x46000000 - 0x49000000 #-------------------------------------------------------------------------------------------------------------------------------- else # sunxi android kernel #-------------------------------------------------------------------------------------------------------------------------------- ext4load mmc 0 0x43000000 /boot/script.bin || fatload mmc 0 0x43000000 script.bin ext4load mmc 0 0x48000000 /boot/zImage || fatload mmc 0 0x48000000 zImage bootz 0x48000000 #-------------------------------------------------------------------------------------------------------------------------------- fi # Recompile with: # mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr I boot if I replace the uImage installed by the package with other uImage- *
  9. Hi, I have compile your kernel with my patch successfully. I have installed generated package but card not boot from nand kernel stop after 6s and no message. Can you help me? I must execute part of nand-sata-install? thank you
  10. Hi, You can change your screen resolution by the kernel command line.but it surprised me that the problem comes from this. have you tested another video player?
  11. Hi, sorry for my english! I use tiny media manager because it do the same some things of KODI (retrieving some information of media such as fanart, trailer , etc( not a jacket but a dvd cover) but it works out of the box with armbian. tiny media manager is able to launch video player such as mpv or mplayer but is not suitable for use with a remote. HD video playback and HD audio (DTS,ac3 pass-trougth) is quite difficult with the CPU Allwinner and those despite the incredible work of developers. the idea of my post is to constitute a team in order to create or find as suitable solution for workaround the very difficult work to port kodi on allwinner. there is no question of remake kodi but only the essential function: Display wholesale video present on the disk and launch an external player and not internally in kodi. control this with a remote
  12. Hi, The results seem good. But you can test with 1920x1080p24 because video is rarely in 60 fps and blueray are in 24 or 25 fps. You can test with mplayer which also support vdpau.
  13. Hi all, Kodi is a beautiful software, but it's very complicated. for my personal use I'd settle for a small program that shows only the jacket in single screen and which launches mpv or mplayer. and to recover jacket tiny media manager is very good things,same if it is in java
  14. Your user must be part of the group video normally is the case but it's worth checking. This command will list the groups to which the user belongs : groups orangepi you can post your kernel command line with: cat /proc/cmdline
  15. Hi, Your kernel work is really great! I will abandon the dan-and fork in order to contribute effectively. my change its simple and not dependent on the work's dan-and. My goal is to have a system of emmision effective receipt for any type of infrared remote control. For that I have to review the management of the PWM. I hoped successfully operate the PWM as the mainline.