Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Barrier breaker#3

Closed
yhpan0613 wants to merge 331 commits into
masterfrom
barrier_breaker
Closed

Barrier breaker#3
yhpan0613 wants to merge 331 commits into
masterfrom
barrier_breaker

Conversation

@yhpan0613

Copy link
Copy Markdown

No description provided.

jow- and others added 30 commits August 9, 2014 12:11
…with CONFIG_PER_FEED_REPO (#17430)

Signed-off-by: Jo-Philipp Wich <[email protected]>

Backport of r42041

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42089 3c298f89-4303-0410-b956-a3cf2f4a3e73
Signed-off-by: Jo-Philipp Wich <[email protected]>

Backport of r42090

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42091 3c298f89-4303-0410-b956-a3cf2f4a3e73
Signed-off-by: Jo-Philipp Wich <[email protected]>

Backport of r42092

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42094 3c298f89-4303-0410-b956-a3cf2f4a3e73
Signed-off-by: Jo-Philipp Wich <[email protected]>

Backport of r42095

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42096 3c298f89-4303-0410-b956-a3cf2f4a3e73
When looking for the first ipaddr also consider the current prefix just
like network_get_ipaddrs6 does. If ipv6-address was empty the function
did not return the first ipaddr even if the list was non-empty.

fixes commit 83e9122

Signed-off-by: Henning Schild <[email protected]>

Backport of r42139

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42140 3c298f89-4303-0410-b956-a3cf2f4a3e73
This is a bug revealed in r41830.

First, the static variable `char nif[IFNAMSIZ]` of nl80211_phy2ifname()
would be zeroed out if the argument is "wlan0" or the like.  This will
happen in the following call stack.

 nl80211_get_scanlist("radio0", buf, len);
   nl80211_phy2ifname("radio0")			// return static var nif with content "wlan0"
   nl80211_get_scanlist(nif, buf, len);		// tail call
     nl80211_get_mode(nif);
        nl80211_phy2ifname(nif);		// zero out nif

Later we try nl80211_ifadd("") which was supposed to create interface
"tmp.", but that won't happen because nl80211_msg() will put an invalid
ifidx 0 to the nlmsg.

Then iwinfo_ifup() and iwinfo_ifdown() would fail and happily
nl80211_get_scanlist() returned 0 and left *len undefined.

Signed-off-by: Yousong Zhou <[email protected]>

Backport of r42151

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42152 3c298f89-4303-0410-b956-a3cf2f4a3e73
Signed-off-by: Steven Barth <[email protected]>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42154 3c298f89-4303-0410-b956-a3cf2f4a3e73
Signed-off-by: Jiri Slachta <[email protected]>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42159 3c298f89-4303-0410-b956-a3cf2f4a3e73
we should check for ssb here.

backport of r42164.

Signed-off-by: Hauke Mehrtens <[email protected]>


git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42166 3c298f89-4303-0410-b956-a3cf2f4a3e73
backport of r42165

Signed-off-by: Rafał Miłecki <[email protected]>


git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42167 3c298f89-4303-0410-b956-a3cf2f4a3e73
Signed-off-by: Florian Fainelli <[email protected]>


git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42169 3c298f89-4303-0410-b956-a3cf2f4a3e73
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42213 3c298f89-4303-0410-b956-a3cf2f4a3e73
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42218 3c298f89-4303-0410-b956-a3cf2f4a3e73
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42219 3c298f89-4303-0410-b956-a3cf2f4a3e73
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42226 3c298f89-4303-0410-b956-a3cf2f4a3e73
…handling

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42228 3c298f89-4303-0410-b956-a3cf2f4a3e73
Disable MIPS16 to prevent it negatively affecting performance.
Observed was a increase of connection delay from ~6 to ~11 seconds
and a reduction of scp speed from 1.1MB/s to 710kB/s on brcm63xx.

Fixes #15209.

Backport of r42250.

Signed-off-by: Jonas Gorski <[email protected]>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42255 3c298f89-4303-0410-b956-a3cf2f4a3e73
Signed-off-by: Felix Fietkau <[email protected]>

Backport of r42257

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42258 3c298f89-4303-0410-b956-a3cf2f4a3e73
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42271 3c298f89-4303-0410-b956-a3cf2f4a3e73
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42275 3c298f89-4303-0410-b956-a3cf2f4a3e73
Signed-off-by: Jo-Philipp Wich <[email protected]>

Backport of r42273

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42285 3c298f89-4303-0410-b956-a3cf2f4a3e73
…present

A quite frequent problem after sysupgrading from an older, SSL enabled build
is that ustream-ssl is not installed so uhttpd fails to come up again due to
https listening directives in the preserved configuration.

Skip key/cert and ssl listen options when libustream-ssl.so is not present.

Signed-off-by: Jo-Philipp Wich <[email protected]>

Backport of r42284

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42286 3c298f89-4303-0410-b956-a3cf2f4a3e73
…relocatable

Signed-off-by: Felix Fietkau <[email protected]>

Backport of r42300

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42301 3c298f89-4303-0410-b956-a3cf2f4a3e73
Signed-off-by: Felix Fietkau <[email protected]>

Backport of r42302

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42303 3c298f89-4303-0410-b956-a3cf2f4a3e73
Signed-off-by: Felix Fietkau <[email protected]>

Backport of r42308

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42310 3c298f89-4303-0410-b956-a3cf2f4a3e73
Signed-off-by: Felix Fietkau <[email protected]>

Backport of r42309

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42311 3c298f89-4303-0410-b956-a3cf2f4a3e73
Signed-off-by: Felix Fietkau <[email protected]>

Backport of r42322

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42323 3c298f89-4303-0410-b956-a3cf2f4a3e73
Signed-off-by: Felix Fietkau <[email protected]>

Backport of r42329

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42330 3c298f89-4303-0410-b956-a3cf2f4a3e73
Backport of r42337.

Signed-off-by: Jonas Gorski <[email protected]>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42338 3c298f89-4303-0410-b956-a3cf2f4a3e73
Signed-off-by: Felix Fietkau <[email protected]>

Backport of r42339

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42340 3c298f89-4303-0410-b956-a3cf2f4a3e73
dmascord referenced this pull request in dmascord/openwrt Dec 12, 2021
Ruckus R500 datasheet: https://webresources.ruckuswireless.com/datasheets/r500/ds-ruckus-r500.html

Specifications:

SoC: 720Mhz QCA9558
RAM: 256MB
Storage: 64MB of FLASH (SPI NOR - S25FL512S)
1x AR8327 GB switch
Ethernet: 1x1000M (802.11), port #3 on AR8327,
          1x1000M (802.11at POE), port openwrt#5 on AR8327
Wireless: QCA988X HW2.0 802.11ac
AR9550 2.4GHz 802.11b/g/n
5x GPIO LED
1x GPIO Reset Button
1x DC Jack 12v
1x UART, 3.3v, 115200

MAC addresses:
 1. art 0x807E | Factory bridged | f0:3e:90:XX:XX:80 | - on label - not in use in OpenWRT
 2. art 0x66   | eth0            | f0:3e:90:XX:XX:83 | (port 5, cpu port 6) - PoE port
 3. art 0x6c   | eth1            | f0:3e:90:XX:XX:84 | (port 3, cpu port 0) - non PoE port

Installation:

Serial Port/TFTP

 1. Setup tftp server on the local network
 2. Connect to UART with TTL
 3. Interupt uboot process with Ctrl-C
 4. Setup appropriate ipaddr and serverip in setenv:
	a) setenv ipaddr 192.168.1.1
	b) setenv serverip 192.168.1.2
 5. On TFTP Server - copy openwrt-ath79-generic-ruckus_r500-initramfs-kernel.bin to /srv/tftp/1600000A.img
 6. On R500 boot into initrd image
	a) tftpboot
	b) bootm
 7. On TFTP server - scp openwrt-ath79-generic-ruckus_r500-squashfs-sysupgrade.bin [email protected]:/tmp
 8. On R500 - sysupgrade /tmp/openwrt-ath79-generic-ruckus_r500-squashfs-sysupgrade.bin

This patch adapted from https://github.com/victhor393/openwrt-ruckus-r500/tree/ruckus-r500-master

Signed-off-by: Damien Mascord <[email protected]>
@cdrag45 cdrag45 mentioned this pull request Feb 18, 2022
nquest pushed a commit to nquest/openwrt that referenced this pull request Jul 4, 2022
oliv3r added a commit to oliv3r/openwrt that referenced this pull request Jan 6, 2023
Our hardware supports the R4K FPU, so lets enable it. Without this
option, we are getting 'illegal instruction' errors. Enabling this
allows us to compile software with hardware-float enabled (-mhard-float)
and yields the following results from tst-ieee754 [0]:

```
tst-ieee754                                   100%  256KB 256.4KB/s   00:01
root@OpenWrt:/# chmod +x tst-ieee754
root@OpenWrt:/# ./tst-ieee754
$Id: tst-ieee754.c 144615 2022-01-06 15:10:31Z vinc17/zira $

FLT_RADIX = 2
FLT_MANT_DIG = 24
DBL_MANT_DIG = 53
LDBL_MANT_DIG = 53

FLT_MIN_EXP = -125
DBL_MIN_EXP = -1021
LDBL_MIN_EXP = -1021

FLT_MAX_EXP = 128
DBL_MAX_EXP = 1024
LDBL_MAX_EXP = 1024

FLT_EPSILON = 1.19209e-07 = 0x1p-23
DBL_EPSILON = 2.22045e-16 = 0x1p-52
LDBL_EPSILON = 2.22045e-16 = 0x1p-52

FLT_MIN = 1.17549e-38 = 0x1p-126
DBL_MIN = 2.22507e-308 = 0x1p-1022
LDBL_MIN = 2.22507e-308 = 0x1p-1022

FLT_MAX = 3.40282e+38 = 0x1.fffffep+127
DBL_MAX = 1.79769e+308 = 0x1.fffffffffffffp+1023
LDBL_MAX = 1.79769e+308 = 0x1.fffffffffffffp+1023

sizeof(float) = 4
sizeof(double) = 8
sizeof(long double) = 8

__STDC_IEC_559__ defined:
The implementation shall conform to the IEEE-754 standard.
FLT_EVAL_METHOD is 0 (see ISO/IEC 9899, 5.2.4.2.2#8).

x + y, with x = 9007199254740994.0 and y = 1.0 - 1/65536.0 (type double).
The IEEE-754 result is 9007199254740994 with double precision.
The IEEE-754 result is 9007199254740996 with extended precision.
The obtained result is 9007199254740994.

NAN != NAN --> 1 (should be 1)
isnan(NAN) --> 1 (should be 1)
NAN >= 0.0 --> 0 (should be 0)
NAN <= 0.0 --> 0 (should be 0)
  openwrt#3||openwrt#4   --> 0 (should be 0)
!(openwrt#3||openwrt#4)  --> 1 (should be 1)
  openwrt#3 + openwrt#4  --> 0 (should be 0)
!(openwrt#3 + openwrt#4) --> 1 (should be 1)
The FE_INVALID flag is not set for NAN >= 0.
The FE_INVALID flag is not set for NAN <= 0.
The FE_INVALID flag is not set for NAN > 0.
The FE_INVALID flag is not set for NAN < 0.

x * y + z with FP_CONTRACT OFF is not fused.

Error in cast of double to unsigned: incorrect value

Rounding to nearest
-------> to nearest (to nearest / to nearest)
(double) 0 = 0
Signed zero tests (x is 0.0 and y is -0.0):
  Test 1.0 / x != 1.0 / y  returns 1 (should be 1).
  Test 1.0 / x == 1.0 / +x returns 1 (should be 1).
  Test 1.0 / x != 1.0 / +y returns 1 (should be 1).
  Test 1.0 / x != 1.0 / -x returns 1 (should be 1).
  Test 1.0 / x == 1.0 / -y returns 1 (should be 1).
0 + 0 = 0
0 - 0 = 0
0 + -0 = 0
0 - -0 = 0
-0 + 0 = 0
-0 - 0 = -0
-0 + -0 = -0
-0 - -0 = 0
1 + 1 = 2
1 - 1 = 0
1 + -1 = 0
1 - -1 = 2
0 * 0 = 0
0 * -0 = -0
-0 * 0 = -0
-0 * -0 = 0
Constant expression 1 + DBL_MIN = 1
Variable expression 1 + DBL_MIN = 1
Constant expression 1 - DBL_MIN = 1
Variable expression 1 - DBL_MIN = 1
1/3 in float       : 0x1.555556p-2
1/3 in double      : 0x1.5555555555555p-2
1/3 in long double : 0x1.5555555555555p-2
Dec 1.1  = 0x1.199999999999ap+0
FLT_MAX  = 0x1.fffffep+127
DBL_MAX  = 0x1.fffffffffffffp+1023
LDBL_MAX = 0x1.fffffffffffffp+1023
FLT_EPSILON  = 0x1p-23
DBL_EPSILON  = 0x1p-52
LDBL_EPSILON = 0x1p-52
pow(nan, nan) = -inf
pow(nan, inf) = -inf
pow(nan, -inf) = -inf
pow(nan, 0) = -inf
pow(nan, -0) = -inf
pow(nan, 0.5) = -inf
pow(nan, -0.5) = -inf
pow(nan, 1) = -inf
pow(nan, -1) = -inf
pow(nan, 2) = -inf
pow(nan, -2) = -inf
pow(inf, nan) = -inf
pow(inf, inf) = -inf
pow(inf, -inf) = -inf
pow(inf, 0) = -inf
pow(inf, -0) = -inf
pow(inf, 0.5) = -inf
pow(inf, -0.5) = -inf
pow(inf, 1) = -inf
pow(inf, -1) = -inf
pow(inf, 2) = -inf
pow(inf, -2) = -inf
pow(-inf, nan) = -inf
pow(-inf, inf) = -inf
pow(-inf, -inf) = -inf
pow(-inf, 0) = -inf
pow(-inf, -0) = -inf
pow(-inf, 0.5) = -inf
pow(-inf, -0.5) = -inf
pow(-inf, 1) = -inf
pow(-inf, -1) = -inf
pow(-inf, 2) = -inf
pow(-inf, -2) = -inf
pow(0, nan) = -inf
pow(0, inf) = -inf
pow(0, -inf) = -inf
pow(0, 0) = -inf
pow(0, -0) = -inf
pow(0, 0.5) = -inf
pow(0, -0.5) = -inf
pow(0, 1) = -inf
pow(0, -1) = -inf
pow(0, 2) = -inf
pow(0, -2) = -inf
pow(-0, nan) = -inf
pow(-0, inf) = -inf
pow(-0, -inf) = -inf
pow(-0, 0) = -inf
pow(-0, -0) = -inf
pow(-0, 0.5) = -inf
pow(-0, -0.5) = -inf
pow(-0, 1) = -inf
pow(-0, -1) = -inf
pow(-0, 2) = -inf
pow(-0, -2) = -inf
pow(0.5, nan) = -inf
pow(0.5, inf) = -inf
pow(0.5, -inf) = -inf
pow(0.5, 0) = -inf
pow(0.5, -0) = -inf
pow(0.5, 0.5) = -inf
pow(0.5, -0.5) = -inf
pow(0.5, 1) = -inf
pow(0.5, -1) = -inf
pow(0.5, 2) = -inf
pow(0.5, -2) = -inf
pow(-0.5, nan) = -inf
pow(-0.5, inf) = -inf
pow(-0.5, -inf) = -inf
pow(-0.5, 0) = -inf
pow(-0.5, -0) = -inf
pow(-0.5, 0.5) = -inf
pow(-0.5, -0.5) = -inf
pow(-0.5, 1) = -inf
pow(-0.5, -1) = -inf
pow(-0.5, 2) = -inf
pow(-0.5, -2) = -inf
pow(1, nan) = -inf
pow(1, inf) = -inf
pow(1, -inf) = -inf
pow(1, 0) = -inf
pow(1, -0) = -inf
pow(1, 0.5) = -inf
pow(1, -0.5) = -inf
pow(1, 1) = -inf
pow(1, -1) = -inf
pow(1, 2) = -inf
pow(1, -2) = -inf
pow(-1, nan) = -inf
pow(-1, inf) = -inf
pow(-1, -inf) = -inf
pow(-1, 0) = -inf
pow(-1, -0) = -inf
pow(-1, 0.5) = -inf
pow(-1, -0.5) = -inf
pow(-1, 1) = -inf
pow(-1, -1) = -inf
pow(-1, 2) = -inf
pow(-1, -2) = -inf
pow(2, nan) = -inf
pow(2, inf) = -inf
pow(2, -inf) = -inf
pow(2, 0) = -inf
pow(2, -0) = -inf
pow(2, 0.5) = -inf
pow(2, -0.5) = -inf
pow(2, 1) = -inf
pow(2, -1) = -inf
pow(2, 2) = -inf
pow(2, -2) = -inf
pow(-2, nan) = -inf
pow(-2, inf) = -inf
pow(-2, -inf) = -inf
pow(-2, 0) = -inf
pow(-2, -0) = -inf
pow(-2, 0.5) = -inf
pow(-2, -0.5) = -inf
pow(-2, 1) = -inf
pow(-2, -1) = -inf
pow(-2, 2) = -inf
pow(-2, -2) = -inf

Rounding toward 0
Error

Rounding to -oo
Error

Rounding to +oo
Error
```

