Improvements for the HiFive1 revB (#476)
* libjaylink: discovery/usb: Add product ID (PID) 0x1061 Add the 0x1061 ID used with some HiFive1 revB boards. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> * boards: sifive-hifive1-revb: Fix flash range Fix the flash protect range to avoid errors. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> * contrib: Add HiFive1 revB to udev rules Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
fcdb5d64ec
commit
62af8d3c10
|
@ -110,6 +110,7 @@ ATTRS{idVendor}=="1366", ATTRS{idProduct}=="1016", MODE="660", GROUP="plugdev",
|
|||
ATTRS{idVendor}=="1366", ATTRS{idProduct}=="1017", MODE="660", GROUP="plugdev", TAG+="uaccess"
|
||||
ATTRS{idVendor}=="1366", ATTRS{idProduct}=="1018", MODE="660", GROUP="plugdev", TAG+="uaccess"
|
||||
ATTRS{idVendor}=="1366", ATTRS{idProduct}=="1051", MODE="660", GROUP="plugdev", TAG+="uaccess"
|
||||
ATTRS{idVendor}=="1366", ATTRS{idProduct}=="1061", MODE="660", GROUP="plugdev", TAG+="uaccess"
|
||||
|
||||
# Raisonance RLink
|
||||
ATTRS{idVendor}=="138e", ATTRS{idProduct}=="9000", MODE="660", GROUP="plugdev", TAG+="uaccess"
|
||||
|
|
|
@ -61,6 +61,7 @@ static const uint16_t pids[][2] = {
|
|||
{0x1017, 0},
|
||||
{0x1018, 0},
|
||||
{0x1051, 0},
|
||||
{0x1061, 0}
|
||||
};
|
||||
|
||||
/** Maximum length of the USB string descriptor for the serial number. */
|
||||
|
|
|
@ -20,5 +20,5 @@ init
|
|||
jlink jtag 3
|
||||
|
||||
halt
|
||||
flash protect 0 64 last off
|
||||
flash protect 0 1 last off
|
||||
echo "Ready for Remote Connections"
|
||||
|
|
Loading…
Reference in New Issue