From: "Георгий Быстренин" <gochankot@gmail.com>
To: ALT Linux arch porting <devel-ports@lists.altlinux.org>,
sisyphus@lists.altlinux.org
Cc: devel@lists.altlinux.org
Subject: Re: [devel] [devel-ports] Fwd: Ports/mipsel — ALT Linux Wiki
Date: Wed, 11 Jul 2018 17:21:10 +0400
Message-ID: <CAHOrsKhW1nPhv=XTxWCKO7QUjkX9TtkMo63gTeHw504irOh61g@mail.gmail.com> (raw)
In-Reply-To: <CAGvFrt1-AD+viLC_W3hO=UKaAdq7LDRe+41zrY2L-jEPACqHvw@mail.gmail.com>
Дополняю
4.9.72 (получило в репозитории имя mitx-un ) для tavolga (mitx),
скорее всего уже на зеркалах или приедет сегодня ночью.
4.4.100-bfk3-def-alt2, версия для Baikal-T1 (BFK2) пересобранная с
выключенным флагом XPA_R5 (действительно решает проблему со многими
багами в частности заходом по ssh),
должно доехать на зеркала сегодня ночью.
Запуск данных версий протестирован на нашем железе, а именно:
Таволга
$ cat /proc/cpuinfo
system type : Baikal-T Generic SoC
machine : T-Platforms mITX Board
processor : 0
cpu model : MIPS P5600 V3.0 FPU V2.0
BogoMIPS : 1196.85
wait instruction : yes
microsecond timers : yes
tlb_entries : 576
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc,
0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : vz msa eva xpa
shadow register sets : 1
kscratch registers : 3
package : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
$ lscpu
Архитектура: mips
Порядок байт: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Ядер на сокет: 2
Сокетов: 1
BogoMIPS: 1196.85
$ free -m
total used free shared buffers cached
Mem: 1889 340 1548 0 24 199
-/+ buffers/cache: 116 1772
$ uname -r
4.9.72-mitx-un-alt3
$ lsmod
Module Size Used by
fuse 100989 1
snd_usb_audio 138421 0
snd_hwdep 5984 1 snd_usb_audio
snd_usbmidi_lib 22938 1 snd_usb_audio
snd_rawmidi 21833 1 snd_usbmidi_lib
snd_seq_device 3424 1 snd_rawmidi
ip_tables 12709 0
x_tables 15924 1 ip_tables
ext4 451726 3
jbd2 75586 1 ext4
mbcache 6009 4 ext4
Раздел /boot получился таким (пришлось немного доделать руками и
переложить dtb из /lib/devicetree/4.9.72-mitx-un-alt3)
Очищенный вывод $ sudo ls -la /boot/ | grep 4.9 ниже:
baikal_mitx-4.9.72-un.dtb
config-4.9.72-mitx-un-alt3
initrd-4.9.72-mitx-un-alt3.img
initrd-mitx-un.img -> initrd-4.9.72-mitx-un-alt3.img
System.map-4.9.72-mitx-un-alt3
tplatforms_mitx2-un.dtb -> baikal_mitx-4.9.72-un.dtb
vmlinuz -> vmlinuz-4.9.72-mitx-un-alt3
vmlinuz-4.9.72-mitx-un-alt3
vmlinuz-mitx-un -> vmlinuz-4.9.72-mitx-un-alt3
И конфиг запуска $ sudo cat /boot/bootconf (обращаем внимание на
0x80100000 - в 3.19.12 было другое значение)
```
default: bootconf0
bootconf0 vmlinuz-mitx-un 0x80100000 0x80100000
tplatforms_mitx2-un.dtb initrd-mitx-un.img
root=UUID=e046598e-fb67-40f2-bd73-9ba7a09574a4 rw rootwait
earlyprintk=uart8520,mmio32,0x1f04a000,115200 maxcpus=2 consoleblank=0
console=tty1 console=ttyS0,115200n8 video=sm750fb:1920x1080-32@60
nohtw nocoherentio ieee754=relaxed
```
Графика стартует, на данный момент в репу собран mate с ligthdm.
Есть некоторые плавающие баги связанные systemd или sysinit, но
плавающие, занимаюсь воспроизведением для устранения.
Иеще поймал баг при логине пользователей созданных еще при ядре 3.x.x,
но они не повторяются для новых пользователей.
Байкал (тестовая монтажная плата)
$ cat /proc/cpuinfo
system type : Baikal-T Generic SoC
machine : Baikal-T1 BFK2 evaluation board
processor : 0
cpu model : MIPS P5600 V3.0 FPU V2.0
BogoMIPS : 1196.85
wait instruction : yes
microsecond timers : yes
tlb_entries : 576
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc,
0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : vz msa eva
shadow register sets : 1
kscratch registers : 3
package : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
$ lscpu
Архитектура: mips
Порядок байт: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Ядер на сокет: 2
Сокетов: 1
BogoMIPS: 1196.85
$ free -m
total used free shared buffers cached
Mem: 3181 77 3104 0 10 32
-/+ buffers/cache: 33 3148
С версий без опции ядра XPA_R5 баги с ssh пропали (остальные пока не
все проверили), но пока нам не удалось найти правильную видеокарту,
по-этому запуск графики не тестировался.
Новых багов не замечено.
$ uname -r
4.4.100-bfk3-def-alt2
$ lsmod
Module Size Used by
ext4 438204 1
jbd2 77016 1 ext4
ext2 68996 0
mbcache 9939 2 ext2,ext4
----
С Уважением, Георгий gochankot Быстренин
10 июля 2018 г., 21:06 пользователь Aleksey Novodvorsky
<aen@altlinux.ru> написал:
> ---------- Пересылаемое сообщение ----------
> От кого: Aleksey Novodvorsky <aen@altlinux.ru>
> Дата: 10 июля 2018 г., 19:55
> Тема: Ports/mipsel — ALT Linux Wiki
> Кому: ALT Linux Team development discussions <devel@lists.altlinux.org>
>
>
> Порт mipsel развивается:
> https://www.altlinux.org/Ports/mipsel
> Сборка происходит на 64-битных сисиемах loongson, тестируется на
> системах с "Байкал-Т".
> Порт mips64el планируется к публикации в августе.
>
> Rgrds, Алексей
> _______________________________________________
> devel-ports mailing list
> devel-ports@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel-ports
parent reply other threads:[~2018-07-11 13:21 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <CAGvFrt1-AD+viLC_W3hO=UKaAdq7LDRe+41zrY2L-jEPACqHvw@mail.gmail.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAHOrsKhW1nPhv=XTxWCKO7QUjkX9TtkMo63gTeHw504irOh61g@mail.gmail.com' \
--to=gochankot@gmail.com \
--cc=devel-ports@lists.altlinux.org \
--cc=devel@lists.altlinux.org \
--cc=sisyphus@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git