Not everything is perfectly supported, but most stuff seems to be
covered.

[0]: https://www.vinc17.net/research/fptest.en.html

Signed-off-by: Olliver Schinagl <[email protected]>
openwrt-bot pushed a commit that referenced this pull request May 20, 2023
Iomega Storcenter ix4-200d is a four-bay SATA NAS powered by a Marvell
Kirkwood SoC clocked at 1.2GHz. It has 512MB of RAM and 32MB of
flash memory, 3x USB 2.0 and 2x 1Gbit/s NIC

Specification:
- SoC: Marvell Kirkwood 88F6281
- CPU/Speed: 1200Mhz
- Flash size: 32 MiB
- RAM: 512MB
- LAN: 2x 1Gbit/s
- 3x USB 2.0

Notes:
- The blue drive LED is triggered by HDD activity, it can not be controlled
  via GPIO.
- The LCD screen requires proprietary code and does not function at this time.
- Due to a kernel-related issue with the Marvell 88SE6121 SATA controller,
  currently only trays numbered #3 and #4 work, #1 and #2 do not. [1]

Serial pinout:

    CN4
    --------------
    | 10 8 6 4 2 |
    |  9 7 5 3 1 |
    -------------- PIN 1 Mark (fat line)

     1 = RXD
     4 = TXD
     6 = GND
     9 = 3.3V (not necessary to connect)

