Răsfoiți Sursa

openadk: some more devices for the gallery

Waldemar Brodkorb 3 săptămâni în urmă
părinte
comite
997c66430e

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

@@ -48,8 +48,10 @@ There are samples for following devices:
 + [Solidrun Cubox-i](cubox-i) / Solidrun Hummingboard
 + [Linksys NSLU2](/nslu2)
 + [Hitachi EDOSK-2674](/edosk-2674)
++ [Beaglebone Black](/bb)
++ [Synopsys HSDK](/synopsys-hsdk)
++ [Atmel NGW100](/atmel-ngw100) / Grasshopper
 + Mikrotik Routerboard 532
-+ Atmel NGW100 / Grasshopper 
 + PCEngines Wrap/Alix/APU 
 + Raspberry PI 0/1/2/3/4/5
 

+ 118 - 0
openadk.org/content/atmel-ngw100.md

@@ -0,0 +1,118 @@
++++
+title = "Atmel NGW100"
+date = "2026-02-15T09:30:45+01:00"
+type = "index"
+
++++
+
++ Architecture: AVR32
++ CPU: Atmel AT32AP7000 140Mhz 32 Bit
++ RAM: 32 MB
++ 2x 100 MBit/s Ethernet MACB
++ SD-Card
++ Serial console
++ Power Supply 9V-15V 2A
+
+Speed of the serial console is 115200. 
+
+ATTENTION: Because of the very old toolchain, you have to build the
+OpenADK image via a Debian 12 chroot.
+
+![Atmel NGW100](/img/atmel-ngw100.jpg)
+
+Wikipedia: https://en.wikipedia.org/wiki/AVR32
+
+dmesg:
+```
+[    0.000000] Linux version 4.4.302-1 (root@fluor) (gcc version 4.4.7 (GCC) ) #1 Sun Feb 15 19:03:59 UTC 2026
+[    0.000000] CPU: AT32AP700x chip revision C
+[    0.000000] CPU: AP7 [01] core revision 0 (AVR32B arch revision 1)
+[    0.000000] CPU: MMU configuration: Shared TLB
+[    0.000000] CPU: features: dsp simd ocd perfctr java
+[    0.000000] CPU: Running at 140.000 MHz
+[    0.000000] Physical memory:
+[    0.000000]   10000000-11ffffff
+[    0.000000] Reserved memory:
+[    0.000000]   10000000-101882b7: Kernel code
+[    0.000000]   101882b8-10201bc7: Kernel data
+[    0.000000] Exception vectors start at 9000d000
+[    0.000000] CPU: Paging enabled
+[    0.000000] Node 0: start_pfn = 0x10000, low = 0x12000
+[    0.000000] On node 0 totalpages: 8192
+[    0.000000] free_area_init_node: node 0, pgdat 901d5d58, node_mem_map 90204000
+[    0.000000]   Normal zone: 64 pages used for memmap
+[    0.000000]   Normal zone: 0 pages reserved
+[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
+[    0.000000] Node 0: mem_map starts at 90204000
+[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
+[    0.000000] pcpu-alloc: [0] 0 
+[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
+[    0.000000] Kernel command line: console=ttyS0 root=/dev/mmcblk0p1 ro rootwait
+[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
+[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
+[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
+[    0.000000] Sorting __ex_table...
+[    0.000000] Memory: 30384K/32768K available (1516K kernel code, 104K rwdata, 204K rodata, 52K init, 174K bss, 2384K reserved, 0K cma-reserved)
+[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
+[    0.000000] NR_IRQS:288
+[    0.000000] clocksource: avr32_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 13651860332 ns
+[    0.000000] avr32_comparator: irq 0, 140.000 MHz
+[    0.084000] console [ttyS0] enabled
+[    0.164000] Calibrating delay using timer specific routine.. 282.41 BogoMIPS (lpj=564821)
+[    0.168000] pid_max: default: 4096 minimum: 301
+[    0.172000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
+[    0.176000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
+[    0.188000] devtmpfs: initialized
+[    0.196000] smc smc.0: Atmel Static Memory Controller at 0xfff03400
+[    0.200000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
+[    0.204000] futex hash table entries: 16 (order: -5, 192 bytes)
+[    0.208000] NET: Registered protocol family 16
+[    0.212000] pio0: base 0xffe02800, irq 13 chains 96..127
+[    0.212000] pio1: base 0xffe02c00, irq 14 chains 128..159
+[    0.212000] pio2: base 0xffe03000, irq 15 chains 160..191
+[    0.212000] pio3: base 0xffe03400, irq 16 chains 192..223
+[    0.212000] pio4: base 0xffe03800, irq 17 chains 224..255
+[    0.216000] pdc pdc.0: Atmel Peripheral DMA Controller enabled
+[    0.220000] at32_eic at32_eic.0: External Interrupt Controller at 0xfff00100, IRQ 19
+[    0.224000] at32_eic at32_eic.0: Handling 4 external IRQs, starting with IRQ 64
+[    0.240000] clocksource: Switched to clocksource avr32_counter
+[    0.252000] NET: Registered protocol family 2
+[    0.256000] IP idents hash table entries: 2048 (order: 2, 16384 bytes)
+[    0.268000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
+[    0.276000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
+[    0.280000] TCP: Hash tables configured (established 1024 bind 1024)
+[    0.288000] UDP hash table entries: 256 (order: 0, 4096 bytes)
+[    0.296000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
+[    0.300000] NET: Registered protocol family 1
+[    0.360000] io scheduler noop registered
+[    0.364000] io scheduler deadline registered (default)
+[    0.372000] atmel_usart.0: ttyS0 at MMIO 0xffe01000 (irq = 7, base_baud = 2187500) is a ATMEL_SERIAL
+[    0.392000] macb macb.0 eth0: Cadence MACB rev 0x0001010c at 0xfff01800 irq 25 (00:04:25:1c:5a:ac)
+[    0.400000] macb macb.0 eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=macb-0:01, irq=-1)
+[    0.420000] macb macb.1 eth1: Cadence MACB rev 0x0001010c at 0xfff01c00 irq 26 (00:04:25:1c:5a:ad)
+[    0.428000] macb macb.1 eth1: attached PHY driver [Generic PHY] (mii_bus:phy_addr=macb-1:03, irq=-1)
+[    0.436000] sdhci: Secure Digital Host Controller Interface driver
+[    0.444000] sdhci: Copyright(c) Pierre Ossman
+[    0.448000] atmel_mci atmel_mci.0: version: 0x210
+[    0.452000] atmel_mci atmel_mci.0: using PIO
+[    0.460000] atmel_mci atmel_mci.0: No vmmc regulator found
+[    0.464000] atmel_mci atmel_mci.0: No vqmmc regulator found
+[    0.500000] atmel_mci atmel_mci.0: Atmel MCI controller at 0xfff02400 irq 28, 1 slots
+[    0.508000] sdhci-pltfm: SDHCI platform and OF driver helper
+[    0.512000] NET: Registered protocol family 17
+[    0.528000] Starting Linux (built with OpenADK).
+[    0.532000] Waiting for root device /dev/mmcblk0p1...
+[    0.568000] mmc0: new SDHC card at address ab40
+[    0.576000] mmcblk0: mmc0:ab40 SU04G 3.69 GiB 
+[    0.584000]  mmcblk0: p1 p4
+[    0.644000] EXT4-fs (mmcblk0p1): couldn't mount as ext3 due to feature incompatibilities
+[    0.684000] EXT4-fs (mmcblk0p1): mounted filesystem without journal. Opts: (null)
+[    0.692000] VFS: Mounted root (ext4 filesystem) readonly on device 179:1.
+[    0.724000] devtmpfs: mounted
+[    0.728000] Freeing unused kernel memory: 52K
+[    2.584000] random: nonblocking pool is initialized
+[    3.212000] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
+[   28.716000] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
+```
+
+Have fun!

+ 185 - 0
openadk.org/content/synopsys-hsdk.md

@@ -0,0 +1,185 @@
++++
+title = "Synopsys HSDK"
+date = "2026-02-15T09:30:45+01:00"
+type = "index"
+
++++
+
++ Architecture: ARC Little-Endian
++ CPU: 4xARCv2 1GhZ
++ RAM: 1 GB
++ Ethernet: StMicro STMETH
++ Micro-SD-Card
++ 2xUSB 2.0
++ Power supply 12V 2A
++ Bootloader: U-Boot
+
+![Synopsys HSDK](/img/synopsys-hsdk.jpg)
+
+Dmesg:
+```
+[    0.000000] Linux version 6.18.9-1 (wbx@fluor) (arc-openadk-linux-uclibc-gcc (GCC) 15.2.0, GNU ld (GNU Binutils) 2.46.0.20260210) #1 SMP Sun Feb 15 18:17:43 CET 2026
+[    0.000000] Memory @ 80000000 [1024M] 
+[    0.000000] OF: fdt: Machine model: snps,hsdk
+[    0.000000] earlycon: uart8250 at MMIO32 0xf0005000 (options '115200n8')
+[    0.000000] printk: legacy bootconsole [uart8250] enabled
+[    0.000000] Failed to get possible-cpus from dtb, pretending all 4 cpus exist
+[    0.000000] 
+[    0.000000] IDENTITY	: ARCVER [0x52] ARCNUM [0x0] CHIPID [ 0x0]
+[    0.000000] processor [0]	: HS38 R2.1 (ARCv2 ISA) 
+[    0.000000] ISA Extn	: atomic ll64 unalign mpy[opt 9] div_rem   FPU: sp dp
+[    0.000000] BPU		: full match, cache:2048, Predict Table:16384 Return stk: 8
+[    0.000000] MMU [v4]	: 8k/2M, swalk 2 lvl, JTLB 256x4, uDTLB 8, uITLB 4, SASID, PAE40 (not used) 
+[    0.000000] I-Cache		: 64K, 4way/set, 64B Line, VIPT aliasing
+[    0.000000] D-Cache		: 64K, 2way/set, 64B Line, PIPT
+[    0.000000] SLC		: 512K, 128B Line
+[    0.000000] Peripherals	: 0xf0000000, IO-Coherency (per-device) 
+[    0.000000] Timers		: Timer0 Timer1 RTC [UP 64-bit
+[    0.000000] Extn [SMP]	: ARConnect (v2): 4 cores with IPI IDU DEBUG GFRC
+[    0.000000] archs-intc	: 2 priority levels (default 1) FIRQ (not used)
+[    0.000000] Zone ranges:
+[    0.000000]   Normal   [mem 0x0000000080000000-0x00000000bfffffff]
+[    0.000000] Movable zone start for each node
+[    0.000000] Early memory node ranges
+[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000bfffffff]
+[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff]
+[    0.000000] OF: reserved mem: Reserved memory: No reserved-memory node in the DT
+[    0.000000] percpu: Embedded 6 pages/cpu s18304 r8192 d22656 u49152
+[    0.000000] pcpu-alloc: s18304 r8192 d22656 u49152 alloc=6*8192
+[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
+[    0.000000] Kernel command line: earlycon=uart8250,mmio32,0xf0005000,115200n8 console=ttyS0,115200n8 debug print-fatal-signals=1 root=/dev/mmcblk0p1 rootwait console=ttyS0,115200n8
+[    0.000000] printk: log buffer data + meta data: 131072 + 409600 = 540672 bytes
+[    0.000000] Dentry cache hash table entries: 131072 (order: 6, 524288 bytes, linear)
+[    0.000000] Inode-cache hash table entries: 65536 (order: 5, 262144 bytes, linear)
+[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 131072
+[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
+[    0.000000] SLUB: HWalign=128, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
+[    0.000000] rcu: Hierarchical RCU implementation.
+[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
+[    0.000000] NR_IRQS: 512
+[    0.000000] MCIP: IDU supports 64 common irqs
+[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
+[    0.000001] sched_clock: 64 bits at 1000MHz, resolution 1ns, wraps every 4398046511103ns
+[    0.008079] clocksource: ARConnect GFRC: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
+[    0.019122] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
+[    0.056254] pid_max: default: 32768 minimum: 301
+[    0.061008] Mount-cache hash table entries: 2048 (order: 0, 8192 bytes, linear)
+[    0.068300] Mountpoint-cache hash table entries: 2048 (order: 0, 8192 bytes, linear)
+[    0.077483] rcu: Hierarchical SRCU implementation.
+[    0.082291] rcu: 	Max phase no-delay instances is 1000.
+[    0.087712] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
+[    0.096134] smp: Bringing up secondary CPUs ...
+[    0.101055] Idle Task [1] (ptrval)
+[    0.101065] Trying to bring up CPU1 ...
+[    0.108324] 
+[    0.108324] IDENTITY	: ARCVER [0x52] ARCNUM [0x1] CHIPID [ 0x0]
+[    0.108324] processor [1]	: HS38 R2.1 (ARCv2 ISA) 
+[    0.108324] ISA Extn	: atomic ll64 unalign mpy[opt 9] div_rem   FPU: sp dp
+[    0.108324] BPU		: full match, cache:2048, Predict Table:16384 Return stk: 8
+[    0.108324] MMU [v4]	: 8k/2M, swalk 2 lvl, JTLB 256x4, uDTLB 8, uITLB 4, SASID, PAE40 (not used) 
+[    0.108324] I-Cache		: 64K, 4way/set, 64B Line, VIPT aliasing
+[    0.108324] D-Cache		: 64K, 2way/set, 64B Line, PIPT
+[    0.108324] SLC		: 512K, 128B Line
+[    0.108324] Peripherals	: 0xf0000000, IO-Coherency (per-device) 
+[    0.108324] Timers		: Timer0 Timer1 RTC [UP 64-bit
+[    0.108344] Extn [SMP]	: ARConnect (v2): 4 cores with IPI IDU DEBUG GFRC
+[    0.108352] archs-intc	: 2 priority levels (default 1) FIRQ (not used)
+[    0.108382] ## CPU1 LIVE ##: Executing Code...
+[    0.185889] Idle Task [2] (ptrval)
+[    0.185898] Trying to bring up CPU2 ...
+[    0.193156] 
+[    0.193156] IDENTITY	: ARCVER [0x52] ARCNUM [0x2] CHIPID [ 0x0]
+[    0.193156] processor [2]	: HS38 R2.1 (ARCv2 ISA) 
+[    0.193156] ISA Extn	: atomic ll64 unalign mpy[opt 9] div_rem   FPU: sp dp
+[    0.193156] BPU		: full match, cache:2048, Predict Table:16384 Return stk: 8
+[    0.193156] MMU [v4]	: 8k/2M, swalk 2 lvl, JTLB 256x4, uDTLB 8, uITLB 4, SASID, PAE40 (not used) 
+[    0.193156] I-Cache		: 64K, 4way/set, 64B Line, VIPT aliasing
+[    0.193156] D-Cache		: 64K, 2way/set, 64B Line, PIPT
+[    0.193156] SLC		: 512K, 128B Line
+[    0.193156] Peripherals	: 0xf0000000, IO-Coherency (per-device) 
+[    0.193156] Timers		: Timer0 Timer1 RTC [UP 64-bit
+[    0.193175] Extn [SMP]	: ARConnect (v2): 4 cores with IPI IDU DEBUG GFRC
+[    0.193183] archs-intc	: 2 priority levels (default 1) FIRQ (not used)
+[    0.193204] ## CPU2 LIVE ##: Executing Code...
+[    0.270688] Idle Task [3] (ptrval)
+[    0.270697] Trying to bring up CPU3 ...
+[    0.277949] 
+[    0.277949] IDENTITY	: ARCVER [0x52] ARCNUM [0x3] CHIPID [ 0x0]
+[    0.277949] processor [3]	: HS38 R2.1 (ARCv2 ISA) 
+[    0.277949] ISA Extn	: atomic ll64 unalign mpy[opt 9] div_rem   FPU: sp dp
+[    0.277949] BPU		: full match, cache:2048, Predict Table:16384 Return stk: 8
+[    0.277949] MMU [v4]	: 8k/2M, swalk 2 lvl, JTLB 256x4, uDTLB 8, uITLB 4, SASID, PAE40 (not used) 
+[    0.277949] I-Cache		: 64K, 4way/set, 64B Line, VIPT aliasing
+[    0.277949] D-Cache		: 64K, 2way/set, 64B Line, PIPT
+[    0.277949] SLC		: 512K, 128B Line
+[    0.277949] Peripherals	: 0xf0000000, IO-Coherency (per-device) 
+[    0.277949] Timers		: Timer0 Timer1 RTC [UP 64-bit
+[    0.277968] Extn [SMP]	: ARConnect (v2): 4 cores with IPI IDU DEBUG GFRC
+[    0.277976] archs-intc	: 2 priority levels (default 1) FIRQ (not used)
+[    0.277996] ## CPU3 LIVE ##: Executing Code...
+[    0.355140] smp: Brought up 1 node, 4 CPUs
+[    0.359779] Memory: 1035184K/1048576K available (2373K kernel code, 578K rwdata, 872K rodata, 136K init, 216K bss, 10832K reserved, 0K cma-reserved)
+[    0.373538] devtmpfs: initialized
+[    0.379339] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
+[    0.389199] posixtimers hash table entries: 2048 (order: 1, 16384 bytes, linear)
+[    0.396858] futex hash table entries: 1024 (131072 bytes on 1 NUMA nodes, total 128 KiB, linear).
+[    0.406326] NET: Registered PF_NETLINK/PF_ROUTE protocol family
+[    0.412538] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
+[    0.423980] SCSI subsystem initialized
+[    0.428398] clocksource: Switched to clocksource ARConnect GFRC
+[    0.435588] NET: Registered PF_INET protocol family
+[    0.440814] IP idents hash table entries: 16384 (order: 4, 131072 bytes, linear)
+[    0.450210] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 8192 bytes, linear)
+[    0.458691] Table-perturb hash table entries: 65536 (order: 5, 262144 bytes, linear)
+[    0.466418] TCP established hash table entries: 8192 (order: 2, 32768 bytes, linear)
+[    0.474329] TCP bind hash table entries: 8192 (order: 4, 131072 bytes, linear)
+[    0.481905] TCP: Hash tables configured (established 8192 bind 8192)
+[    0.488335] UDP hash table entries: 512 (order: 2, 28672 bytes, linear)
+[    0.495043] UDP-Lite hash table entries: 512 (order: 2, 28672 bytes, linear)
+[    0.502311] NET: Registered PF_UNIX/PF_LOCAL protocol family
+[    0.508806] workingset: timestamp_bits=30 max_order=17 bucket_order=0
+[    0.515858] simple-pm-bus soc: use noncoherent DMA ops
+[    0.521484] dw_axi_dmac_platform f0080000.dmac: use noncoherent DMA ops
+[    0.528414] dw_axi_dmac_platform f0080000.dmac: DesignWare AXI DMA Controller, 4 channels
+[    0.536631] hsdk-reset f00008a0.reset-controller: use noncoherent DMA ops
+[    0.543683] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
+[    0.550989] dw-apb-uart f0005000.serial: use noncoherent DMA ops
+[    0.557178] printk: legacy console [ttyS0] disabled
+[    0.562256] f0005000.serial: ttyS0 at MMIO 0xf0005000 (irq = 6, base_baud = 2083125) is a 16550A
+[    0.571074] printk: legacy console [ttyS0] enabled
+[    0.580629] printk: legacy bootconsole [uart8250] disabled
+[    0.592336] sdhci: Secure Digital Host Controller Interface driver
+[    0.598525] sdhci: Copyright(c) Pierre Ossman
+[    0.602867] Synopsys Designware Multimedia Card Interface Driver
+[    0.608944] sdhci-pltfm: SDHCI platform and OF driver helper
+[    0.614864] NET: Registered PF_PACKET protocol family
+[    0.620135] dw_mmc f000a000.mmc: use coherent DMA ops
+[    0.625341] dw_mmc f000a000.mmc: IDMAC supports 32-bit address mode.
+[    0.631726] dw_mmc f000a000.mmc: Using internal DMA controller.
+[    0.637637] dw_mmc f000a000.mmc: Version ID is 290a
+[    0.638714] clk: Disabling unused clocks
+[    0.642538] dw_mmc f000a000.mmc: DW MMC controller at irq 12,32 bit host data width,16 deep fifo
+[    0.655362] dw-apb-uart f0005000.serial: forbid DMA for kernel console
+[    0.661952] check access for rdinit=/init failed: -2, ignoring
+[    0.668401] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63)
+[    0.698488] Waiting for root device /dev/mmcblk0p1...
+[    0.785300] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 25000000Hz, actual 25000000HZ div = 1)
+[    0.795084] mmc0: new SDHC card at address b368
+[    0.801327] mmcblk0: mmc0:b368 USD 7.46 GiB
+[    0.807791]  mmcblk0: p1 p4
+[    1.165885] EXT4-fs (mmcblk0p1): mounted filesystem b0572b5b-13ab-4dc2-a833-b174ada0e26a r/w with ordered data mode. Quota mode: disabled.
+[    1.178448] VFS: Mounted root (ext4 filesystem) on device 179:1.
+[    1.193849] devtmpfs: mounted
+[    1.197028] Freeing unused kernel image (initmem) memory: 136K
+[    1.202879] This architecture does not have kernel memory protection.
+[    1.209324] Run /sbin/init as init process
+[    1.213406]   with arguments:
+[    1.216362]     /sbin/init
+[    1.219073]   with environment:
+[    1.222203]     HOME=/
+[    1.224555]     TERM=linux
+[    1.808434] EXT4-fs (mmcblk0p1): re-mounted b0572b5b-13ab-4dc2-a833-b174ada0e26a ro.
+[   54.998557] EXT4-fs (mmcblk0p1): re-mounted b0572b5b-13ab-4dc2-a833-b174ada0e26a r/w.
+```
+
+Have fun!

BIN
openadk.org/static/img/atmel-ngw100.jpg


BIN
openadk.org/static/img/bb.jpg


BIN
openadk.org/static/img/synopsys-hsdk.jpg