<div dir="auto"><div>That's all great information to include in the ticket and/or the Users Guide.</div><div dir="auto"><br></div><div dir="auto"><br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Sun, Feb 19, 2023, 7:44 AM Noor Aman <<a href="mailto:nooraman5718@gmail.com">nooraman5718@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I booted freeBSD on the Raspberry pi, I was able to confirm that it used genet driver together with miibus for the NIC. This is further confirmed with the FreeBSD manual page. <a href="https://man.freebsd.org/cgi/man.cgi?query=genet" target="_blank" rel="noreferrer">https://man.freebsd.org/cgi/man.cgi?query=genet</a> <br></div><div><br></div><div>One more thing to follow is that i noticed that FreeBSD is using PSCI, so I'm assuming that it is being used for SMP. I'll file a ticket as soon as I'm able to grab more information. <br></div><div><br></div><div>Here are the full dmesg log of Raspberry pi 4B booting FreeBSD 13.2 <br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><span style="font-family:arial,sans-serif">WARNING: Cannot find freebsd,dts-version property, cannot check DTB compliance<br>Copyright (c) 1992-2021 The FreeBSD Project.<br>Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994<br> The Regents of the University of California. All rights reserved.<br>FreeBSD is a registered trademark of The FreeBSD Foundation.<br>FreeBSD 13.2-BETA2 releng/13.2-n254478-065f7854521d GENERIC arm64<br>FreeBSD clang version 14.0.5 (<a href="https://github.com/llvm/llvm-project.git" target="_blank" rel="noreferrer">https://github.com/llvm/llvm-project.git</a> llvmorg-14.0.5-0-gc12386ae247c)<br>VT(efifb): resolution 592x448<br>module firmware already present!<br>real memory = 4148158464 (3955 MB)<br>avail memory = 4022452224 (3836 MB)<br>Starting CPU 1 (1)<br>Starting CPU 2 (2)<br>Starting CPU 3 (3)<br>FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs<br>random: unblocking device.<br>random: entropy device external interface<br>MAP 39f2b000 mode 2 pages 1<br>MAP 39f2f000 mode 2 pages 1<br>MAP 39f31000 mode 2 pages 2<br>MAP 39f34000 mode 2 pages 4<br>MAP 3b350000 mode 2 pages 16<br>MAP fe100000 mode 0 pages 1<br>kbd0 at kbdmux0<br>ofwbus0: <Open Firmware Device Tree><br>simplebus0: <Flattened device tree simple bus> on ofwbus0<br>ofw_clkbus0: <OFW clocks bus> on ofwbus0<br>clk_fixed0: <Fixed clock> on ofw_clkbus0<br>clk_fixed1: <Fixed clock> on ofw_clkbus0<br>clk_fixed2: <Fixed clock> on ofwbus0<br>clk_fixed3: <Fixed clock> on ofwbus0<br>simplebus1: <Flattened device tree simple bus> on ofwbus0<br>simplebus2: <Flattened device tree simple bus> on ofwbus0<br>regfix0: <Fixed Regulator> on ofwbus0<br>regfix1: <Fixed Regulator> on ofwbus0<br>regfix2: <Fixed Regulator> on ofwbus0<br>simplebus3: <Flattened device tree simple bus> on ofwbus0<br>simple_mfd0: <Simple MFD (Multi-Functions Device)> mem 0x7d5d2000-0x7d5d2eff on simplebus0<br>bcm2835_firmware0: <BCM2835 Firmware> on simplebus0<br>ofw_clkbus1: <OFW clocks bus> on bcm2835_firmware0<br>psci0: <ARM Power State Co-ordination Interface Driver> on ofwbus0<br>gic0: <ARM Generic Interrupt Controller> mem 0x40041000-0x40041fff,0x40042000-0x40043fff,0x40044000-0x40045fff,0x40046000-0x40047fff irq 30 on simplebus0<br>gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 256<br>gpio0: <BCM2708/2835 GPIO controller> mem 0x7e200000-0x7e2000b3 irq 14,15 on simplebus0<br>gpiobus0: <OFW GPIO bus> on gpio0<br>gpio1: <Raspberry Pi Firmware GPIO controller> on bcm2835_firmware0<br>gpiobus1: <GPIO bus> on gpio1<br>regfix0: Cannot set GPIO pin: 6<br>REGNODE_INIT failed: 6<br>regfix0: Cannot register regulator.<br>mbox0: <BCM2835 VideoCore Mailbox> mem 0x7e00b880-0x7e00b8bf irq 13 on simplebus0<br>gpioregulator0: <GPIO controlled regulator> on ofwbus0<br>generic_timer0: <ARMv8 Generic Timer> irq 4,5,6,7 on ofwbus0<br>Timecounter "ARM MPCore Timecounter" frequency 54000000 Hz quality 1000<br>Event timer "ARM MPCore Eventtimer" frequency 54000000 Hz quality 1000<br>usb_nop_xceiv0: <USB NOP PHY> on ofwbus0<br>bcm2835_clkman0: <BCM283x Clock Manager> mem 0x7e101000-0x7e102fff on simplebus0<br>gpioc0: <GPIO controller> on gpio0<br>uart0: <PrimeCell UART (PL011)> mem 0x7e201000-0x7e2011ff irq 16 on simplebus0<br>uart0: console (115200,n,8,1)<br>spi0: <BCM2708/2835 SPI controller> mem 0x7e204000-0x7e2041ff irq 18 on simplebus0<br>spibus0: <OFW SPI bus> on spi0<br>spibus0: <unknown card> at cs 0 mode 0<br>spibus0: <unknown card> at cs 1 mode 0<br>iichb0: <BCM2708/2835 BSC controller> mem 0x7e804000-0x7e804fff irq 26 on simplebus0<br>bcm_dma0: <BCM2835 DMA Controller> mem 0x7e007000-0x7e007aff irq 31,32,33,34,35,36,37,38,39,40,41 on simplebus0<br>bcmwd0: <BCM2708/2835 Watchdog> mem 0x7e100000-0x7e100113,0x7e00a000-0x7e00a023,0x7ec11000-0x7ec1101f on simplebus0<br>bcmrng0: <Broadcom BCM2835/BCM2838 RNG> mem 0x7e104000-0x7e104027 on simplebus0<br>gpioc1: <GPIO controller> on gpio1<br>sdhci_bcm0: <Broadcom 2708 SDHCI controller> mem 0x7e300000-0x7e3000ff irq 73 on simplebus0<br>mmc0: <MMC/SD bus> on sdhci_bcm0<br>fb0: <BCM2835 VT framebuffer driver> on simplebus0<br>fb0: keeping existing fb bpp of 32<br>fbd0 on fb0<br>WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD 14.0.<br>VT: Replacing driver "efifb" with new "fb".<br>fb0: 592x448(592x448@0,0) 32bpp<br>fb0: fbswap: 1, pitch 2368, base 0x3eaf5000, screen_size 1060864<br>sdhci_bcm1: <Broadcom 2708 SDHCI controller> mem 0x7e340000-0x7e3400ff irq 79 on simplebus1<br>mmc1: <MMC/SD bus> on sdhci_bcm1<br>pmu0: <Performance Monitoring Unit> irq 0,1,2,3 on ofwbus0<br>cpulist0: <Open Firmware CPU Group> on ofwbus0<br>cpu0: <Open Firmware CPU> on cpulist0<br>bcm2835_cpufreq0: <CPU Frequency Control> on cpu0<br>cpu1: <Open Firmware CPU> on cpulist0<br>cpu2: <Open Firmware CPU> on cpulist0<br>cpu3: <Open Firmware CPU> on cpulist0<br>pcib0: <BCM2838-compatible PCI-express controller> mem 0x7d500000-0x7d50930f irq 80,81 on simplebus2<br>pcib0: hardware identifies as revision 0x304.<br>pci1: <PCI bus> on pcib0<br>pcib1: <PCI-PCI bridge> irq 91 at device 0.0 on pci1<br>pci2: <PCI bus> on pcib1<br>bcm_xhci0: <VL805 USB 3.0 controller (on the Raspberry Pi 4b)> irq 92 at device 0.0 on pci2<br>bcm_xhci0: 32 bytes context size, 64-bit DMA<br>usbus0 on bcm_xhci0<br>pci0: <PCI bus> on pcib0<br>pci0: failed to allocate bus number<br>device_attach: pci0 attach returned 6<br>genet0: <RPi4 Gigabit Ethernet> mem 0x7d580000-0x7d58ffff irq 82,83 on simplebus2<br>genet0: GENET version 5.0 phy 0x0000<br>miibus0: <MII bus> on genet0<br>brgphy0: <BCM54213PE 1000BASE-T media interface> PHY 1 on miibus0<br>brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto<br>genet0: Ethernet address: e4:5f:01:62:6c:5b<br>gpioled0: <GPIO LEDs> on ofwbus0<br>armv8crypto0: CPU lacks AES instructions<br>Timecounters tick every 1.000 msec<br>[nl_generic] genl_register_family: Registered family nlctrl id 16<br>[nl_generic] genl_register_cmds: Adding cmd GETFAMILY(3) to family nlctrl<br>usbus0: 5.0Gbps Super Speed USB v3.0<br>iicbus0: <OFW I2C bus> on iichb0<br>iic0: <I2C generic I/O> on iicbus0<br>ugen0.1: <(0x1106) XHCI root HUB> at usbus0<br>uhub0 on usbus0<br>uhub0: <(0x1106) XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0<br>sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.<br>sdhci_bcm0-slot0: ============== REGISTER DUMP ==============<br>sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902<br>sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000<br>sdhci_bcm0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000<br>sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001<br>sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000<br>sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947<br>sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000<br>sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb<br>sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000<br>sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000<br>sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000<br>sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000<br>sdhci_bcm0-slot0: ===========================================<br>sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.<br>sdhci_bcm0-slot0: ============== REGISTER DUMP ==============<br>sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902<br>sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000<br>sdhci_bcm0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000<br>sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001<br>sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000<br>sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947<br>sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000<br>sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb<br>sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000<br>sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000<br>sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000<br>sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000<br>sdhci_bcm0-slot0: ===========================================<br>sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.<br>sdhci_bcm0-slot0: ============== REGISTER DUMP ==============<br>sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902<br>sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000<br>sdhci_bcm0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000<br>sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001<br>sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000<br>sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947<br>sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000<br>sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb<br>sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000<br>sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000<br>sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000<br>sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000<br>sdhci_bcm0-slot0: ===========================================<br>sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.<br>sdhci_bcm0-slot0: ============== REGISTER DUMP ==============<br>sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902<br>sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000<br>sdhci_bcm0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000<br>sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001<br>sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000<br>sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947<br>sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000<br>sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb<br>sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000<br>sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000<br>sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000<br>sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000<br>sdhci_bcm0-slot0: ===========================================<br>sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.<br>sdhci_bcm0-slot0: ============== REGISTER DUMP ==============<br>sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902<br>sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000<br>sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000<br>sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001<br>sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000<br>sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947<br>sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000<br>sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb<br>sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000<br>sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000<br>sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000<br>sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000<br>sdhci_bcm0-slot0: ===========================================<br>sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.<br>sdhci_bcm0-slot0: ============== REGISTER DUMP ==============<br>sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902<br>sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000<br>sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000<br>sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001<br>sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000<br>sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947<br>sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000<br>sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb<br>sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000<br>sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000<br>sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000<br>sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000<br>sdhci_bcm0-slot0: ===========================================<br>sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.<br>sdhci_bcm0-slot0: ============== REGISTER DUMP ==============<br>sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902<br>sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000<br>sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000<br>sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001<br>sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000<br>sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947<br>sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000<br>sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb<br>sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000<br>sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000<br>sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000<br>sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000<br>sdhci_bcm0-slot0: ===========================================<br>sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.<br>sdhci_bcm0-slot0: ============== REGISTER DUMP ==============<br>sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902<br>sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000<br>sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000<br>sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001<br>sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000<br>sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947<br>sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000<br>sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb<br>sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000<br>sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000<br>sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000<br>sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000<br>sdhci_bcm0-slot0: ===========================================<br>uhub0: 5 ports with 4 removable, self powered<br>mmc0: No compatible cards found on bus<br>mmcsd0: 32GB <SDHC SS32G 8.0 SN 618C22B0 MFG 01/2022 by 3 SD> at mmc1 50.0MHz/4bit/65535-block<br>bcm2835_cpufreq0: ARM 600MHz, Core 200MHz, SDRAM 400MHz, Turbo OFF<br>CPU 0: ARM Cortex-A72 r0p3 affinity: 0<br> Cache Type = <64 byte D-cacheline,64 byte I-cacheline,PIPT ICache,64 byte ERG,64 byte CWG><br>Trying to mount root from ufs:/dev/ufs/rootfs [rw]...<br> Instruction Set Attributes 0 = <CRC32><br> Instruction Set Attributes 1 = <><br> Instruction Set Attributes 2 = <><br> Processor Features 0 = <AdvSIMD,FP,EL3 32,EL2 32,EL1 32,EL0 32><br> Processor Features 1 = <><br> Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,16TB PA><br> Memory Model Features 1 = <8bit VMID><br> Memory Model Features 2 = <32bit CCIDX,48bit VA><br> Debug Features 0 = <DoubleLock,2 CTX BKPTs,4 Watchpoints,6 Breakpoints,PMUv3,Debugv8><br> Debug Features 1 = <><br> Auxiliary Features 0 = <><br> Auxiliary Features 1 = <><br>AArch32 Instruction Set Attributes 5 = <CRC32,SEVL><br>AArch32 Media and VFP Features 0 = <FPRound,FPSqrt,FPDivide,DP VFPv3+v4,SP VFPv3+v4,AdvSIMD><br>AArch32 Media and VFP Features 1 = <SIMDFMAC,FPHP DP Conv,SIMDHP SP Conv,SIMDSP,SIMDInt,SIMDLS,FPDNaN,FPFtZ><br>CPU 1: ARM Cortex-A72 r0p3 affinity: 1<br>CPU 2: ARM Cortex-A72 r0p3 affinity: 2<br>CPU 3: ARM Cortex-A72 r0p3 affinity: 3<br>Release APs...done<br>WARNING: / was not properly dismounted<br>Warning: no time-of-day clock registered, system time will not be set accurately<br>Dual Console: Serial Primary, Video Secondary<br>ugen0.2: <vendor 0x2109 USB2.0 Hub> at usbus0<br>uhub1 on uhub0<br>uhub1: <vendor 0x2109 USB2.0 Hub, class 9/0, rev 2.10/4.21, addr 1> on usbus0<br>uhub1: 4 ports with 4 removable, self powered<br>lo0: link state changed to UP<br>genet0: link state changed to DOWN<br>genet0: link state changed to UP</span><br></div></blockquote><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 19 Feb 2023 at 02:24, Joel Sherrill <<a href="mailto:joel@rtems.org" target="_blank" rel="noreferrer">joel@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 18, 2023 at 11:09 AM Noor Aman <<a href="mailto:nooraman5718@gmail.com" target="_blank" rel="noreferrer">nooraman5718@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br clear="all">Hey everyone,<br id="m_-2561693354549656530m_2459171744935935353m_1748985946325362424gmail-isPasted"><div>Last year I helped with the porting of
RTEMS-aarch64 for Raspberry Pi 4B with Kinsey, Alan and Hesham. I'm
looking forward to continuing my project further. As of now, I have 2
projects in my mind.</div></div></blockquote><div><br></div><div>Every GSoC project should have a ticket. I found this one for the lower model Pis but not one for the Pi4<br><br><a href="https://devel.rtems.org/ticket/2899" target="_blank" rel="noreferrer">https://devel.rtems.org/ticket/2899</a><br></div><div><br></div><div>Can you file a ticket like that for the Pi4 with these ideas? </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div>1. Bringing in multicore support for the BSP.<br>This can be achieved by one of the 2 methods which I know as of now.<br>- By using PSCI via TF-A (Currently implemented in Zync MPSoC).<br><div>- By adding support directly to the start.S file.</div><div><br></div>2. Add Ethernet support for the BSP<br>- This
can be done by importing the Genet driver which is used by freeBSD for
the board. ( <a href="https://man.freebsd.org/cgi/man.cgi?query=genet" target="_blank" rel="noreferrer">https://man.freebsd.org/cgi/man.cgi?query=genet</a> )<br><div>- This is all I know as of now about this idea.</div><div><br></div><div>To
be honest, I'm not that very familiar with either RTEMS-libbsd or TF-A.
I did try to use libbsd with RPi4B. Some of the exe ran fine, like
crypto01 and openssl, but I dont have the exact idea about the rest of
the testsuites. I'm open to any further ideas. Your suggestions are most
welcome.</div></div></blockquote><div><br></div><div>Did you manage to get anything using device drivers from libbsd working on the Pi4?</div><div><br></div><div>I don't see it listed in include/bsp/nexus-devices.h: which is where the devices used </div><div>would be listed. FWIW I also don't see any arm/Pi configurations either. I could be</div><div>missing something though.</div><div><br></div><div>A first step would be to identify which NIC driver is used for the Pi4 on FreeBSD. This </div><div>should help:<br><br><a href="https://wiki.freebsd.org/arm/Raspberry%20Pi" target="_blank" rel="noreferrer">https://wiki.freebsd.org/arm/Raspberry%20Pi</a><br></div><div><br></div><div>Booting FreeBSD on the Pi4 would give you a boot log which should show a lot </div><div>of the details about what needs to be configured. </div><div><br></div><div>--joel</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>Thank you. Regards<br></div>-- <br><div dir="ltr"><div dir="ltr"><div><span style="color:rgb(153,153,153)"><span style="background-color:rgb(255,255,255)"><font size="1">Mohd Noor Aman</font></span></span></div><div><span style="color:rgb(153,153,153)"><span style="background-color:rgb(255,255,255)"><font size="1">Tinkering with Hardware</font></span></span></div><div><br></div></div></div></div>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a></blockquote></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr"><div dir="ltr"><div><span style="color:rgb(153,153,153)"><span style="background-color:rgb(255,255,255)"><font size="1">Mohd Noor Aman</font></span></span></div><div><span style="color:rgb(153,153,153)"><span style="background-color:rgb(255,255,255)"><font size="1">Tinkering with Hardware</font></span></span></div><div><br></div></div></div>
</blockquote></div></div></div>