Skip to content

6in4: Fix missing quotes#4

Closed
arjendekorte wants to merge 1 commit intoopenwrt:masterfrom
arjendekorte:patch-1
Closed

6in4: Fix missing quotes#4
arjendekorte wants to merge 1 commit intoopenwrt:masterfrom
arjendekorte:patch-1

Conversation

@arjendekorte
Copy link

Looks like quotes are missing

Signed-off-by: Arjen M de Korte build+openwrt@de-korte.org

Looks like quotes are missing

Signed-off-by: Arjen M de Korte <build+openwrt@de-korte.org>
abhijit-mahajani-imgtec pushed a commit to abhijit-mahajani-imgtec/openwrt-upstream that referenced this pull request Oct 21, 2016
hmh pushed a commit to simetnicbr/openwrt-openwrt that referenced this pull request Jan 9, 2018
eljefe80 added a commit to eljefe80/openwrt that referenced this pull request Feb 1, 2018
The patch adds support for the V7 APAC1200:

http://www.v7world.com/uk/products/network/access-point/ac1200-dual-band-access-point.html

Specifications:
  * SoC: 580Mhz MT7620a
  * RAM: 64MB
  * Storage: 8MB of FLASH (SPI NOR)
  * 1x ar8035 GB switch
  * Ethernet: 1x1000M (802.11at POE), port openwrt#4 on ar8035
  * Wireless: QCA988X 802.11ac
              MT7620 2.4GHz 802.11b/g/n
  * 2x GPIO LED
  * 1x GPIO Reset Button
  * 1x DC Jack 12v
  * 1x UART, 3.3v, 57600

Installation:

   There are 2 ways of installation:

Serial Port/TFTP

1. Setup a tftp server and copy/link an initramfs image
 $ sudo ifconfig eth0 192.168.99.9 netmask 255.255.255.0
 $ cp openwrt-ramips-mt7620-apac1200-initramfs-kernel.bin \
   /srv/tftp/uImage_EW-7476HPC

2. Connect via ttyl uart:
 On the board is a 4-pin, 3.3v uart running at 115200bps, 8n1, etc.

3. For a few seconds after power on and during reboot, you can hit 1 to
 break the automatic boot sequence and it will prompt for tftp settings,
 use the default. This will boot the openwrt initramfs kernel.

4. Change your ip address to 192.168.1.2
 $ sudo ifconfig eth0 192.168.1.2 netmask 255.255.255.0

5. Upload the sysupgrade image to the board with scp:
 $ scp openwrt-ramips-mt7620-apac1200_v7-squashfs-sysupgrade.bin \
 root@192.168.1.1:/tmp/fw.bin

6. Log in to the running system listening on 192.168.1.1 via ssh
 as root (without password):
 $ ssh root@192.168.1.1

7. Flash the uploaded firmware file from the ssh session via the
 sysupgrade command:
 root@OpenWrt:~# sysupgrade /tmp/fw.bin

Web interface

1. Navigate to the upgrade page on the device and upload the file
  openwrt-ramips-mt7620-v7_apac1200-squashfs-factory.bin

Signed-off-by: Jeff Williams <jeff@wdwconsulting.net>
eljefe80 added a commit to eljefe80/openwrt that referenced this pull request Mar 11, 2018
The patch adds support for the Edimax CAP1200 and V7 APAC1200:

http://www.edimax.com/edimax/merchandise/merchandise_detail/data/edimax/global/edimax_pro_indoor_access_points_ac1200/cap1200/

and

http://www.v7world.com/uk/products/network/access-point/ac1200-dual-band-access-point.html

Specifications:
  * SoC: 580Mhz MT7620a
  * RAM: 64MB
  * Storage: 8MB of FLASH (SPI NOR)
  * 1x ar8035 GB switch
  * Ethernet: 1x1000M (802.11at POE), port openwrt#4 on ar8035
  * Wireless: QCA988X 802.11ac
              MT7620 2.4GHz 802.11b/g/n
  * 2x GPIO LED
  * 1x GPIO Reset Button
  * 1x DC Jack 12v
  * 1x UART, 3.3v, 57600

Installation:

   There are 2 ways of installation:

Serial Port/TFTP

1. Setup a tftp server and copy/link an initramfs image
 $ sudo ifconfig eth0 192.168.99.9 netmask 255.255.255.0
 $ cp openwrt-ramips-mt7620-edimax_cap1200-8m-initramfs-kernel.bin \
   /srv/tftp/uImage_EW-7476HPC

2. Connect via ttyl uart:
 On the board is a 4-pin, 3.3v uart running at 115200bps, 8n1, etc.

3. For a few seconds after power on and during reboot, you can hit 1 to
 break the automatic boot sequence and it will prompt for tftp settings,
 use the default. This will boot the openwrt initramfs kernel.

4. Change your ip address to 192.168.1.2
 $ sudo ifconfig eth0 192.168.1.2 netmask 255.255.255.0

5. Upload the sysupgrade image to the board with scp:
 $ scp openwrt-ramips-mt7620-edimax_cap1200-8m-squashfs-sysupgrade.bin \
 root@192.168.1.1:/tmp/fw.bin

6. Log in to the running system listening on 192.168.1.1 via ssh
 as root (without password):
 $ ssh root@192.168.1.1

7. Flash the uploaded firmware file from the ssh session via the
 sysupgrade command:
 root@OpenWrt:~# sysupgrade /tmp/fw.bin

Web interface

1. Navigate to the upgrade page on the device and upload the file
  openwrt-ramips-mt7620-edimax_cap1200-8m-squashfs-factory.bin

Signed-off-by: Jeff Williams <jeff@wdwconsulting.net>
uosbox referenced this pull request Apr 23, 2019
Fix crash due to passing invalid r2x00dev->eeprom_file pointer to
release_firmware(). Since we copy eeprom data with EEPROM_SIZE
in rt2800_read_eeprom() we can use eeprom_file->size as marker
if the file was crated by request_firmware().

Acked-by: Kristian Evensen <kristian.evensen@gmail.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
friendlyarm referenced this pull request in friendlyarm/friendlywrt Apr 25, 2019
Ameykyl referenced this pull request in Leo-Jo-My/openwrt Mar 2, 2020
htfcuddles pushed a commit to htfcuddles/openwrt that referenced this pull request Aug 26, 2021
because no log output when repeat_times equals to 1.
ref: openwrt#4
@rbpp rbpp mentioned this pull request Oct 23, 2021
ccoble pushed a commit to BasicNetworx/bnx-openwrt that referenced this pull request Dec 2, 2021
dmascord added a commit to dmascord/openwrt that referenced this pull request Dec 23, 2021
This patch adds support for the Edimax EW-7476HPC (CAP1200, 16M):

http://www.edimax.com/edimax/merchandise/merchandise_detail/data/\
edimax/global/edimax_pro_indoor_access_points_ac1200/cap1200/

and

http://www.v7world.com/uk/products/network/access-point/\
ac1200-dual-band-access-point.html

Specifications:
  * SoC: 580Mhz MT7620a
  * RAM: 64MB
  * Storage: 16MB of FLASH (SPI NOR)
  * 1x AR8035 GB switch
  * Ethernet: 1x1000M (802.11at POE), port openwrt#4 on ar8035
  * Wireless: QCA9882-BR4A 802.11ac
              MT7620 2.4GHz 802.11b/g/n
  * 2x GPIO LED
  * 1x GPIO Reset Button
  * 1x DC Jack 12v
  * 1x UART, 3.3v, 57600 [VCC][ RX, GND, TX ]

MAC address:
 | eth0       | factory mtd 0x4     | not labelled |
 | wlan1 2ghz | factory mtd 0x4     | as per label |
 | wlan0 5ghz | factory mtd 0x4 + 1 | as per label |

Installation:

Installation via Web UI: Use *factory.bin

Serial Port/TFTP

1. Setup a tftp server and copy/link an initramfs image
 $ sudo ifconfig eth0 192.168.99.9 netmask 255.255.255.0
 $ cp openwrt-ramips-mt7620-edimax_cap1200-16m-initramfs-kernel.bin \
   /srv/tftp/uImage_EW-7476HPC

2. Connect via ttyl uart:
 On the board is a 4-pin, 3.3v uart running at 57600bps, 8n1, etc.

3. For a few seconds after power on and during reboot, you can hit 1 to
 break the automatic boot sequence and it will prompt for tftp settings,
 use the default. This will boot the openwrt initramfs kernel.

4. Change your ip address to 192.168.1.2
 $ sudo ifconfig eth0 192.168.1.2 netmask 255.255.255.0

5. Upload the sysupgrade image to the board with scp:
 $ scp openwrt-ramips-mt7620-edimax_cap1200-16m-squashfs-sysupgrade.bin \
 root@192.168.1.1:/tmp/fw.bin

6. Log in to the running system listening on 192.168.1.1 via ssh
 as root (without password):
 $ ssh root@192.168.1.1

7. Flash the uploaded firmware file from the ssh session via the
 sysupgrade command:
 root@OpenWrt:~# sysupgrade /tmp/fw.bin

This patch adapted from https://github.com/eljefe80/openwrt/commit/\
851d63a

Signed-off-by: Damien Mascord <tusker@tusker.org>
@cdrag45 cdrag45 mentioned this pull request Feb 18, 2022
ganxiyun pushed a commit to ganxiyun/openwrt that referenced this pull request Jun 12, 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 <oliver@schinagl.nl>
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 <sander@vandeijck.com>
(aligned FROM from signed-off. LED+key rename, whitespace removal)
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Vladdrako pushed a commit to Vladdrako/openwrt that referenced this pull request 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 <sander@vandeijck.com>
(aligned FROM from signed-off. LED+key rename, whitespace removal)
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
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.

1 participant