Просмотр исходного кода

add mikrotik-rb532 description

Waldemar Brodkorb 5 дней назад
Родитель
Сommit
624355243f
2 измененных файлов с 165 добавлено и 1 удалено
  1. 1 1
      openadk.org/content/_index.md
  2. 164 0
      openadk.org/content/mikrotik-rb532.md

+ 1 - 1
openadk.org/content/_index.md

@@ -57,7 +57,7 @@ There are samples for following devices:
 + [Atmel NGW100](/atmel-ngw100) / Grasshopper
 + [Sipeed MAiX BiT](/maix-bit) / [Sipeed MAiXDUiNO](maixduino)
 + [PCEngines Alix2](/alix2)
-+ Mikrotik Routerboard 532
++ [Mikrotik Routerboard 532](/mikrotik-rb532)
 + Raspberry PI 0/1/2/3/4/5
 
 Samples for different kind of system emulators or simulators are included, too.

+ 164 - 0
openadk.org/content/mikrotik-rb532.md

@@ -0,0 +1,164 @@
++++
+title = "Mikrotik RB532"
+date = "2026-02-15T09:30:45+01:00"
+type = "index"
+
++++
+
++ Architecture: MIPS
++ CPU: MIPS32 Little Endian
++ RAM: 32 MB
++ 3x 100 MBit/s Ethernet
++ NAND
++ CF-Card
++ Serial console
++ Power Supply 5V 2A
+
+Speed of the serial console is 115200. 
+
+![Mikrotik RB532](/img/mikrotik-rb532.jpg)
+
+dmesg:
+```
+[    0.000000] Linux version 7.0.3-1 (wbx@fluor) (mipsel-openadk-linux-uclibc-gcc (GCC) 15.2.0, GNU ld (GNU Binutils) 2.46.0.20260210) #1 Fri May  1 04:57:59 CEST 2026
+[    0.000000] CPU0 revision is: 0001800a (MIPS 4Kc)
+[    0.000000] User-defined physical RAM map overwrite
+[    0.000000] Primary instruction cache 8kB, VIPT, 4-way, linesize 16 bytes.
+[    0.000000] Primary data cache 8kB, 4-way, VIPT, no aliases, linesize 16 bytes
+[    0.000000] Zone ranges:
+[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
+[    0.000000] Movable zone start for each node
+[    0.000000] Early memory node ranges
+[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
+[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
+[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
+[    0.000000] pcpu-alloc: [0] 0 
+[    0.000000] Kernel command line: console=ttyS0,115200 gpio=16383 mem=32M kmac=00:0C:42:0A:7D:D3 board=500 boot=1   console=ttyS0,115200 rw root=/dev/nfs ip=dhcp
+[    0.000000] korina mac = 00:0C:42:0A:7D:D3
+[    0.000000] Unknown kernel command line parameters "gpio=16383 board=500 boot=1", will be passed to user space.
+[    0.000000] printk: log buffer data + meta data: 131072 + 409600 = 540672 bytes
+[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
+[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
+[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8192
+[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
+[    0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
+[    0.000000] NR_IRQS: 256
+[    0.000000] Initializing IRQ's: 168 out of 256
+[    0.000000] calculating r4koff... 
+[    0.000000] 000c34f8(799992)
+[    0.000000] CPU frequency 400.00 MHz
+[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556397797 ns
+[    0.000010] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737525757ns
+[    0.000235] Calibrating delay loop... 397.82 BogoMIPS (lpj=795648)
+[    0.032128] pid_max: default: 32768 minimum: 301
+[    0.033289] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
+[    0.033406] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
+[    0.035177] VFS: Finished mounting rootfs on nullfs
+[    0.044729] Memory: 25952K/32768K available (4246K kernel code, 545K rwdata, 568K rodata, 196K init, 193K bss, 6084K reserved, 0K cma-reserved)
+[    0.046565] devtmpfs: initialized
+[    0.054478] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
+[    0.054644] posixtimers hash table entries: 512 (order: 0, 2048 bytes, linear)
+[    0.054752] futex hash table entries: 256 (4096 bytes on 1 NUMA nodes, total 4 KiB, linear).
+[    0.061669] NET: Registered PF_NETLINK/PF_ROUTE protocol family
+[    0.063457] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
+[    0.066268] PCI: Initializing PCI
+[    0.072774] SCSI subsystem initialized
+[    0.073851] libata version 3.00 loaded.
+[    0.076765] PCI host bridge to bus 0000:00
+[    0.076830] pci_bus 0000:00: root bus resource [mem 0x50000000-0x5fffffff]
+[    0.076928] pci_bus 0000:00: root bus resource [io  0x18800000-0x188fffff]
+[    0.077277] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
+[    0.077438] pci 0000:00:00.0: [111d:0000] type 00 class 0x000000 conventional PCI endpoint
+[    0.077574] pci 0000:00:00.0: BAR 0 [mem 0x00000000-0x07ffffff pref]
+[    0.077672] pci 0000:00:00.0: [Firmware Bug]: BAR 1: invalid; can't size
+[    0.077735] pci 0000:00:00.0: [Firmware Bug]: BAR 2: invalid; can't size
+[    0.105678] pci 0000:00:02.0: [1106:3106] type 00 class 0x020000 conventional PCI endpoint
+[    0.105832] pci 0000:00:02.0: BAR 0 [io  0x0000-0x00ff]
+[    0.105927] pci 0000:00:02.0: BAR 1 [mem 0x00000000-0x000000ff]
+[    0.106122] pci 0000:00:02.0: supports D1 D2
+[    0.106186] pci 0000:00:02.0: PME# supported from D1 D2 D3hot D3cold
+[    0.107029] pci 0000:00:03.0: [1106:3106] type 00 class 0x020000 conventional PCI endpoint
+[    0.107182] pci 0000:00:03.0: BAR 0 [io  0x0000-0x00ff]
+[    0.107278] pci 0000:00:03.0: BAR 1 [mem 0x00000000-0x000000ff]
+[    0.107471] pci 0000:00:03.0: supports D1 D2
+[    0.107536] pci 0000:00:03.0: PME# supported from D1 D2 D3hot D3cold
+[    0.108376] pci 0000:00:04.0: [13a3:0020] type 00 class 0x0b4000 conventional PCI endpoint
+[    0.108529] pci 0000:00:04.0: BAR 0 [mem 0x00000000-0x00000fff]
+[    0.108626] pci 0000:00:04.0: BAR 1 [mem 0x00000000-0x00001fff]
+[    0.108718] pci 0000:00:04.0: BAR 2 [mem 0x00000000-0x00007fff]
+[    0.592457] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
+[    0.592605] pci 0000:00:04.0: BAR 2 [mem 0x50000000-0x50007fff]: assigned
+[    0.592726] pci 0000:00:04.0: BAR 1 [mem 0x50008000-0x50009fff]: assigned
+[    0.592843] pci 0000:00:04.0: BAR 0 [mem 0x5000a000-0x5000afff]: assigned
+[    0.592961] pci 0000:00:02.0: BAR 0 [io  0x18800000-0x188000ff]: assigned
+[    0.593079] pci 0000:00:02.0: BAR 1 [mem 0x5000b000-0x5000b0ff]: assigned
+[    0.593196] pci 0000:00:03.0: BAR 0 [io  0x18800400-0x188004ff]: assigned
+[    0.593314] pci 0000:00:03.0: BAR 1 [mem 0x5000b100-0x5000b1ff]: assigned
+[    0.594078] clocksource: Switched to clocksource MIPS
+[    0.603011] NET: Registered PF_INET protocol family
+[    0.604356] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
+[    0.607499] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
+[    0.607631] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
+[    0.607810] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
+[    0.607939] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
+[    0.608120] TCP: Hash tables configured (established 1024 bind 1024)
+[    0.608513] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
+[    0.608676] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
+[    0.609699] NET: Registered PF_UNIX/PF_LOCAL protocol family
+[    0.612586] RPC: Registered named UNIX socket transport module.
+[    0.612636] RPC: Registered udp transport module.
+[    0.612665] RPC: Registered tcp transport module.
+[    0.612694] RPC: Registered tcp-with-tls transport module.
+[    0.612724] RPC: Registered tcp NFSv4.1 backchannel transport module.
+[    0.612858] PCI: CLS 16 bytes, default 16
+[    0.615741] workingset: timestamp_bits=30 max_order=13 bucket_order=0
+[    0.621290] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
+[    0.628913] printk: legacy console [ttyS0] disabled
+[    0.630509] serial8250.0: ttyS0 at MMIO 0x18058000 (irq = 104, base_baud = 12499875) is a 16550A
+[    0.630708] printk: legacy console [ttyS0] enabled
+[    1.309232] scsi host0: pata-rb532-cf
+[    1.314799] ata1: PATA max PIO4 irq 149 lpm-pol 0
+[    1.321910] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
+[    1.329158] nand: Hynix NAND 128MiB 3,3V 8-bit
+[    1.334286] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
+[    1.343461] Scanning device for bad blocks
+[    1.373061] Bad eraseblock 235 at 0x000001d60000
+[    1.464366] Creating 2 MTD partitions on "gen_nand":
+[    1.470204] 0x000000000000-0x000000400000 : "Routerboard NAND boot"
+[    1.483900] 0x000000400000-0x000008000000 : "rootfs"
+[    1.502255] eth0: korina-0.20 15Sep2017
+[    1.507196] via-rhine 0000:00:02.0: enabling device (0080 -> 0083)
+[    1.521741] via-rhine 0000:00:02.0 eth1: VIA Rhine III at (ptrval), 00:0c:42:0a:7d:d4, IRQ 142
+[    1.532352] via-rhine 0000:00:02.0 eth1: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000
+[    1.544088] via-rhine 0000:00:03.0: enabling device (0080 -> 0083)
+[    1.558879] via-rhine 0000:00:03.0 eth2: VIA Rhine III at (ptrval), 00:0c:42:0a:7d:d5, IRQ 143
+[    1.569500] via-rhine 0000:00:03.0 eth2: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000
+[    1.581507] rc32434_wdt: Stopped watchdog timer
+[    1.587484] rc32434_wdt: Watchdog Timer version 1.0, timer margin: 20 sec
+[    1.596382] NET: Registered PF_PACKET protocol family
+[    1.664436] korina korina eth0: link up, 100Mbps, full-duplex, lpa 0xFFFFFF6F
+[    1.690250] Sending DHCP requests ., OK
+[    1.718645] IP-Config: Got DHCP answer from 192.168.1.254, my address is 192.168.1.7
+[    1.727430] IP-Config: Complete:
+[    1.731180]      device=eth0, hwaddr=00:0c:42:0a:7d:d3, ipaddr=192.168.1.7, mask=255.255.255.0, gw=192.168.1.254
+[    1.742668]      host=192.168.1.7, domain=, nis-domain=(none)
+[    1.749212]      bootserver=192.168.1.254, rootserver=192.168.1.254, rootpath=/srv/nfs/rb532,nfsvers=3
+[    1.749290]      nameserver0=192.168.1.254
+[    1.849096] VFS: Mounted root (nfs filesystem) on device 0:14.
+[    1.856561] devtmpfs: mounted
+[    1.860083] VFS: Pivoted into new rootfs
+[    1.864927] Freeing unused kernel image (initmem) memory: 196K
+[    1.871012] This architecture does not have kernel memory protection.
+[    1.877708] Run /sbin/init as init process
+[    1.882047]   with arguments:
+[    1.882201]     /sbin/init
+[    1.882265]   with environment:
+[    1.882315]     HOME=/
+[    1.882371]     TERM=linux
+[    1.882428]     gpio=16383
+[    1.882485]     board=500
+[    1.882543]     boot=1
+[    1.913465] process '/bin/busybox' started with executable stack
+```
+
+Have fun!