GithubHelp home page GithubHelp logo

8devices / openwrt-8devices Goto Github PK

View Code? Open in Web Editor NEW
82.0 82.0 71.0 1.03 GB

OpenWRT for 8devices WiFi modules

License: GNU General Public License v2.0

Makefile 11.92% Shell 5.05% Awk 0.02% C 69.81% Assembly 1.13% C++ 4.64% M4 0.97% CMake 0.01% Perl 1.56% Lex 0.05% Yacc 0.10% Python 0.12% Objective-C 0.01% Roff 4.63%

openwrt-8devices's People

Contributors

drasko avatar edzius avatar giedriusm avatar jow- avatar kaloz avatar mantas-p avatar miska avatar nbd168 avatar pbn4 avatar pepe2k avatar wigyori avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openwrt-8devices's Issues

Dropbear issue with LIMA build

Hello,

I faced some troubles while using dropbear as a ssh server on my LIMA.

I added dropbear to be started automatically on startup (by putting a link into /etc/rc.d/), no problem it starts properly.

But I observed that the first time dropbear starts this way, the rsa host key are not copied from /tmp/dropear to /etc/dropbear as they should be as shown below:

keygen()
{
	for keytype in rsa; do
		# check for keys
		key=dropbear/dropbear_${keytype}_host_key
		[ -f /tmp/$key -o -s /etc/$key ] || {
			# generate missing keys
			mkdir -p /tmp/dropbear
			[ -x /usr/bin/dropbearkey ] && {
				/usr/bin/dropbearkey -t $keytype -f /tmp/$key 2>&- >&- && exec /etc/rc.common "$initscript" start
			} &
		exit 0
		}
	done

	lock /tmp/.switch2jffs
	mkdir -p /etc/dropbear
	mv /tmp/dropbear/dropbear_* /etc/dropbear/
	lock -u /tmp/.switch2jffs
	chown root /etc/dropbear
	chmod 0700 /etc/dropbear
}

You need to start dropbear manually once, so that the key are properly copied to /etc/dropbear and after that the server starts properly.

I patched the script on my side to have a more sequential approach of the key generation (and it works properly) but I wanted to raised an issue on this script (/etc/init.d/dropbear) that does not seem to work properly.

Default GPIO button names

in /etc/rc.button the following button names are shown: failsafe, power, reset, rfkill.
Are these connected to a specific GPIO? If not how can we attach a GPIO to a button name like "reset"?

Make KinKan target OpenWRT compatible

Following #9

Update to kernel > 3.18 and make the proper changes to merge it with official OpenWRT source code.

Not being part of OpenWRT is a big barrier for developers and people willing to use the KinKan hardware.

How to Flash Mango Dev Kit Firmware if bricked

Hi, I am evaluating the Mango Dev Kits. How do I go about flashing the firmware onto the boards? I am afraid of bricking the boards. However, if I do manage to brick it, how do I go about re-flashing the firmware? Note, I have successfully built and compiled the firmware image "openwrt-8devices-4.0-ipq60xx"

With thanks
Brenton

Rambutan wi-fi issues

I got the Rambutan-DVK kit, but I have an issue with Wi-Fi interface.

Web interface informed me that “Wireless is disabled or not associated”.

I change setting for wireless
"
root@Rambutan:/# cat /overlay/upper/etc/config/wireless

config wifi-device 'radio0'
option type 'mac80211'
option channel '11'
option hwmode '11g'
option path 'platform/qca955x_wmac'
option htmode 'HT20'
option disabled '0'

config wifi-iface
option device 'radio0'
option network 'lan'
option mode 'ap'
option encryption 'none'
option ssid 'Rambutan'
"
but wi-fi as before do`t visible.

Firmware Version OpenWrt-8devices Designated Driver v2.9 unknown / LuCI c46963613f7f1312dac62e507346777ba6f8d8a6 branch (git-16.147.57672-c469636)

I noticed in boot log this message
"
[ 13.223060] ath9k qca955x_wmac: failed to initialize device
[ 13.228788] ath9k: probe of qca955x_wmac failed with error -22
"

USB boot option for Mango DVK

Hello,

I've been evaluating Mango DVK board. I need to modify the bootloader to accommodate customer requirements.
How do I do it in a safe manner? Mango DVK datasheet mentions Boot from USB as one possible option.
Could you please share instructions on how to use the USB boot option for the Mango DVK board?

--
Best regards,
Tomasz

Fails to boot

We are using a habanero board with firmware version OpenWrt-8devices v3.2 r10194+769-c53f62b111. We recently experience a problem where the board does not properly boot anymore. The serial boot message looks like this:

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.171 (baker@wrt_builder) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r10947-65030d81f3)) #0 SMP Thu Apr 9 21:53:20 2020
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: 8devices Habanero DVK
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] random: get_random_bytes called from start_kernel+0x8c/0x3d0 with crng_init=0
[    0.000000] percpu: Embedded 15 pages/cpu s29388 r8192 d23860 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129536
[    0.000000] Kernel command line: rootfstype=squashfs
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 509808K/522240K available (4526K kernel code, 153K rwdata, 1224K rodata, 1024K init, 241K bss, 12432K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0208000 - 0xc076bbe0   (5519 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a26580   ( 154 kB)
[    0.000000]        .bss : 0xc0a28000 - 0xc0a644d8   ( 242 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 48.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb11fd3bfb, max_idle_ns: 440795203732 ns
[    0.000007] sched_clock: 56 bits at 48MHz, resolution 20ns, wraps every 4398046511096ns
[    0.000021] Switching to timer-based delay loop, resolution 20ns
[    0.000274] Calibrating delay loop (skipped), value calculated using timer frequency.. 96.00 BogoMIPS (lpj=480000)
[    0.000294] pid_max: default: 32768 minimum: 301
[    0.000439] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000454] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001136] CPU: Testing write buffer coherency: ok
[    0.001849] Setting up static identity map for 0x80300000 - 0x80300060
[    0.001997] Hierarchical SRCU implementation.
[    0.002679] smp: Bringing up secondary CPUs ...
[    0.005481] smp: Brought up 1 node, 4 CPUs
[    0.005501] SMP: Total of 4 processors activated (384.00 BogoMIPS).
[    0.005509] CPU: All CPU(s) started in SVC mode.
[    0.010169] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.010317] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.010340] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.010621] pinctrl core: initialized pinctrl subsystem
[    0.011507] NET: Registered protocol family 16
[    0.011790] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.012799] cpuidle: using governor ladder
[    0.012841] cpuidle: using governor menu
[    0.031445] usbcore: registered new interface driver usbfs
[    0.031508] usbcore: registered new interface driver hub
[    0.031588] usbcore: registered new device driver usb
[    0.031642] pps_core: LinuxPPS API ver. 1 registered
[    0.031652] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.031676] PTP clock support registered
[    0.032849] clocksource: Switched to clocksource arch_sys_counter
[    0.033789] NET: Registered protocol family 2
[    0.034469] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.034532] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.034621] TCP: Hash tables configured (established 4096 bind 4096)
[    0.034742] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.034779] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.034971] NET: Registered protocol family 1
[    0.035970] No memory allocated for crashlog
[    0.036188] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.039418] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.039433] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.044923] io scheduler noop registered
[    0.044940] io scheduler deadline registered (default)
[    0.046781] OF: PCI: host bridge /soc/pci@40000000 ranges:
[    0.046820] OF: PCI:    IO 0x40200000..0x402fffff -> 0x40200000
[    0.046837] OF: PCI:   MEM 0x40300000..0x40ffffff -> 0x40300000
[    1.162858] qcom-pcie 40000000.pci: phy link never came up
[    1.172890] qcom-pcie 40000000.pci: cannot initialize host
[    1.173002] qcom-pcie: probe of 40000000.pci failed with error -110
[    1.174473] bam-dma-engine 8e04000.dma: num-channels unspecified in dt
[    1.174490] bam-dma-engine 8e04000.dma: num-ees unspecified in dt
[    1.175785] tcsr 1949000.tcsr: setting wifi_glb_cfg = 41000000
[    1.175869] tcsr 194b000.tcsr: setting usb hs phy mode select = e700e7
[    1.175943] tcsr 1953000.ess_tcsr: setting ess interface select = 0
[    1.176015] tcsr 1957000.tcsr: setting wifi_noc_memtype_m0_m2 = 2222222
[    1.176688] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    1.178443] msm_serial 78af000.serial: msm_serial: detected port #0
[    1.178491] msm_serial 78af000.serial: uartclk = 1843200
[    1.178547] 78af000.serial: ttyMSM0 at MMIO 0x78af000 (irq = 29, base_baud = 115200) is a MSM
[    1.178575] msm_serial: console setup on port #0
[    1.720441] console [ttyMSM0] enabled
[    1.725407] msm_serial 78b0000.serial: msm_serial: detected port #1
[    1.728679] msm_serial 78b0000.serial: uartclk = 48000000
[    1.734794] 78b0000.serial: ttyMSM1 at MMIO 0x78b0000 (irq = 30, base_baud = 3000000) is a MSM
[    1.740536] msm_serial: driver initialized
[    1.753373] loop: module loaded
[    1.754853] nand: No NAND device found
[    1.756592] spi_qup 78b5000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[    1.765904] random: fast init done
[    1.769529] m25p80 spi0.0: w25q256 (32768 Kbytes)
[    1.770192] 10 fixed-partitions partitions found on MTD device spi0.0
[    1.774939] Creating 10 MTD partitions on "spi0.0":
[    1.781356] 0x000000000000-0x000000040000 : "SBL1"
[    1.786750] 0x000000040000-0x000000060000 : "MIBIB"
[    1.791452] 0x000000060000-0x0000000c0000 : "QSEE"
[    1.796291] 0x0000000c0000-0x0000000d0000 : "CDT"
[    1.801095] 0x0000000d0000-0x0000000e0000 : "DDRPARAMS"
[    1.805928] 0x0000000e0000-0x0000000f0000 : "APPSBLENV"
[    1.810895] 0x0000000f0000-0x000000170000 : "APPSBL"
[    1.816132] 0x000000170000-0x000000180000 : "ART"
[    1.821346] 0x000000180000-0x0000001c0000 : "cfg"
[    1.825942] 0x0000001c0000-0x000002000000 : "firmware"
[    1.830962] 2 fit-fw partitions found on MTD device firmware
[    1.835093] Creating 2 MTD partitions on "firmware":
[    1.840902] 0x000000000000-0x000000240000 : "kernel"
[    1.846516] 0x000000240000-0x000001e40000 : "rootfs"
[    1.851335] mtd: device 11 (rootfs) set to be root filesystem
[    1.855925] 1 squashfs-split partitions found on MTD device rootfs
[    1.861383] 0x000000670000-0x000001e40000 : "rootfs_data"
[    1.868934] libphy: ipq40xx_mdio: probed
[    1.903863] ESS reset ok!
[    1.936848] ESS reset ok!
[    2.373224] libphy: Fixed MDIO Bus: probed
[    2.472985] i2c /dev entries driver
[    2.473283] i2c_qup 78b7000.i2c: using default clock-frequency 100000
[    2.475943] i2c_qup 78b8000.i2c: using default clock-frequency 100000
[    2.514026] NET: Registered protocol family 10
[    2.515497] Segment Routing with IPv6
[    2.517432] NET: Registered protocol family 17
[    2.521137] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.525818] 8021q: 802.1Q VLAN Support v1.8
�[    2.553594] VFS: Mounted root (squashfs filesystem) readonly on device 31:11.
[    2.555205] Freeing unused kernel memory: 1024K
[    3.393032] init: Console is alive
[    3.393272] init: - watchdog -
[    5.928277] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.144725] SCSI subsystem initialized
[    6.436715] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    6.436782] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    6.441326] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f665 hci version 0x100 quirks 0x0000000002010010
[    6.448767] xhci-hcd xhci-hcd.0.auto: irq 132, io mem 0x08a00000
[    6.458957] hub 1-0:1.0: USB hub found
[    6.464374] hub 1-0:1.0: 1 port detected
[    6.468260] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    6.471938] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    6.477284] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0  SuperSpeed
[    6.484963] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.492076] hub 2-0:1.0: USB hub found
[    6.499880] hub 2-0:1.0: 1 port detected
[    6.503696] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    6.507356] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[    6.512904] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f665 hci version 0x100 quirks 0x0000000002010010
[    6.520250] xhci-hcd xhci-hcd.1.auto: irq 133, io mem 0x06000000
[    6.530371] hub 3-0:1.0: USB hub found
[    6.535886] hub 3-0:1.0: 1 port detected
[    6.539789] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    6.543478] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[    6.548750] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0  SuperSpeed
[    6.556404] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.563414] hub 4-0:1.0: USB hub found
[    6.571256] hub 4-0:1.0: config failed, hub doesn't have any ports! (err -19)
[    6.581704] sdhci: Secure Digital Host Controller Interface driver
[    6.581984] sdhci: Copyright(c) Pierre Ossman
[    6.588823] sdhci-pltfm: SDHCI platform and OF driver helper
[    6.594360] usbcore: registered new interface driver usb-storage
[    6.600946] sdhci_msm 7824900.sdhci: Got CD GPIO
[    6.604341] sdhci_msm 7824900.sdhci: core clock boost failed
[    6.685948] mmc0: SDHCI controller on 7824900.sdhci [7824900.sdhci] using ADMA 64-bit
[    6.689784] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.713192] init: - preinit -
[    7.886617] random: jshn: uninitialized urandom read (4 bytes read)
[    7.923121] random: jshn: uninitialized urandom read (4 bytes read)
[    8.017890] random: jshn: uninitialized urandom read (4 bytes read)
[    8.477584] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    8.477676] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   11.932926] jffs2: notice: (180) jffs2_build_xattr_subsystem: complete building xattr subsystem, 22 of xdatum (2 unchecked, 20 orphan) and 43 of xref (20 dead, 0 orphan) found.
[   11.975704] mount_root: switching to jffs2 overlay
[   12.005217] overlayfs: upper fs does not support tmpfile.
[   12.021693] urandom-seed: Seeding with /etc/urandom.seed
[   12.148054] procd: - early -
[   12.148194] procd: - watchdog -
[   12.804445] procd: - watchdog -
[   12.809308] procd: - ubus -
[   12.870984] urandom_read: 5 callbacks suppressed
[   12.870994] random: ubusd: uninitialized urandom read (4 bytes read)
[   13.862271] random: ubusd: uninitialized urandom read (4 bytes read)
[   13.863327] procd: - init -
Please press Enter to activate this console.
[   14.910849] random: crng init done

Failed to execute /usr/libexec/login enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
Please press Enter to activate this console.

Failed to execute /usr/libexec/login.sh
Please press Enter to activate this console.

After that, we can't login.

Going to failsafe mode and do a firstboot fixes the system. But the error has reoccurred, requiring us to do a system recovery again.

Do you have any idea what could be causing this? Thanks a lot!

opkg feeds for kinkan 1.4

I have a similar issue as #17 when trying to update:

Downloading http://pkg.8devices.com/kinkan/v1.4/targets/rtkmipsel/rtl8197f/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt-8devices-rtk_core
Downloading http://pkg.8devices.com/kinkan/v1.4/targets/rtkmipsel/rtl8197f/packages/Packages.sig
Signature check failed.
Remove wrong Signature file.
Downloading http://pkg.8devices.com/kinkan/v1.4/packages/mipsel_24kc/base/Packages.gz
*** Failed to download the package list from http://pkg.8devices.com/kinkan/v1.4/packages/mipsel_24kc/base/Packages.gz

Downloading http://pkg.8devices.com/kinkan/v1.4/packages/mipsel_24kc/8devices_custom/Packages.gz
*** Failed to download the package list from http://pkg.8devices.com/kinkan/v1.4/packages/mipsel_24kc/8devices_custom/Packages.gz

Downloading http://pkg.8devices.com/kinkan/v1.4/packages/mipsel_24kc/luci/Packages.gz
*** Failed to download the package list from http://pkg.8devices.com/kinkan/v1.4/packages/mipsel_24kc/luci/Packages.gz

Downloading http://pkg.8devices.com/kinkan/v1.4/packages/mipsel_24kc/packages/Packages.gz
*** Failed to download the package list from http://pkg.8devices.com/kinkan/v1.4/packages/mipsel_24kc/packages/Packages.gz

Downloading http://pkg.8devices.com/kinkan/v1.4/packages/mipsel_24kc/routing/Packages.gz
*** Failed to download the package list from http://pkg.8devices.com/kinkan/v1.4/packages/mipsel_24kc/routing/Packages.gz

Downloading http://pkg.8devices.com/kinkan/v1.4/packages/mipsel_24kc/telephony/Packages.gz
*** Failed to download the package list from http://pkg.8devices.com/kinkan/v1.4/packages/mipsel_24kc/telephony/Packages.gz

Kinkan: FPU emulation for MIPS 24Kc

Many software requires at least fundamental FPU support. Otherwise execution terminates with an Illegal Instruction error.

The provided OpenWRT image would be more versatile by enabling FPU emulation for the MIPS 24Kc CPU:

CONFIG_KERNEL_MIPS_FPU_EMULATOR=y

(./build.sh rambutan) "Build dependency: Please install the Subversion client"

I get the message

Build dependency: Please install the Subversion client

<repo dir>/include/prereq.mk:12: recipe for target 'prereq' failed
Prerequisite check failed. Use FORCE=1 to override.
<repo dir>/include/toplevel.mk:151: die Regel für Ziel „staging_dir/host/.prereq-build“ scheiterte
make: *** [staging_dir/host/.prereq-build] Fehler 1

when building with
./build.sh rambutan
on Ubuntu 16.04 LTS.
Subversion IS installed, svn --version yields:

svn, Version 1.9.3 (r1718519)
   übersetzt am Aug 10 2017, um 16:59:15 auf x86_64-pc-linux-gnu

Copyright (C) 2015 The Apache Software Foundation.
Diese Software besteht aus Beiträgen vieler Personen;
siehe Datei NOTICE für weitere Informationen.
Subversion ist Open Source Software, siehe http://subversion.apache.org/

Die folgenden ZugriffsModule (ZM) für Projektarchive stehen zur Verfügung:

* ra_svn : Modul zum Zugriff auf ein Projektarchiv über das svn-Netzwerkprotokoll.
  - mit Cyrus-SASL-Authentifizierung
  - behandelt Schema »svn«
* ra_local : Modul zum Zugriff auf ein Projektarchiv auf der lokalen Festplatte
  - behandelt Schema »file«
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
  - using serf 1.3.8 (compiled with 1.3.8)
  - behandelt Schema »http«
  - behandelt Schema »https«

Die folgenden Speicherbereiche für Zugangsdaten sind verfügbar:

* Klartext-Speicher in /home/christian5/.subversion
* Gnome Keyring
* GPG-Agent
* KWallet (KDE)

Cannot Compile

Hi, I've recently purchased a few Mango Dev Kits from 8devices for evaluation purposes (for the CSIR). I cannot seem to successfully compile the "openwrt-8devices-4.0-ipq60xx" source code for the dev kits.
I ran the "quick_start.sh" script.
May you please assist me towards getting started. I am hoping to develop a WiFi6 mesh network using these Mango dev kits. Ideally I would like to integrate WiFi EasyMesh, but I do not think Openwrt supports that as yet. Integrating 802.11s would be a good alternative, as I see that Openwrt supports it already.

Which Ubuntu version do I need? I am currently using Ubuntu 18.

Summary_Build_Error.txt
Terminal_Error.txt
Openwrt_Menu_Config

With thanks
Brenton

The qsdk-11.3-ipq60xx-4.4 branch fails to build due to sigma-dut download error

Hello,
The qsdk-11.3-ipq60xx-4.4 branch, which is needed to build the firmware for 8devices Mango, fails to build due one or more files which apparently can no more be accessed online, and which are part of the sigma-dut feed.
I am indeed getting several Error 404 errors, followed by a Connection refused.
The download, and consequently the compilation, fails even if attempted on Ubuntu 16.04.7 LTS, which should be the recommended OS for the build system.

This issue, unfortunately, completely breaks the possibility of building OpenWrt for the Mango System On Module.

The full log is reported below:

echo "Checking out files from the git repository..."; mkdir -p /home/mydevice/openwrt-8devices/tmp/dl && cd /home/mydevice/openwrt-8devices/tmp/dl && rm -rf sigma-dut-20200429 && [ \! -d sigma-dut-20200429 ] && echo "Try to download from mirror server" && 	/home/mydevice/openwrt-8devices/scripts/download.pl "/home/mydevice/openwrt-8devices/dl" "sigma-dut-20200429-f24193b448b614d3b38bd580c47c2f0125fd6918.tar.gz" "unknown" "" "git://github.com/qca/sigma-dut.git" || ((if false ; then 0; else 	GIT_NAME=$(echo git://github.com/qca/sigma-dut.git | sed -e s:.*/::g -e s/.git$//g); [ -n ""https://source.codeaurora.org/quic/qsdk/"" ] && git clone  "https://source.codeaurora.org/quic/qsdk/"$GIT_NAME sigma-dut-20200429 --recursive && (cd sigma-dut-20200429 && git remote -v && git checkout f24193b448b614d3b38bd580c47c2f0125fd6918); fi ) || (rm -rf sigma-dut-20200429 &&  git clone git://github.com/qca/sigma-dut.git sigma-dut-20200429 --recursive && (cd sigma-dut-20200429 && git remote -v && git checkout f24193b448b614d3b38bd580c47c2f0125fd6918 || (git fetch origin f24193b448b614d3b38bd580c47c2f0125fd6918 && git checkout FETCH_HEAD && git submodule update))) && echo "Packing checkout..." && rm -rf sigma-dut-20200429/.git && 	tar czf /home/mydevice/openwrt-8devices/tmp/dl/sigma-dut-20200429-f24193b448b614d3b38bd580c47c2f0125fd6918.tar.gz sigma-dut-20200429 && mv /home/mydevice/openwrt-8devices/tmp/dl/sigma-dut-20200429-f24193b448b614d3b38bd580c47c2f0125fd6918.tar.gz /home/mydevice/openwrt-8devices/dl/ && rm -rf sigma-dut-20200429); 
Checking out files from the git repository...
Try to download from mirror server
--2022-07-19 17:16:14--  https://source.codeaurora.org/mirrored_source/quic/qsdk/sigma-dut-20200429-f24193b448b614d3b38bd580c47c2f0125fd6918.tar.gz
Resolving source.codeaurora.org (source.codeaurora.org)... 198.145.29.82
Connecting to source.codeaurora.org (source.codeaurora.org)|198.145.29.82|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://mirrors.edge.kernel.org/caf_mirrored_source/quic/qsdk/sigma-dut-20200429-f24193b448b614d3b38bd580c47c2f0125fd6918.tar.gz [following]
--2022-07-19 17:16:14--  https://mirrors.edge.kernel.org/caf_mirrored_source/quic/qsdk/sigma-dut-20200429-f24193b448b614d3b38bd580c47c2f0125fd6918.tar.gz
Resolving mirrors.edge.kernel.org (mirrors.edge.kernel.org)... 147.75.80.249, 2604:1380:4601:e00::3
Connecting to mirrors.edge.kernel.org (mirrors.edge.kernel.org)|147.75.80.249|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-07-19 17:16:15 ERROR 404: Not Found.

Download failed.
The /home/mydevice/openwrt-8devices/dl/sigma-dut-20200429-f24193b448b614d3b38bd580c47c2f0125fd6918.tar.gz is not present
--2022-07-19 17:16:15--  https://www.codeaurora.org/mirrored_source/quic/qsdk/sigma-dut-20200429-f24193b448b614d3b38bd580c47c2f0125fd6918.tar.gz
Resolving www.codeaurora.org (www.codeaurora.org)... 23.185.0.3, 2620:12a:8001::3, 2620:12a:8000::3
Connecting to www.codeaurora.org (www.codeaurora.org)|23.185.0.3|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://source.codeaurora.org/mirrored_source/quic/qsdk/sigma-dut-20200429-f24193b448b614d3b38bd580c47c2f0125fd6918.tar.gz [following]
--2022-07-19 17:16:15--  https://source.codeaurora.org/mirrored_source/quic/qsdk/sigma-dut-20200429-f24193b448b614d3b38bd580c47c2f0125fd6918.tar.gz
Resolving source.codeaurora.org (source.codeaurora.org)... 198.145.29.82
Connecting to source.codeaurora.org (source.codeaurora.org)|198.145.29.82|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://mirrors.edge.kernel.org/caf_mirrored_source/quic/qsdk/sigma-dut-20200429-f24193b448b614d3b38bd580c47c2f0125fd6918.tar.gz [following]
--2022-07-19 17:16:16--  https://mirrors.edge.kernel.org/caf_mirrored_source/quic/qsdk/sigma-dut-20200429-f24193b448b614d3b38bd580c47c2f0125fd6918.tar.gz
Resolving mirrors.edge.kernel.org (mirrors.edge.kernel.org)... 147.75.80.249, 2604:1380:4601:e00::3
Connecting to mirrors.edge.kernel.org (mirrors.edge.kernel.org)|147.75.80.249|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-07-19 17:16:16 ERROR 404: Not Found.

Download failed.
git://github.com/qca/sigma-dut.git/sigma-dut-20200429-f24193b448b614d3b38bd580c47c2f0125fd6918.tar.gz: Unsupported scheme 'git'.
Download failed.
--2022-07-19 17:16:16--  http://mirror2.openwrt.org/sources/sigma-dut-20200429-f24193b448b614d3b38bd580c47c2f0125fd6918.tar.gz
Resolving mirror2.openwrt.org (mirror2.openwrt.org)... 46.4.11.11, 2a01:4f8:221:3d45::2
Connecting to mirror2.openwrt.org (mirror2.openwrt.org)|46.4.11.11|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-07-19 17:16:16 ERROR 404: Not Found.

Download failed.
--2022-07-19 17:16:16--  http://downloads.openwrt.org/sources/sigma-dut-20200429-f24193b448b614d3b38bd580c47c2f0125fd6918.tar.gz
Resolving downloads.openwrt.org (downloads.openwrt.org)... 168.119.138.211, 2a01:4f8:251:321::2
Connecting to downloads.openwrt.org (downloads.openwrt.org)|168.119.138.211|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://downloads.openwrt.org/sources/sigma-dut-20200429-f24193b448b614d3b38bd580c47c2f0125fd6918.tar.gz [following]
--2022-07-19 17:16:16--  https://downloads.openwrt.org/sources/sigma-dut-20200429-f24193b448b614d3b38bd580c47c2f0125fd6918.tar.gz
Connecting to downloads.openwrt.org (downloads.openwrt.org)|168.119.138.211|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://sources.openwrt.org/sigma-dut-20200429-f24193b448b614d3b38bd580c47c2f0125fd6918.tar.gz [following]
--2022-07-19 17:16:16--  https://sources.openwrt.org/sigma-dut-20200429-f24193b448b614d3b38bd580c47c2f0125fd6918.tar.gz
Resolving sources.openwrt.org (sources.openwrt.org)... 148.251.151.136, 2a01:4f8:210:5087::2
Connecting to sources.openwrt.org (sources.openwrt.org)|148.251.151.136|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-07-19 17:16:16 ERROR 404: Not Found.

Download failed.
No more mirrors to try - giving up.
Cloning into 'sigma-dut-20200429'...
remote: Enumerating objects: 2684, done.
remote: Total 2684 (delta 0), reused 0 (delta 0), pack-reused 2684
Receiving objects: 100% (2684/2684), 1.53 MiB | 315.00 KiB/s, done.
Resolving deltas: 100% (1855/1855), done.
Checking connectivity... done.
warning: remote HEAD refers to nonexistent ref, unable to checkout.

origin	https://source.codeaurora.org/quic/qsdk/sigma-dut (fetch)
origin	https://source.codeaurora.org/quic/qsdk/sigma-dut (push)
fatal: reference is not a tree: f24193b448b614d3b38bd580c47c2f0125fd6918
Cloning into 'sigma-dut-20200429'...
fatal: unable to connect to github.com:
github.com[0: 140.82.121.3]: errno=Connection refused

Makefile:52: recipe for target '/home/mydevice/openwrt-8devices/dl/sigma-dut-20200429-f24193b448b614d3b38bd580c47c2f0125fd6918.tar.gz' failed
make[2]: *** [/home/mydevice/openwrt-8devices/dl/sigma-dut-20200429-f24193b448b614d3b38bd580c47c2f0125fd6918.tar.gz] Error 128
make[2]: Leaving directory '/home/mydevice/openwrt-8devices/qca/feeds/sigma-dut-open/sigma-dut-open'
package/Makefile:197: recipe for target 'package/feeds/sigma_dut_open/sigma-dut-open/download' failed
make[1]: *** [package/feeds/sigma_dut_open/sigma-dut-open/download] Error 2
make[1]: Leaving directory '/home/mydevice/openwrt-8devices'
/home/mydevice/openwrt-8devices/include/toplevel.mk:163: recipe for target 'download' failed
make: *** [download] Error 2

802.11s mesh support for Mango Dev Kits

Hi, is 802.11s mesh supported on the Mango Dev kits? I contacted Openwrt directly, they said that they do not support the kernel 4.4.60 anymore (Mango Openwrt Kernel). If not supported, are there any alternatives for a mesh network which are supported?

Regards
Brenton

Cannot build with ubuntu 16.04.7 LTS

Hi,

I'm trying to build a firmware for the mango-dvk board.
I follow the instructions: https://www.8devices.com/wiki/mango:build
I got the following error:

scripts/config/conf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.27' not found (required by scripts/config/conf)
/src_openwrt/include/toplevel.mk:103: recipe for target 'defconfig' failed
make: *** [defconfig] Error 1

Here is my setup:

# lsb_release -a
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.7 LTS
Release:	16.04
Codename:	xenial

I've tried to build using ubuntu 18.04 that have the correct glibc version but cannot build uboot.
Any advice?

problem flashing qsdk-12.0-ipq60xx-5.4 image on Mango

Hi,
I compiled the branch qsdk-12.0-ipq60xx-5.4 for Mango Dev board. If I flash the board the first time using one of the methods reported in wiki

https://wiki.8devices.com/mango:flash

everything works well and the board restart with the new image. If I try to repeat the process for the second time using the same image, or also a different one (e.g image of old branch) I get the following error:

root@OpenWrt:~# sysupgrade -v -F -c /tmp/openwrt-test.bin
Image metadata not found
Error: mandatory section(s) missing from "/tmp/openwrt-test.bin". Abort...
Image check failed but --force given - will update anyway!
Saving config files...
etc/hosts
[...]
etc/opkg/customfeeds.conf
Commencing upgrade. Closing all shell sessions.
Watchdog handover: fd=3

  • watchdog -
    Sending TERM to remaining processes ... netifd rngd wpa_supplicant uhttpd miniupnpd ubusd urngd dnsmasq ntpd logd rpcd sh: S: out of range
    hostapd
    [ 81.060851] device wlan1 left promiscuous mode
    [ 81.060918] br-lan: port 2(wlan1) entered disabled state
    [ 81.181857] device wlan0 left promiscuous mode
    [ 81.181922] br-lan: port 3(wlan0) entered disabled state
    Sending KILL to remaining processes ... sh: S: out of range

Switching to ramdisk...
Performing system upgrade...
Error: Cant' find kernel@1 after switching to ramfs, aborting upgrade!
Error: Cant' find fdt@1 after switching to ramfs, aborting upgrade!
Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.XF.0.3-00090-IPQ60xxLZB-2

I get similar error through msg box also if I perform the operation with LuCi web interface

Can you give me some suggestions?

Regards

Boot stuck on Starting kernel

Hello. I 've made some changes to your qsdk12 buildroot
#24

32bit target is working, but 64bit is not. Don't know what to do to get more debug info.

Have you ever succesfully boot 64bit target with this buildroot?

## Loading fdt from FIT Image at 55000000 ...
   Using 'config@1' configuration
   Trying 'fdt@1' fdt subimage
     Description:  ARM64 OpenWrt mango device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x565f7260
     Data Size:    54705 Bytes = 53.4 KiB
     Architecture: AArch64
     Hash algo:    crc32
     Hash value:   39fc3c95
     Hash algo:    sha1
     Hash value:   2d6f3e5a1ca9407f00d34a43ce0a86c0e3b4fd4f
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Booting using the fdt blob at 0x565f7260
   Uncompressing Kernel Image ... OK
   Loading Device Tree to 484ef000, end 484ff5b0 ... OK
mtdids not defined, no default present
Could not find PCI in device tree
Using machid 0x8030200 from environment

Starting kernel ...

Jumping to AARCH64 kernel via monitor

WiFi in mode client

Hi!

We have an issue which can be marked as "well known", but may be you can give us a recommendation.

We have the test site which include:

  1. PC with wireless interface. IP address of this interface is 192.168.2.44.
  2. Rambutan-DVK (Linux Rambutan 4.1.23 #1 Tue Jun 28 16:32:15 UTC 2016 mips GNU/Linux got from http://pkg.8devices.com/rambutan/v2.9/openwrt-8devices-v2.9-ar71xx-nand-rambutan-squashfs-nand-sysupgrade.tar) in the bridge mode (gigabit ethernet and wireless interface are combined). IP address of this interface is 192.168.2.60.
  3. "Some device" connected to the gigabit ethenet interface of the Rambutan-DVK. IP address of this interface is 192.168.2.4.

When we try to ping the Rambutan-bridge from the PC - we have success in any case. But when we try to ping "Some device" from the PC, we can reach it only if the wireless interface of Rambutan-bridge in the AP mode. If we switch this interface in the client mode - ping does not pass. Also we conclude that ARP requests (which usually precede the ICMP requests) does not pass too (we use the Wireshark on the PC side - no any ARP replies here). We know that this problem is caused by the specific requirements of the Wi-Fi standarts. This standarts (as mentioned in some internet forums) does not allow multiple source MACs on the wireless interface in client mode (multiple source MACs allowed only in AP mode). But guys from this forums also mentioned that some wireless adaptors have the drivers which fix this problem. May be you know - do we can to find appropriate driver for the Rambutan module? It is neccesary for the full bridge functionality (and we know that some wireless bridges can do it).

Thanks a lot!

problem AP on PCIe wifi module in qsdk-12.0-ipq60xx-5.4 image on Mango

Good morning,
I have a Mango board with an extra wifi module on PCIe connector. The wifi module is based on ath9k driver and is configure as AP.
Using the old qsdk-11.3-ipq60xx-4.4 image everything worked correctly.

After the upgrade to qsdk-12.0-ipq60xx-5.4, the AP does not work correctly. I can see that the wlan interface receive packets, for example from mobile phones trying to connect to the new AP, but it seems that the module have problem to push out the packets and it seems that the packets remains in output queue. This is the output of iw dev command during the connection phase from a mobile phone to the new AP

phy#2
Interface wlan2
ifindex 22
wdev 0x200000003
addr 18:fd:74:45:c0:6c
ssid OpenWrt-802.11p
type AP
channel 36 (5180 MHz), width: 20 MHz (no HT), center1: 5180 MHz
txpower 23.00 dBm
multicast TXQ:
qsz-byt qsz-pkt flows drops marks overlmt hashcol tx-bytes tx-packets
76173 217 33 0 0 0 0 0 0

Attached is the modified build configuration, in order to enable ath9k driver

8dev_mango_enhanced_5_4_v2.zip

arch ipq60xx_64 is broken

Hi.
I can't build openwrt image on branch qsdk-11.3-ipq60xx-4.4 with arch ipq60xx_64.
Error is - lib/asm-offsets.c:1:0: error: unknown value 'armv5' for -march.

Incorrect `opkg` feeds being set

Following the guide in the wiki, when building for the Komikan development board using the config_kinkan_minimal in the openwrt-18.06-rtkmipsel-3.18 branch, it sets opkg's feeds to come from http://pkg.8devices.com/komikan/v1.4/packages/ which does not exist.

For example if I run opkg update:

root@Komikan:/# opkg update
Downloading http://pkg.8devices.com/komikan/v1.4/targets/rtkmipsel/rtl8197f/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt-8devices-rtk_core
Downloading http://pkg.8devices.com/komikan/v1.4/targets/rtkmipsel/rtl8197f/packages/Packages.sig
Signature check passed.
Downloading http://pkg.8devices.com/komikan/v1.4/packages/mipsel_24kc/base/Packages.gz
*** Failed to download the package list from http://pkg.8devices.com/komikan/v1.4/packages/mipsel_24kc/base/Packages.gz

Downloading http://pkg.8devices.com/komikan/v1.4/packages/mipsel_24kc/8devices_custom/Packages.gz
*** Failed to download the package list from http://pkg.8devices.com/komikan/v1.4/packages/mipsel_24kc/8devices_custom/Packages.gz

Downloading http://pkg.8devices.com/komikan/v1.4/packages/mipsel_24kc/luci/Packages.gz
*** Failed to download the package list from http://pkg.8devices.com/komikan/v1.4/packages/mipsel_24kc/luci/Packages.gz

Downloading http://pkg.8devices.com/komikan/v1.4/packages/mipsel_24kc/packages/Packages.gz
*** Failed to download the package list from http://pkg.8devices.com/komikan/v1.4/packages/mipsel_24kc/packages/Packages.gz

Downloading http://pkg.8devices.com/komikan/v1.4/packages/mipsel_24kc/routing/Packages.gz
*** Failed to download the package list from http://pkg.8devices.com/komikan/v1.4/packages/mipsel_24kc/routing/Packages.gz

Downloading http://pkg.8devices.com/komikan/v1.4/packages/mipsel_24kc/telephony/Packages.gz
*** Failed to download the package list from http://pkg.8devices.com/komikan/v1.4/packages/mipsel_24kc/telephony/Packages.gz

Collected errors:
 * opkg_download: Failed to download http://pkg.8devices.com/komikan/v1.4/packages/mipsel_24kc/base/Packages.gz, wget returned 8.
 * opkg_download: Failed to download http://pkg.8devices.com/komikan/v1.4/packages/mipsel_24kc/8devices_custom/Packages.gz, wget returned 8.
 * opkg_download: Failed to download http://pkg.8devices.com/komikan/v1.4/packages/mipsel_24kc/luci/Packages.gz, wget returned 8.
 * opkg_download: Failed to download http://pkg.8devices.com/komikan/v1.4/packages/mipsel_24kc/packages/Packages.gz, wget returned 8.
 * opkg_download: Failed to download http://pkg.8devices.com/komikan/v1.4/packages/mipsel_24kc/routing/Packages.gz, wget returned 8.
 * opkg_download: Failed to download http://pkg.8devices.com/komikan/v1.4/packages/mipsel_24kc/telephony/Packages.gz, wget returned 8.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.