BCM63168 core dump
-
- Сообщения: 12
- Зарегистрирован: 01 июл 2018, 10:39
Подскажите пожалуйста что нужно этому устройству, я пробую установить mipssf-k3.4 версию скрипта, модем Technicolor TG799vac на BCM63168 и вроде бы MIPS Big Endian
root@mygteway:~# uname -a
Linux mygteway 3.4.11-rt19 #1 SMP PREEMPT Tue Aug 22 01:56:42 UTC 2017 mips GNU/Linux
root@mygteway:/tmp/run/mountd/sda1# wget http://bin.entware.net/mipssf-k3.4/installer/generic.sh
Connecting to bin.entware.net (81.4.123.217:80)
root@mygateway:/tmp/run/mountd/sda1# sh generic.sh
Info: Checking for prerequisites and creating folders...
Warning: Folder /opt exists!
Info: Opkg package manager deployment...
Connecting to bin.entware.net (81.4.123.217:80)
Connecting to bin.entware.net (81.4.123.217:80)
Connecting to bin.entware.net (81.4.123.217:80)
Connecting to bin.entware.net (81.4.123.217:80)
Connecting to bin.entware.net (81.4.123.217:80)
Connecting to bin.entware.net (81.4.123.217:80)
Info: Basic packages installation...
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Info: Congratulations!
Info: If there are no errors above then Entware was successfully initialized.
Info: Add /opt/bin & /opt/sbin to your PATH variable
Info: Add '/opt/etc/init.d/rc.unslung start' to startup script for Entware services to start
Info: Found a Bug? Please report at https://github.com/Entware/Entware/issues
root@mygteway:/tmp/run/mountd/sda1#
root@mygteway:/tmp/run/mountd/sda1/bin# ./opkg
Illegal instruction (core dumped)
Благодарю заранее !
root@mygteway:~# uname -a
Linux mygteway 3.4.11-rt19 #1 SMP PREEMPT Tue Aug 22 01:56:42 UTC 2017 mips GNU/Linux
root@mygteway:/tmp/run/mountd/sda1# wget http://bin.entware.net/mipssf-k3.4/installer/generic.sh
Connecting to bin.entware.net (81.4.123.217:80)
root@mygateway:/tmp/run/mountd/sda1# sh generic.sh
Info: Checking for prerequisites and creating folders...
Warning: Folder /opt exists!
Info: Opkg package manager deployment...
Connecting to bin.entware.net (81.4.123.217:80)
Connecting to bin.entware.net (81.4.123.217:80)
Connecting to bin.entware.net (81.4.123.217:80)
Connecting to bin.entware.net (81.4.123.217:80)
Connecting to bin.entware.net (81.4.123.217:80)
Connecting to bin.entware.net (81.4.123.217:80)
Info: Basic packages installation...
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Info: Congratulations!
Info: If there are no errors above then Entware was successfully initialized.
Info: Add /opt/bin & /opt/sbin to your PATH variable
Info: Add '/opt/etc/init.d/rc.unslung start' to startup script for Entware services to start
Info: Found a Bug? Please report at https://github.com/Entware/Entware/issues
root@mygteway:/tmp/run/mountd/sda1#
root@mygteway:/tmp/run/mountd/sda1/bin# ./opkg
Illegal instruction (core dumped)
Благодарю заранее !
-
- Сообщения: 12
- Зарегистрирован: 01 июл 2018, 10:39
opkg from Entware:
root@mygteway:/tmp/run/mountd/sda1/bin# file opkg
opkg: ELF 32-bit MSB executable, MIPS, MIPS32 rel2 version 1, dynamically linked, interpreter /opt/lib/ld.so.1, for GNU/Linux 3.2.0, stripped
opkg from stock OpenWrt 15.05.1 based firmware:
root@mygteway:/tmp/run/mountd/sda1/bin# file /bin/opkg
/bin/opkg: ELF 32-bit MSB executable, MIPS, MIPS32 version 1, dynamically linked, interpreter /lib/ld-uClibc.so.0, corrupted section header size
root@mygteway:/tmp/run/mountd/sda1/bin# file opkg
opkg: ELF 32-bit MSB executable, MIPS, MIPS32 rel2 version 1, dynamically linked, interpreter /opt/lib/ld.so.1, for GNU/Linux 3.2.0, stripped
opkg from stock OpenWrt 15.05.1 based firmware:
root@mygteway:/tmp/run/mountd/sda1/bin# file /bin/opkg
/bin/opkg: ELF 32-bit MSB executable, MIPS, MIPS32 version 1, dynamically linked, interpreter /lib/ld-uClibc.so.0, corrupted section header size
-
- Сообщения: 447
- Зарегистрирован: 12 авг 2015, 14:14
- Откуда: Смоленск
-
- Сообщения: 12
- Зарегистрирован: 01 июл 2018, 10:39
root@mygteway:~# cat /proc/cpuinfo
system type : VANT-F
processor : 0
cpu model : Broadcom BMIPS4350 V8.0
BogoMIPS : 397.31
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : no
hardware watchpoint : no
ASEs implemented :
shadow register sets : 1
kscratch registers : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
processor : 1
cpu model : Broadcom BMIPS4350 V8.0
BogoMIPS : 409.60
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : no
hardware watchpoint : no
ASEs implemented :
shadow register sets : 1
kscratch registers : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
Если mipssf-k3.4 Entwre завести на этом процессоре не удастся, значит нужно пересобирать все пакеты самостоятельно ? OpenWRT на этом модеме работает с бинарниками из //chaos_calmer/15.05.1/brcm63xx/generic/
system type : VANT-F
processor : 0
cpu model : Broadcom BMIPS4350 V8.0
BogoMIPS : 397.31
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : no
hardware watchpoint : no
ASEs implemented :
shadow register sets : 1
kscratch registers : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
processor : 1
cpu model : Broadcom BMIPS4350 V8.0
BogoMIPS : 409.60
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : no
hardware watchpoint : no
ASEs implemented :
shadow register sets : 1
kscratch registers : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
Если mipssf-k3.4 Entwre завести на этом процессоре не удастся, значит нужно пересобирать все пакеты самостоятельно ? OpenWRT на этом модеме работает с бинарниками из //chaos_calmer/15.05.1/brcm63xx/generic/
-
- Сообщения: 447
- Зарегистрирован: 12 авг 2015, 14:14
- Откуда: Смоленск
Dabb писал(а):Источник цитаты Если mipssf-k3.4 Entwre завести на этом процессоре не удастся, значит нужно пересобирать все пакеты самостоятельно ?
То, что Entware не взлетит ясно уже сейчас, вопрос лишь в деталях.
Dabb писал(а):Источник цитаты OpenWRT на этом модеме работает с бинарниками из //chaos_calmer/15.05.1/brcm63xx/generic/
Посмотрю конфигурацию этого target'а позже, но повторюсь, это лишь поможет ответить что именно несовместимо с Entware.
-
- Сообщения: 12
- Зарегистрирован: 01 июл 2018, 10:39
-
- Сообщения: 447
- Зарегистрирован: 12 авг 2015, 14:14
- Откуда: Смоленск
В конфиге ключ убирали перед сборкой?
-
- Сообщения: 12
- Зарегистрирован: 01 июл 2018, 10:39
Спасибо огромное, там еще в нескольких конфигах в tmp/ был прописан CPU-Type mips32r2, после замены на mips32 компилируются правильные бинарники. Единственная проблема пока это Boost не собирается с ошибками
...failed gcc.compile.c++ bin.v2/libs/fiber/build/gcc-mips/release/abi-o32/threading-multi/timed_mutex.o...
gcc.compile.c++ bin.v2/libs/fiber/build/gcc-mips/release/abi-o32/threading-multi/scheduler.o
{standard input}: Assembler messages:
{standard input}:2865: Error: opcode not supported on this processor: mips32 (mips32) `pause'
{standard input}:2936: Error: opcode not supported on this processor: mips32 (mips32) `pause'
Можно ли вообще эту библиотеку выкинуть ?
...failed gcc.compile.c++ bin.v2/libs/fiber/build/gcc-mips/release/abi-o32/threading-multi/timed_mutex.o...
gcc.compile.c++ bin.v2/libs/fiber/build/gcc-mips/release/abi-o32/threading-multi/scheduler.o
{standard input}: Assembler messages:
{standard input}:2865: Error: opcode not supported on this processor: mips32 (mips32) `pause'
{standard input}:2936: Error: opcode not supported on this processor: mips32 (mips32) `pause'
Можно ли вообще эту библиотеку выкинуть ?
-
- Администратор
- Сообщения: 1912
- Зарегистрирован: 09 авг 2015, 15:33
Dabb писал(а):Источник цитаты Единственная проблема пока это Boost не собирается с ошибками
Можно выкинуть boost и несколько пакетов. которые его используют. Сначала выкинуть mkvtoolnix, deluge, rblibtorrent ..., а потом и boost.
-
- Сообщения: 12
- Зарегистрирован: 01 июл 2018, 10:39
Вернуться в «Entware/Qnapware/Optware/Zyxware - обсуждаем репозитории пакетов»
Кто сейчас на конференции
Всего 3 посетителя :: 0 зарегистрированных, 0 скрытых и 3 гостя (основано на активности пользователей за последние 5 минут)
Больше всего посетителей (162) здесь было 16 ноя 2019, 18:33
Сейчас этот форум просматривают: нет зарегистрированных пользователей и 3 гостя