Installation instructions:
1. download initramfs-uImage and copy into tftp server
2. connect the tftp server to network port #1
3. access uboot environment with serial cable and run

    setenv mainlineLinux yes
    setenv arcNumber 1682
    setenv console 'console=ttyS0,115200n8'
    setenv mtdparts 'mtdparts=orion_nand:0x100000@0x000000(u-boot)ro,0x20000@0xA0000(u-boot environment)ro,0x300000@0x100000(kernel),0x1C00000@0x400000(ubi)'
    setenv bootargs_root 'root='
    setenv bootcmd 'setenv bootargs ${console} ${mtdparts} ${bootargs_root}; nand read.e 0x800000 0x100000 0x300000; bootm 0x00800000'
    saveenv
    setenv serverip 192.168.1.1
    setenv ipaddr 192.168.1.2
    tftpboot 0x00800000 [initramfs-uImage filename]
    bootm 0x00800000

4. connect to LAN on network port #2, log into openwrt and sysupgrade to install into flash

[1] https://bugzilla.kernel.org/show_bug.cgi?id=216094

Signed-off-by: Sander van Deijck <[email protected]>
(aligned FROM from signed-off. LED+key rename, whitespace removal)
Signed-off-by: Christian Lamparter <[email protected]>
Vladdrako referenced this pull request in Vladdrako/openwrt May 24, 2023
Iomega Storcenter ix4-200d is a four-bay SATA NAS powered by a Marvell
Kirkwood SoC clocked at 1.2GHz. It has 512MB of RAM and 32MB of
flash memory, 3x USB 2.0 and 2x 1Gbit/s NIC

Specification:
- SoC: Marvell Kirkwood 88F6281
- CPU/Speed: 1200Mhz
- Flash size: 32 MiB
- RAM: 512MB
- LAN: 2x 1Gbit/s
- 3x USB 2.0

Notes:
- The blue drive LED is triggered by HDD activity, it can not be controlled
  via GPIO.
- The LCD screen requires proprietary code and does not function at this time.
- Due to a kernel-related issue with the Marvell 88SE6121 SATA controller,
  currently only trays numbered #3 and openwrt#4 work, #1 and #2 do not. [1]

Serial pinout:

    CN4
    --------------
    | 10 8 6 4 2 |
    |  9 7 5 3 1 |
    -------------- PIN 1 Mark (fat line)

     1 = RXD
     4 = TXD
     6 = GND
     9 = 3.3V (not necessary to connect)

Installation instructions:
1. download initramfs-uImage and copy into tftp server
2. connect the tftp server to network port #1
3. access uboot environment with serial cable and run

    setenv mainlineLinux yes
    setenv arcNumber 1682
    setenv console 'console=ttyS0,115200n8'
    setenv mtdparts 'mtdparts=orion_nand:0x100000@0x000000(u-boot)ro,0x20000@0xA0000(u-boot environment)ro,0x300000@0x100000(kernel),0x1C00000@0x400000(ubi)'
    setenv bootargs_root 'root='
    setenv bootcmd 'setenv bootargs ${console} ${mtdparts} ${bootargs_root}; nand read.e 0x800000 0x100000 0x300000; bootm 0x00800000'
    saveenv
    setenv serverip 192.168.1.1
    setenv ipaddr 192.168.1.2
    tftpboot 0x00800000 [initramfs-uImage filename]
    bootm 0x00800000

4. connect to LAN on network port #2, log into openwrt and sysupgrade to install into flash

[1] https://bugzilla.kernel.org/show_bug.cgi?id=216094

Signed-off-by: Sander van Deijck <[email protected]>
(aligned FROM from signed-off. LED+key rename, whitespace removal)
Signed-off-by: Christian Lamparter <[email protected]>
qosmio referenced this pull request in qosmio/openwrt-ipq Feb 23, 2024
Recent commit `d08d53346b993431e309797d5e6de8da20147c3c`

qca-ssdk: support selecting PCS channel for PORT3 on IPQ6018

Ends up breaking patch.

Updated to address the following:

Applying patch 102-qca-ssdk-support-selecting-PCS-channel-for-PORT3-on-.patch
patching file include/init/ssdk_dts.h
Hunk #1 succeeded at 99 (offset -2 lines).
Hunk #2 succeeded at 161 (offset -3 lines).
patching file src/adpt/cppe/adpt_cppe_portctrl.c
patching file src/adpt/hppe/adpt_hppe_uniphy.c
Hunk #1 succeeded at 1152 (offset 30 lines).
Hunk #2 succeeded at 1161 (offset 30 lines).
patching file src/init/ssdk_dts.c
Hunk #1 FAILED at 279.
Hunk #2 succeeded at 305 (offset -8 lines).
Hunk #3 succeeded at 1310 (offset -16 lines).
1 out of 3 hunks FAILED -- rejects in file src/init/ssdk_dts.c
Patch 102-qca-ssdk-support-selecting-PCS-channel-for-PORT3-on-.patch does not apply (enforce with -f)
openwrt-ubnt pushed a commit to openwrt-ubnt/openwrt-ubnt-6-lite that referenced this pull request Feb 25, 2024
Switches uarts to 8250_mtk driver, disables uart loopback test at boot,
enables fifo for uart openwrt#3, adds mt7915dan and flow control support to
the btmtkuart driver and derives bluetooth address from system's mac
address. Both uarts need switching because the serial0 alias doesn't
appear to work, and the bluetooth uart gets claimed for the console
when it loads before the generic driver.

