Jump to content

chiefwigms

Members
  • Posts

    27
  • Joined

  • Last visited

Recent Profile Visitors

2177 profile views
  1. These two patches: https://lore.kernel.org/linux-arm-kernel/20240401023347.3114484-1-festevam@gmail.com/ https://lore.kernel.org/linux-arm-kernel/20240401023347.3114484-2-festevam@gmail.com/ Should get in the 6.9 kernel - as well as changing ONBOARD_USB_HUB to ONBOAD_USB_DEV in the kernel config https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/usb/misc/onboard_usb_hub.c?h=v6.9-rc3&id=65e62b8a955adebee8634804d8f72599213c2774 is already in mainline but was committed after 6.6/6.7. I'll make a PR sometime this weekend and try to test with edge, as well as an updated defconfig - don't really have much time these days to do anything 🥲
  2. Okay - finally got around to testing (with more back and forth between Fabio). There were some updates to what he patched getting it working with kernel 6.9 (ONBOARD_USB_HUB to ONBOAD_USB_DEV), however since armbian is on 6.6/6.7, this patch was needed as well: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/usb/misc/onboard_usb_hub.c?h=v6.9-rc3&id=65e62b8a955adebee8634804d8f72599213c2774. Attached is the patch I used to build & run successfully w/ wifi & usb enabled (for current - i haven't tested edge). Make sure you do a kernel config and set ONBOARD_USB_HUB to y - seems like config/kernel/linux-imx6-current.config is significantly different than cache/sources/linux-kernel-worktree/6.6__imx6__armhf/arch/arm/configs/imx_v6_v7_defconfig (attached patch only modifies the kernel work tree) udoo_usb_fix.patch
  3. I come back here every few years to rebuild my UDOO home brew controller.. Seems like USB was disabled around kernel 5.19 (https://github.com/torvalds/linux/commit/8f2ca252ee1f848d3eec9ebbbf3c3881cb423322). Got in touch with Fabio and he gave a super fast response and put two patches in to review. https://lore.kernel.org/linux-arm-kernel/20240401023347.3114484-1-festevam@gmail.com/ https://lore.kernel.org/linux-arm-kernel/20240401023347.3114484-2-festevam@gmail.com/ I'm building it now - might get around to testing tonight, but will probably be a week or so.
  4. Got a chance to look at the docs - I see that only Allwinner DT has overlay support... wahh wahh You can close this
  5. I'm trying to upgrade from Armbian 5.32 (Xenial Next/4.4.76) and was hoping to enable 1 wire again on my Udoo. For that build, I had to add one wire modules to the kernel config, then edit the imx6qdl-udoo.dtsi to set the onewire status to okay (from disabled). In the dtsi, after udoo_ard: udoo_ard_manager it had: onewire@0 { /* example for pin 08 */ compatible = "w1-gpio"; pinctrl-names = "default"; pinctrl-0 = <&w1_gpio_pins>; status = "disabled"; /* "okay" to enable */ gpios = <&gpio1 21 0>; }; and in iomuxc, there was a section (in external_hog: hoggrp-2, MX6QDL_PAD_SD1_DAT3__GPIO1_IO21 0x80000000 // pin 08): w1_gpio_pins: w1-gpio@0 { fsl,pins = < MX6QDL_PAD_SD1_DAT3__GPIO1_IO21 0x80000000 /* example for pin 08 */ >; }; I tried adding the following to /boot/armbianEnv.txt overlays=w1-gpio param_w1_pin=21 param_w1_pin_int_pullup=0 with no luck. Do I need to modify the dtsi and rebuild, or is there an overlay that will add one wire? (the current dtsi has no entries for one wire)
  6. So after googling a bit - apparently there are build issues using /mnt vs ~ folders with WSL2 (~ is case sensitive, /mnt follows windows case-insensitive)... I was able to do a full compile out of ~ (not sure if you'd want to add WSL2 as a supported build environment).. Took 134 min on a i7-3610 (I think that was about the same in a VM a few years ago). Now to look at adding onewire again Only errors were on installing additional packages: [ .... ] Installing additional packages [ EXTERNAL_NEW ] Err:1 http://deb.debian.org/debian stable InRelease Could not connect to localhost:3142 (::1). - connect (111: Connection refused) Could not connect to localhost:3142 (127.0.0.1). - connect (111: Connection refused) Err:2 http://ports.ubuntu.com focal InRelease Could not connect to localhost:3142 (::1). - connect (111: Connection refused) Could not connect to localhost:3142 (127.0.0.1). - connect (111: Connection refused) Err:3 http://ports.ubuntu.com focal-security InRelease Unable to connect to localhost:3142: Err:4 http://ports.ubuntu.com focal-updates InRelease Unable to connect to localhost:3142: Err:5 http://ports.ubuntu.com focal-backports InRelease Unable to connect to localhost:3142: Err:6 http://apt.armbian.com focal InRelease Could not connect to localhost:3142 (::1). - connect (111: Connection refused) Could not connect to localhost:3142 (127.0.0.1). - connect (111: Connection refused) Err:7 http://deb.debian.org/debian stable-updates InRelease Unable to connect to localhost:3142: Err:8 http://deb.debian.org/debian-security stable/updates InRelease Unable to connect to localhost:3142: Reading package lists... W: Failed to fetch http://ports.ubuntu.com/dists/focal/InRelease Could not connect to localhost:3142 (::1). - connect (111: Connection refused) Could not connect to localhost:3142 (127.0.0.1). - connect (111: Connection refused) W: Failed to fetch http://ports.ubuntu.com/dists/focal-security/InRelease Unable to connect to localhost:3142: W: Failed to fetch http://ports.ubuntu.com/dists/focal-updates/InRelease Unable to connect to localhost:3142: W: Failed to fetch http://ports.ubuntu.com/dists/focal-backports/InRelease Unable to connect to localhost:3142: W: Failed to fetch http://apt.armbian.com/dists/focal/InRelease Could not connect to localhost:3142 (::1). - connect (111: Connection refused) Could not connect to localhost:3142 (127.0.0.1). - connect (111: Connection refused) W: Failed to fetch http://deb.debian.org/debian/dists/stable/InRelease Could not connect to localhost:3142 (::1). - connect (111: Connection refused) Could not connect to localhost:3142 (127.0.0.1). - connect (111: Connection refused) W: Failed to fetch http://deb.debian.org/debian/dists/stable-updates/InRelease Unable to connect to localhost:3142: W: Failed to fetch http://deb.debian.org/debian-security/dists/stable/updates/InRelease Unable to connect to localhost:3142: W: Some index files failed to download. They have been ignored, or old ones used instead. Reading package lists... Building dependency tree... Reading state information... mmc-utils is already the newest version (0+git20180327.b4fe0c8c-1). sunxi-tools is already the newest version (1.4.2+git20181114.6d598a-3). hostapd is already the newest version (3:2.9-102~armbian20.05.2+1). htop is already the newest version (2.2.0-3~armbian19.11.9+1). 0 upgraded, 0 newly installed, 0 to remove and 31 not upgraded. [ o.k. ] Calling image customization script [ customize-image.sh ]
  7. I'm on Windows 10 using WSL2 (Ubuntu 20.04) to build (running with sudo). I installed gpg & generated a public key (I chose DSA+RSA, 3072 Length, Never Expire), but get errors with verification: Probably not a supported build environment but I figured I'd see if there was a simple fix rather than spinning up another VM... Came back here because I randomly looked and saw that UDOO was no longer obsolete (THANKS!) CPU configuration: 392000 - 996000 with interactive Displaying message: Preparing host info Displaying message: Build host OS release focal info Displaying message: Syncing clock host info Displaying message: Checking for external GCC compilers info Displaying message: downloading using torrent network gcc-linaro-aarch64-none-elf-4.8-2013.11_linux.tar.xz gpg: keybox '/mnt/e/_Code/armbian/build/cache/.gpg/pubring.kbx' created gpg: /mnt/e/_Code/armbian/build/cache/.gpg/trustdb.gpg: trustdb created gpg: error reading key: No public key gpg: connecting dirmngr at '/mnt/e/_Code/armbian/build/cache/.gpg/S.dirmngr' failed: IPC connect call failed gpg: keyserver receive failed: No dirmngr gpg: error reading key: No public key gpg: connecting dirmngr at '/mnt/e/_Code/armbian/build/cache/.gpg/S.dirmngr' failed: IPC connect call failed gpg: keyserver receive failed: No dirmngr gpg: assuming signed data in '/mnt/e/_Code/armbian/build/cache/toolchains/gcc-linaro-aarch64-none-elf-4.8-2013.11_linux.tar.xz' gpg: Signature made Tue 19 Nov 2013 02:00:03 AM MST gpg: using RSA key D47877808F427EAF gpg: Can't check signature: No public key Displaying message: ERROR in function download_and_verify general.sh:1199 err Displaying message: verification failed err Displaying message: Process terminated info output.log torrent.log
  8. Yeah - didn't wanna have to rebuild Thanks for the commit though - i'm sure i'll be back in 5 months trying to rebuild a module
  9. If i run /lib/systemd/systemd-modules-load, i get: Failed to find module 'lp' Failed to find module 'ppdev' Failed to find module 'parport_pc' In cat /etc/modules-load.d/cups-filters.conf # Parallel printer driver modules loading for cups # LOAD_LP_MODULE was 'yes' in /etc/default/cups lp ppdev parport_pc Commenting out those three seemed to fix it. Don't believe I need CUPS
  10. Finally got around to messing with it... I compiled fine, but from the build and install log: dpkg-genchanges: warning: unknown substitution variable ${kernel:debarch} dpkg-genchanges: warning: package linux-libc-dev-next-udoo in control file but not in files list dpkg: dependency problems prevent configuration of armbian-config: armbian-config depends on sunxi-tools; however: Package sunxi-tools is not installed. dpkg: error processing package armbian-config (--install): dependency problems - leaving unconfigured Errors were encountered while processing: armbian-config dpkg-deb: building package 'armbian-firmware' in 'armbian-firmware_5.46_all.deb'. dpkg-deb: building package 'armbian-firmware-full' in 'armbian-firmware-full_5.46_all.deb'. (Reading database ... 99053 files and directories currently installed.) Preparing to unpack .../armbian-firmware_5.46_all.deb ... Unpacking armbian-firmware (5.46) over (5.45) ... Setting up armbian-firmware (5.46) ... Selecting previously unselected package armbian-tools-xenial. (Reading database ... 99053 files and directories currently installed.) Preparing to unpack .../armbian-tools-xenial_5.46_armhf.deb ... Unpacking armbian-tools-xenial (5.46) ... Setting up armbian-tools-xenial (5.46) ... Processing triggers for systemd (229-4ubuntu21.2) ... Processing triggers for ureadahead (0.100.0-19) ... After I flash the image, on subsequent boots, i get: [FAILED] Failed to start Load Kernel Modules. See 'systemctl status systemd-modules-load.service' for details. root@udoo:~# systemctl status systemd-modules-load.service ? systemd-modules-load.service - Load Kernel Modules Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static; vendor preset: enabled) Drop-In: /lib/systemd/system/systemd-modules-load.service.d +-10-timeout.conf Active: failed (Result: exit-code) since Sun 2018-06-10 01:15:40 UTC; 4min 9s ago Docs: man:systemd-modules-load.service(8) man:modules-load.d(5) Main PID: 297 (code=exited, status=1/FAILURE) Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable. Here's the output of armbianmonitor -u http://ix.io/1cS2 I guess its EOS though The last working image I have was w/ kernel 4.4.76.. anyway to specify that in the checkout/build just to build a kernel module ?
  11. Thanks! For whatever reason, my VM keeps dropping the connection and I can't finish the clone. Hopefully I'll get a build going tonight
  12. Its been a while since I built a UDOO image (need another kernel module), when I ran compile.sh, it pulled new source and told me to clone a new build directory. In the process of cloning, however with UDOO being EOS, is it still possible to build the legacy kernel/image with current sources?
  13. I'm running custom built images for (xenial-next), and ArduinoIDE 1.5.4 (the newer IDE would be easier to run if Udoo updated the board package json to have arm support). This may be old, but I needed the latest java jdk, a custom Arduino 1.5.4HFP from Udoo & a custom bossac for udoo (forget where I got it from, but its attached) To get it running, i did : #Get latest jdk (Linux ARM 32 Hard Float ABI) @ http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html mv jdk-8u131-linux-arm32-vfp-hflt.tar.gz /usr/lib/jvm/ cd /usr/lib/jvm/ tar xvf jdk-8u131-linux-arm32-vfp-hflt.tar.gz #Update Java update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.8.0_131/bin/java" 1 update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.8.0_131/bin/javac" 1 update-alternatives --config java update-alternatives --config javac #symlink libmpc cd /usr/lib/arm-linux-gnueabihf ln -s libmpc.so.3 libmpc.so.2 #extract Arduino IDE 1.5.4 @ http://udoo.org/download/files/arduino-1.5.4-hfp-for_UDOO.tar.gz cd / tar xvf arduino-1.5.4-hfp-for_UDOO.tar.gz #Overwrite /arduino-1.5.4/hardware/tools/bossac with attached bossac-udoo bossac-udoo
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines