Jump to content

chiefwigms

Members
  • Posts

    27
  • Joined

  • Last visited

Everything posted by chiefwigms

  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
  14. So I must be doing something wrong. Just did a pull on your repo - attached are my changes: compile.sh 16,17c16,17 < KERNEL_ONLY="" # leave empty to select each time, set to "yes" or "no" to skip dialog prompt < KERNEL_CONFIGURE="no" # change provided kernel configuration --- > KERNEL_ONLY="yes" # leave empty to select each time, set to "yes" or "no" to skip dialog prompt > KERNEL_CONFIGURE="yes" # change provided kernel configuration 27c27 < KERNEL_KEEP_CONFIG="no" # do not overwrite kernel config before compilation --- > KERNEL_KEEP_CONFIG="yes" # do not overwrite kernel config before compilation 31c31 < FORCE_CHECKOUT="yes" # ignore manual changes to source --- > FORCE_CHECKOUT="no" # ignore manual changes to source kernel config diffs (from your repo): 3c3 < # Linux/arm 4.4.6 Kernel Configuration --- > # Linux/arm 4.4.0 Kernel Configuration 2055c2055,2082 < # CONFIG_W1 is not set --- > CONFIG_W1=y > CONFIG_W1_CON=y > > # > # 1-wire Bus Masters > # > # CONFIG_W1_MASTER_DS2490 is not set > # CONFIG_W1_MASTER_DS2482 is not set > CONFIG_W1_MASTER_MXC=y > # CONFIG_W1_MASTER_DS1WM is not set > CONFIG_W1_MASTER_GPIO=y > > # > # 1-wire Slaves > # > CONFIG_W1_SLAVE_THERM=y > # CONFIG_W1_SLAVE_SMEM is not set > # CONFIG_W1_SLAVE_DS2408 is not set > # CONFIG_W1_SLAVE_DS2413 is not set > # CONFIG_W1_SLAVE_DS2406 is not set > # CONFIG_W1_SLAVE_DS2423 is not set > # CONFIG_W1_SLAVE_DS2431 is not set > # CONFIG_W1_SLAVE_DS2433 is not set > # CONFIG_W1_SLAVE_DS2760 is not set > # CONFIG_W1_SLAVE_DS2780 is not set > # CONFIG_W1_SLAVE_DS2781 is not set > # CONFIG_W1_SLAVE_DS28E04 is not set > # CONFIG_W1_SLAVE_BQ27000 is not set 4175a4203 > # CONFIG_DEBUG_UART_BCM63XX is not set git diff from sources/linux-udoo-next/4.4-5.0.11.p7.3 (this is the only change for the whole tree): diff --git a/arch/arm/boot/dts/imx6qdl-udoo.dtsi b/arch/arm/boot/dts/imx6qdl-udoo.dtsi old mode 100644 new mode 100755 index 502e741..7ad9abe --- a/arch/arm/boot/dts/imx6qdl-udoo.dtsi +++ b/arch/arm/boot/dts/imx6qdl-udoo.dtsi @@ -231,7 +231,7 @@ compatible = "w1-gpio"; pinctrl-names = "default"; pinctrl-0 = <&w1_gpio_pins>; - status = "disabled"; + status = "okay"; gpios = <&gpio1 21 0>; }; }; I run my compile.sh, and install all the generated debs: linux-firmware-image-4.4.0-udoo_5.26_armhf.deb linux-headers-4.4.0-udoo_5.26_armhf.deb linux-image-4.4.0-udoo_5.26_armhf.deb linux-libc-dev_5.26_armhf.deb linux-u-boot-next-udoo_5.26_armhf.deb via "dpkg -i *.deb" - so I assume that it will use your tools & install your kernel patches. After the install - goes straight to trying to boot off net
  15. Good uboot (prior to updating custom kernel): baudrate=115200 board_rev=MX6Q boot_a_script=ext2load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${prefix}${script} || fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${prefix}${script} boot_fdt=try boot_prefixes=/ /boot/ bootcmd=mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscript; then run bootscript; fi; udooinit; if run loadimage; then run mmcboot; else run netboot; fi; else run netboot; fi bootdelay=3 bootscript=echo Running bootscript from mmc ...; source console=ttymxc1 ethact=FEC ethaddr=00:c0:08:88:10:2c ethprime=FEC fdt_addr=0x18000000 fdt_file=undefined fdt_high=0xffffffff image=zImage initrd_high=0xffffffff ip_dyn=yes loadaddr=0x12000000 loadbootscript=run scan_dev_for_boot; loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file} loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image} mmcargs=setenv bootargs console=${console},${baudrate} ${video} ${memory} root=${mmcroot} rootfstype=${mmcrootfstype} ahci_imx.hotplug=1 mmcboot=echo Booting from mmc ...; run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi; mmcdev=0 mmcpart=1 mmcroot=/dev/mmcblk0p2 rootwait rw mmcrootfstype=ext4 netargs=setenv bootargs console=${console},${baudrate} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp netboot=echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${image}; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if ${get_cmd} ${fdt_addr} ${fdt_file}; then bootz ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi; scan_dev_for_boot=echo Scanning mmc ; for prefix in ${boot_prefixes}; do run scan_dev_for_scripts; done scan_dev_for_scripts=if test -e ${mmcdev}:${mmcpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; else echo Checking here ${prefix} ... not found; fi; script=boot.scr splashpos=m,m update_sd_firmware=if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; if mmc dev ${mmcdev}; then if ${get_cmd} ${update_sd_firmware_filename}; then setexpr fw_sz ${filesize} / 0x200; setexpr fw_sz ${fw_sz} + 1; mmc write ${loadaddr} 0x2 ${fw_sz}; fi; fi update_sd_firmware_filename=u-boot.imx Environment size: 2528/8188 bytes Bad uboot (after updating custom kernel): baudrate=115200 board_rev=MX6Q boot_fdt=try bootcmd=mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscript; then run bootscript; fi; udooinit; if run loadimage; then run mmcboot; else run netboot; fi; else run netboot; fi bootdelay=3 bootscript=echo Running bootscript from mmc ...; env import -t ${loadaddr} ${filesize}; console=ttymxc1 ethact=FEC ethaddr=00:c0:08:88:10:2c ethprime=FEC fdt_addr=0x18000000 fdt_file=undefined fdt_high=0xffffffff image=zImage initrd_high=0xffffffff ip_dyn=yes loadaddr=0x12000000 loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script}; loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file} loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image} mmcargs=setenv bootargs console=${console},${baudrate} ${video} ${memory} root=${mmcroot} rootfstype=${mmcrootfstype} ahci_imx.hotplug=1 mmcboot=echo Booting from mmc ...; run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi; mmcdev=0 mmcpart=1 mmcroot=/dev/mmcblk0p2 rootwait rw mmcrootfstype=ext4 netargs=setenv bootargs console=${console},${baudrate} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp netboot=echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${image}; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if ${get_cmd} ${fdt_addr} ${fdt_file}; then bootz ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi; script=uEnv.txt splashpos=m,m update_sd_firmware=if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; if mmc dev ${mmcdev}; then if ${get_cmd} ${update_sd_firmware_filename}; then setexpr fw_sz ${filesize} / 0x200; setexpr fw_sz ${fw_sz} + 1; mmc write ${loadaddr} 0x2 ${fw_sz}; fi; fi update_sd_firmware_filename=u-boot.imx Environment size: 2116/8188 bytes I did a diff and updated all the variables to match the good uboot, and the new kernel loaded, however I don't see one wire.. I'll mess around more today
  16. Also - I updated just the custom kernel and firmware, and the board booted, so I'm guessing it's something with uboot
  17. So I did this: sed -i "s/apt/beta/" /etc/apt/sources.list.d/armbian.list apt-get update apt-get upgrade and it still boots ("deb http://beta.armbian.com $(lsb_release -cs) main utils $(lsb_release -cs)-desktop" didn't work on xenial)
  18. Here's the first boot I captured.. I'm going to try again, without updating uboot, just linux-image-4.4.0-udoo_5.25_armhf.deb and linux-firmware-image-4.4.0-udoo_5.25_armhf.deb U-Boot SPL 2015.10-armbian (Feb 02 2017 - 03:15:42) U-Boot 2015.10-armbian (Feb 02 2017 - 03:15:42 +0100) CPU: Freescale i.MX6Q rev1.2 at 792 MHz Reset cause: POR Board: UDOO Quad DRAM: 1 GiB MMC: FSL_SDHC: 0 *** Warning - bad CRC, using default environment auto-detected panel HDMI Display: HDMI (1280x720) In: serial Out: serial Err: serial Net: using phy at 6 FEC [PRIME] Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc Found U-Boot script /boot.scr ** File not found /boot.scr ** ** Unrecognized filesystem type ** Found U-Boot script /boot/boot.scr 1757 bytes read in 109 ms (15.6 KiB/s) Running bootscript from mmc ... ## Executing script at 12000000 Booting from SD ** File not found /boot/armbianEnv.txt ** ** Unrecognized filesystem type ** 4764730 bytes read in 379 ms (12 MiB/s) 6144136 bytes read in 497 ms (11.8 MiB/s) 0 bytes read in 98 ms (0 Bytes/s) 37690 bytes read in 564 ms (64.5 KiB/s) Kernel image @ 0x12000000 [ 0x000000 - 0x5dc088 ] ## Loading init Ramdisk from Legacy Image at 14800000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 4764666 Bytes = 4.5 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 18000000 Booting using the fdt blob at 0x18000000 Using Device Tree in place at 18000000, end 1800c339 Starting kernel ... Loading, please wait... starting version 229 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems done. Begin: Will now check root file system ... fsck from util-linux 2.27.1 [/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 /dev/mmcblk0p1: clean, 147301/178816 files, 526555/713984 blocks done. done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. Welcome to Ubuntu 16.04.1 LTS! [ OK ] Listening on udev Control Socket. [ OK ] Set up automount Arbitrary Executab...ats File System Automount Point. [ OK ] Listening on /dev/initctl Compatibility Named Pipe. [ OK ] Reached target Remote File Systems (Pre). [ OK ] Created slice System Slice. [ OK ] Created slice system-serial\x2dgetty.slice. [ OK ] Reached target Swap. [ OK ] Listening on Journal Socket. Starting Restore / save the current clock... [ OK ] Listening on Syslog Socket. [ OK ] Started Forward Password Requests to Wall Directory Watch. [ OK ] Created slice User and Session Slice. Starting Create list of required st... nodes for the current kernel... [ OK ] Reached target Encrypted Volumes. [ OK ] Started Dispatch Password Requests to Console Directory Watch. [ OK ] Listening on fsck to fsckd communication Socket. [ OK ] Listening on udev Kernel Socket. Mounting POSIX Message Queue File System... [ OK ] Reached target Remote File Systems. [ OK ] Reached target User and Group Name Lookups. Starting Nameserver information manager... Starting Load Kernel Modules... Starting Set console keymap... [ OK ] Reached target Slices. Starting Remount Root and Kernel File Systems... [ OK ] Listening on Journal Socket (/dev/log). [ OK ] Mounted POSIX Message Queue File System. [ OK ] Started Restore / save the current clock. [ OK ] Started Create list of required sta...ce nodes for the current kernel. [ OK ] Started Load Kernel Modules. [ OK ] Started Set console keymap. [ OK ] Started Remount Root and Kernel File Systems. [ OK ] Started Nameserver information manager. Starting udev Coldplug all Devices... Starting Load/Save Random Seed... Starting Apply Kernel Variables... Mounting FUSE Control File System... Starting Create Static Device Nodes in /dev... [ OK ] Mounted FUSE Control File System. [ OK ] Started Load/Save Random Seed. [ OK ] Started Apply Kernel Variables. [ OK ] Started Create Static Device Nodes in /dev. Starting udev Kernel Device Manager... [ OK ] Reached target Local File Systems (Pre). Mounting /tmp... [ OK ] Mounted /tmp. [ OK ] Started udev Coldplug all Devices. [ OK ] Started udev Kernel Device Manager. [ OK ] Started Entropy daemon using the HAVEGE algorithm. Starting Journal Service... [ OK ] Reached target Local File Systems. Starting Raise network interfaces... Starting Set console font and keymap... Starting Armbian enhanced Log2Ram... [ OK ] Found device /dev/ttymxc1. [ OK ] Reached target Sound Card. [ OK ] Started Journal Service. [ OK ] Started Armbian enhanced Log2Ram. [ OK ] Started Raise network interfaces. [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. [ OK ] Started ifup for eth0. Starting Flush Journal to Persistent Storage... [ OK ] Started Flush Journal to Persistent Storage. Starting Create Volatile Files and Directories... Starting Load/Save RF Kill Switch Status... [ OK ] Started Create Volatile Files and Directories. [ OK ] Started Load/Save RF Kill Switch Status. Starting Update UTMP about System Boot/Shutdown... [ OK ] Reached target System Time Synchronized. [ OK ] Started Update UTMP about System Boot/Shutdown. [ OK ] Reached target System Initialization. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Reached target Paths. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Started Daily apt activities. [ OK ] Reached target Timers. Starting Armbian filesystem resize service... [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket. [ OK ] Reached target Sockets. [FAILED] Failed to start Set console font and keymap. See 'systemctl status console-setup.service' for details. [ OK ] Started Armbian filesystem resize service. [ OK ] Reached target Basic System. Starting LSB: Start/stop sysstat's sadc... Starting Accounts Service... [ OK ] Started Armbian first run tasks. [ OK ] Created slice system-getty.slice. Starting Avahi mDNS/DNS-SD Stack... Starting LSB: No Display Manager... Starting Login Service... Starting System Logging Service... Starting LSB: Starts LIRC daemon.... [ OK ] Started Regular background program processing daemon. Starting LSB: Load kernel modules needed to enable cpufreq scaling... Starting LSB: Armbian gathering hardware information... [ OK ] Started D-Bus System Message Bus. [ OK ] Started Avahi mDNS/DNS-SD Stack. Starting Network Manager... Starting Permit User Sessions... Starting Save/Restore Sound Card State... [ OK ] Started System Logging Service. [ OK ] Started Permit User Sessions. [ OK ] Started Save/Restore Sound Card State. [ OK ] Started LSB: Start/stop sysstat's sadc. [ OK ] Started LSB: Armbian gathering hardware information. [ OK ] Started LSB: No Display Manager. [ OK ] Started LSB: Starts LIRC daemon.. [ OK ] Started LSB: Load kernel modules needed to enable cpufreq scaling. [ OK ] Started Network Manager. [ OK ] Started Login Service. Starting Network Manager Script Dispatcher Service... [ OK ] Reached target Network. Starting OpenBSD Secure Shell server... Starting Network Manager Wait Online... Starting Authenticate and Authorize Users to Run Privileged Tasks... Starting LSB: set CPUFreq kernel parameters... Starting Set console scheme... [ OK ] Started Network Manager Script Dispatcher Service. [ OK ] Started Set console scheme. [ OK ] Started LSB: set CPUFreq kernel parameters. Starting LSB: Set sysfs variables from /etc/sysfs.conf... Starting Hostname Service... [ OK ] Started LSB: Set sysfs variables from /etc/sysfs.conf. [ OK ] Started Authenticate and Authorize Users to Run Privileged Tasks. [ OK ] Started Accounts Service. [ OK ] Started Hostname Service. [ OK ] Started OpenBSD Secure Shell server. Starting WPA supplicant... [ OK ] Started WPA supplicant. [ OK ] Started Network Manager Wait Online. [ OK ] Reached target Network is Online. Starting LSB: disk temperature monitoring daemon... Starting LSB: Start NTP daemon... Starting LSB: Advanced IEEE 802.11 management daemon... Starting /etc/rc.local Compatibility... [ OK ] Started LSB: Advanced IEEE 802.11 management daemon. [ OK ] Started /etc/rc.local Compatibility. [ OK ] Started LSB: disk temperature monitoring daemon. [ OK ] Started Serial Getty on ttymxc1. [ OK ] Started Getty on tty1. [ OK ] Reached target Login Prompts. [ OK ] Started LSB: Start NTP daemon. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Ubuntu 16.04.1 LTS udoo ttymxc1 udoo login: root Password: You are required to change your password immediately (root enforced) Changing password for root. (current) UNIX password: Enter new UNIX password: Retype new UNIX password: _ _ _ | | | | __| | ___ ___ | | | |/ _` |/ _ \ / _ \ | |_| | (_| | (_) | (_) | \___/ \__,_|\___/ \___/ Welcome to ARMBIAN 5.25 stable Ubuntu 16.04.1 LTS 4.4.46-udoo System load: 1.77 Up time: 1 min Memory usage: 3 % of 1002Mb IP: CPU temp: 26°C Usage of /: 8% of 28G New to Armbian? Check the documentation first: docs.armbian.com Thank you for choosing Armbian! Support: www.armbian.com Creating a new user account. Press <Ctrl-C> to abort Desktop environment will not be enabled if you abort the new user creation Please provide a username (eg. your forename): <blah blah blah> Now starting desktop environment...
  19. So one thing I noticed is that armbian's udoo kernel configs (both default & next) are pretty different than from both default & next in respective git repos (patrykk's has all the 1wire stuff as modules, with 1wire as disabled, but you can just rebuild the dtb file) - shouldn't be an issue since I assume you build with the configs in your repo vs theirs.. Below are the my kernel diffs vs armbian, install, and boot log. I just edited imx6qdl-udoo.dtsi and changed "disabled" to "okay" during kernel config & made the mods - don't think that should cause the boot to break Kernel diffs: $ diff armbian_default/linux-udoo-next.config linux-udoo-next.config 3c3 < # Linux/arm 4.4.6 Kernel Configuration --- > # Linux/arm 4.4.0 Kernel Configuration 2055c2055,2082 < # CONFIG_W1 is not set --- > CONFIG_W1=y > CONFIG_W1_CON=y > > # > # 1-wire Bus Masters > # > # CONFIG_W1_MASTER_DS2490 is not set > # CONFIG_W1_MASTER_DS2482 is not set > CONFIG_W1_MASTER_MXC=y > # CONFIG_W1_MASTER_DS1WM is not set > CONFIG_W1_MASTER_GPIO=y > > # > # 1-wire Slaves > # > CONFIG_W1_SLAVE_THERM=y > # CONFIG_W1_SLAVE_SMEM is not set > # CONFIG_W1_SLAVE_DS2408 is not set > # CONFIG_W1_SLAVE_DS2413 is not set > # CONFIG_W1_SLAVE_DS2406 is not set > # CONFIG_W1_SLAVE_DS2423 is not set > # CONFIG_W1_SLAVE_DS2431 is not set > # CONFIG_W1_SLAVE_DS2433 is not set > # CONFIG_W1_SLAVE_DS2760 is not set > # CONFIG_W1_SLAVE_DS2780 is not set > # CONFIG_W1_SLAVE_DS2781 is not set > # CONFIG_W1_SLAVE_DS28E04 is not set > # CONFIG_W1_SLAVE_BQ27000 is not set 4175a4203 > # CONFIG_DEBUG_UART_BCM63XX is not set Update: root@udoo:~/kupdate# ls -la total 17072 drwxr-xr-x 2 root root 4096 Feb 11 23:28 . drwx------ 7 root root 4096 Feb 11 23:28 .. -rwxr--r-- 1 root root 50196 Feb 11 06:11 linux-firmware-image-4.4.0-udoo_5.25_armhf.deb -rwxr--r-- 1 root root 7188908 Feb 11 06:11 linux-headers-4.4.0-udoo_5.25_armhf.deb -rwxr--r-- 1 root root 9289516 Feb 11 06:12 linux-image-4.4.0-udoo_5.25_armhf.deb -rwxr--r-- 1 root root 799462 Feb 11 06:11 linux-libc-dev_5.25_armhf.deb -rwxr--r-- 1 root root 135072 Feb 11 06:03 linux-u-boot-next-udoo_5.25_armhf.deb root@udoo:~/kupdate# dpkg -i *.deb Selecting previously unselected package linux-firmware-image-4.4.0-udoo. (Reading database ... 140089 files and directories currently installed.) Preparing to unpack linux-firmware-image-4.4.0-udoo_5.25_armhf.deb ... Unpacking linux-firmware-image-4.4.0-udoo (5.25) ... Selecting previously unselected package linux-headers-4.4.0-udoo. Preparing to unpack linux-headers-4.4.0-udoo_5.25_armhf.deb ... Unpacking linux-headers-4.4.0-udoo (5.25) ... Selecting previously unselected package linux-image-4.4.0-udoo. Preparing to unpack linux-image-4.4.0-udoo_5.25_armhf.deb ... Unpacking linux-image-4.4.0-udoo (5.25) ... Preparing to unpack linux-libc-dev_5.25_armhf.deb ... Unpacking linux-libc-dev (5.25) over (4.4.0-59.80) ... Preparing to unpack linux-u-boot-next-udoo_5.25_armhf.deb ... Unpacking linux-u-boot-udoo-next (5.25) over (5.25) ... Setting up linux-firmware-image-4.4.0-udoo (5.25) ... Setting up linux-headers-4.4.0-udoo (5.25) ... Setting up linux-image-4.4.0-udoo (5.25) ... update-initramfs: Generating /boot/initrd.img-4.4.0-udoo update-initramfs: Converting to u-boot format Setting up linux-libc-dev (5.25) ... Setting up linux-u-boot-udoo-next (5.25) ... Updating u-boot on device /dev/mmcblk0 root@udoo:~/kupdate# Boot Log (after update): U-Boot SPL 2015.10-armbian (Feb 10 2017 - 23:03:32) U-Boot 2015.10-armbian (Feb 10 2017 - 23:03:32 -0700) CPU: Freescale i.MX6Q rev1.2 at 792 MHz Reset cause: POR Board: UDOO Quad DRAM: 1 GiB MMC: FSL_SDHC: 0 *** Warning - bad CRC, using default environment auto-detected panel HDMI Display: HDMI (1280x720) In: serial Out: serial Err: serial Net: using phy at 6 FEC [PRIME] Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device ** Unrecognized filesystem type ** Device Tree: dts/imx6q-udoo-hdmi.dtb ** Unrecognized filesystem type ** Booting from net ... FEC Waiting for PHY auto negotiation to complete......... TIMEOUT ! BOOTP broadcast 1 BOOTP broadcast 2 BOOTP broadcast 3 BOOTP broadcast 4 BOOTP broadcast 5 BOOTP broadcast 6 BOOTP broadcast 7 BOOTP broadcast 8 BOOTP broadcast 9 BOOTP broadcast 10 BOOTP broadcast 11 BOOTP broadcast 12 BOOTP broadcast 13 BOOTP broadcast 14 BOOTP broadcast 15 BOOTP broadcast 16 BOOTP broadcast 17 Retry time exceeded; starting again FEC Waiting for PHY auto negotiation to complete......... TIMEOUT ! BOOTP broadcast 1 BOOTP broadcast 2 BOOTP broadcast 3 BOOTP broadcast 4 BOOTP broadcast 5 BOOTP broadcast 6 BOOTP broadcast 7 BOOTP broadcast 8 BOOTP broadcast 9 BOOTP broadcast 10 BOOTP broadcast 11 BOOTP broadcast 12 BOOTP broadcast 13 BOOTP broadcast 14 BOOTP broadcast 15 BOOTP broadcast 16 BOOTP broadcast 17 Retry time exceeded; starting again Bad Linux ARM zImage magic! =>
  20. Hey All - So I decided to upgrade my Udoo from 4.5 (Debian Jessia, kernel 3.14.28) to the latest 5.25 Xenial. I gave next (4.4.46) a try, and it seemed to work awesome, however it seems like no one wants 1wire (still - it only takes up 1 gpio!). I built custom kernels enabling 1wire in the kernel and updated (or for default adding) 1wire to be enabiled in the imx6qdl-udoo.dtsi, however after I install the kernels, it just sits indefinitely at the red Armbian logo on boot. On 4.4.46, i was able to just install all the debs via dpkg -i *.deb On 3.14.56, I had to use dpkg --force-all -i *.deb Any ideas on what I'm doing wrong? Its been a while, so I'm sure a bunch has changed, but adding 1wire in the kernel shouldn't cause a freeze
  21. I messed around with an earlier version of the ArduinoIDE, and it looks like the reason its failing is because it can't export gpio 0 and 117 (says device/resource is busy). From patrykk's kernel readme, there's a line that says: Arduino with Udoo patch (export gpio 0 and 117: "echo 0 > /sys/class/gpio/export; echo 117 > /sys/class/gpio/export")This is all from the 3.14.28 kernel a while back (just got back to messing around with armbian). I tried loading the latest 5.0/3.14.60 jessie image, but it doesn't boot (my display says video out of sync). I tried loading the latest 5.0/4.2.8 jessie image (keyboard layout is messed up - various characters numeric/<>":"'; are mapped incorrectly), and I get the same error message when trying to export gpio 0 and 117. I believe those lines need to get toggled to erase the sam3x Also - I saw on the same readme that its possible to just recompile the dtb ("make imx6q-udoo.dtb") - this would be really helpful just to add one-wire without recompiling the whole kernel (after original compile). I tried building both udoo and udoo-next, but the version is 4.7. Anyway to add tags in the compile script to mirror what is on the main armbian site? Ideally it'd just be a device tree overlay that you'd be able to append to any build. Thanks for all the hardwork - if not for armbian, the udoo platform would be dead
  22. Anyone get ArduinoIDE working on armbian for the Udoo quad? When I try to upload a sketch, i see a java exception for bossac - no such file or directory (when i try to run bossac -h, same error) Edit - the error above was for Udoo's 1.5.8 version. I tried 1.5.4, and now I get errors trying to create GPIO0 and GPIO117 (direction & value).
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines