ALT Linux architecture porting
 help / color / mirror / Atom feed
* [devel-ports] Fwd:  Fwd: Ports/mipsel — ALT Linux Wiki
@ 2018-07-13 15:25 Georgy Bystrenin
  0 siblings, 0 replies; only message in thread
From: Georgy Bystrenin @ 2018-07-13 15:25 UTC (permalink / raw)
  To: ALT Linux arch porting, sisyphus, Saratov BaseALT department

Дополняю

В репозитарий sisyphus_mipsel приехали новые сборки ядер

4.9.72 (получило в репозитории имя mitx-un ) для tavolga (mitx),
является не стабильным ядром так как есть плавающие баги загрузки;

4.4.100-bfk3-def-alt2, версия для 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, но
плавающие, занимаюсь воспроизведением для устранения.

Байкал (тестовая монтажная плата)
$ 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
----
С Уважением, Георгий gkot Быстренин


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-07-13 15:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-13 15:25 [devel-ports] Fwd: Fwd: Ports/mipsel — ALT Linux Wiki Georgy Bystrenin

ALT Linux architecture porting

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-ports/0 devel-ports/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-ports devel-ports/ http://lore.altlinux.org/devel-ports \
		devel-ports@lists.altlinux.org devel-ports@lists.altlinux.ru devel-ports@lists.altlinux.com
	public-inbox-index devel-ports

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-ports


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git