Signed-off-by: James McKenzie <[email protected]>
openwrt-ubnt pushed a commit to openwrt-ubnt/openwrt-ubnt-6-lite that referenced this pull request Feb 25, 2024
Switches uarts to 8250_mtk driver, disables uart loopback test at boot,
enables fifo for uart openwrt#3, adds mt7915dan and flow control support to
the btmtkuart driver and derives bluetooth address from system's mac
address. Both uarts need switching because the serial0 alias doesn't
appear to work, and the bluetooth uart gets claimed for the console
when it loads before the generic driver.

Signed-off-by: James McKenzie <[email protected]>
openwrt-ubnt pushed a commit to openwrt-ubnt/openwrt-ubnt-6-lite that referenced this pull request Feb 25, 2024
Switches uarts to 8250_mtk driver, disables uart loopback test at boot,
enables fifo for uart openwrt#3, adds mt7915dan and flow control support to
the btmtkuart driver and derives bluetooth address from system's mac
address. Both uarts need switching because the serial0 alias doesn't
appear to work, and the bluetooth uart gets claimed for the console
when it loads before the generic driver.

Signed-off-by: James McKenzie <[email protected]>
openwrt-ubnt pushed a commit to openwrt-ubnt/openwrt-ubnt-6-lite that referenced this pull request Feb 25, 2024
Switches uarts to 8250_mtk driver, disables uart loopback test at boot,
enables fifo for uart openwrt#3, adds mt7915dan and flow control support to
the btmtkuart driver and derives bluetooth address from system's mac
address. Both uarts need switching because the serial0 alias doesn't
appear to work, and the bluetooth uart gets claimed for the console
when it loads before the generic driver.

Signed-off-by: James McKenzie <[email protected]>
openwrt-ubnt pushed a commit to openwrt-ubnt/openwrt-ubnt-6-lite that referenced this pull request Feb 27, 2024
Switches uarts to 8250_mtk driver, disables uart loopback test at boot,
enables fifo for uart openwrt#3, adds mt7915dan and flow control support to
the btmtkuart driver and derives bluetooth address from system's mac
address. Both uarts need switching because the serial0 alias doesn't
appear to work, and the bluetooth uart gets claimed for the console
when it loads before the generic driver.

Signed-off-by: James McKenzie <[email protected]>
openwrt-ubnt pushed a commit to openwrt-ubnt/openwrt-ubnt-6-lite that referenced this pull request Feb 28, 2024
Switches uarts to 8250_mtk driver, disables uart loopback test at boot,
enables fifo for uart openwrt#3, adds mt7915dan and flow control support to
the btmtkuart driver and derives bluetooth address from system's mac
address. Both uarts need switching because the serial0 alias doesn't
appear to work, and the bluetooth uart gets claimed for the console
when it loads before the generic driver.

Signed-off-by: James McKenzie <[email protected]>
@ghost ghost mentioned this pull request Nov 20, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants