Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    PC Engines apu2 experiences

    Scheduled Pinned Locked Moved Hardware
    711 Posts 73 Posters 907.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jahonixJ
      jahonix @stephenw10
      last edited by

      @stephenw10 said in PC Engines apu2 experiences:

      But I have also never had a device with a specifically supported hardware crypto device which ...

      Don't want to crush this topic (and can't PM you) but lemme ask how far crypto in the SG-1100 has come? Last thing I know is that HW is present and waits for the software to follow. Anything changed in this regard?

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        That is still basically the status. I'm not sure how far along that work is, I did see some discussion of it a few days ago.

        But that's a good point. On the SG-3100 where the crypto hardware is supported via the CESA driver I am currently running with BSD Crypto device set in both OpenVPN and as the system crypto device.

        Steve

        1 Reply Last reply Reply Quote 0
        • QinnQ
          Qinn
          last edited by Qinn

          Although it is not downloadable at the moment, did anyone tried the new v4.10.0.0?

          https://pcengines.github.io/
          

          Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
          Firmware: Latest-stable-pfSense CE (amd64)
          Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

          fireodoF 1 Reply Last reply Reply Quote 0
          • fireodoF
            fireodo @Qinn
            last edited by

            @Qinn said in PC Engines apu2 experiences:

            Although it is not downloadable at the moment, did anyone tried the new v4.10.0.0?

            https://pcengines.github.io/
            

            There isnt any 4.10.0.0 version - look here:
            https://3mdeb.com/open-source-firmware/pcengines/

            Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
            SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
            pfsense 2.8.0 CE
            Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

            1 Reply Last reply Reply Quote 0
            • VeldkornetV
              Veldkornet
              last edited by Veldkornet

              Here it is: https://pcengines.github.io/#mr-25

              v4.10.0.0
              
              Release date: '2019-08-09'
              
              Fixed/added:
              - rebased with official coreboot repository commit 2a20d13
              - enable basic ACPI support for GPIOs
              
              fireodoF 1 Reply Last reply Reply Quote 0
              • fireodoF
                fireodo @Veldkornet
                last edited by

                @Veldkornet said in PC Engines apu2 experiences:

                Here it is: https://pcengines.github.io/#mr-25

                v4.10.0.0
                
                Release date: '2019-08-09'
                
                Fixed/added:
                - rebased with official coreboot repository commit 2a20d13
                - enable basic ACPI support for GPIOs
                

                Have you download it?

                Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                pfsense 2.8.0 CE
                Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

                K 1 Reply Last reply Reply Quote 0
                • K
                  kevindd992002 @fireodo
                  last edited by kevindd992002

                  Do you guys have any issues with the download links for v4.10.0.0? They're all "404 page not found" for me. Or were they removed intentionally?

                  QinnQ 1 Reply Last reply Reply Quote 0
                  • QinnQ
                    Qinn @kevindd992002
                    last edited by Qinn

                    @kevindd992002 Yes, I don't think it's build

                    https://github.com/pcengines/coreboot/compare/v4.9.0.7...v4.10.0.0
                    

                    Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                    Firmware: Latest-stable-pfSense CE (amd64)
                    Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                    1 Reply Last reply Reply Quote 0
                    • P
                      psp
                      last edited by

                      Just updated. Link is properly working. No issues so far.

                      fireodoF QinnQ 2 Replies Last reply Reply Quote 1
                      • fireodoF
                        fireodo @psp
                        last edited by

                        @psp said in PC Engines apu2 experiences:

                        Just updated. Link is properly working. No issues so far.

                        Thanks!

                        Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                        SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                        pfsense 2.8.0 CE
                        Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

                        1 Reply Last reply Reply Quote 0
                        • QinnQ
                          Qinn @psp
                          last edited by

                          @psp said in PC Engines apu2 experiences:

                          Just updated. Link is properly working. No issues so far.

                          Yup thanks

                          Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                          Firmware: Latest-stable-pfSense CE (amd64)
                          Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                          1 Reply Last reply Reply Quote 0
                          • L
                            logan5247
                            last edited by logan5247

                            New APU2 user here. Recently upgraded from an EdgeRouter Lite to the APU2D4. So far, loving pfSense, it's much more flexible than the ERL.

                            The BIOS it shipped with was 20170228 and I was able to press F10 to access the boot menu and perform a memtest.

                            PCEngines apu2
                            coreboot build 20170228
                            4080 MB ECC DRAM
                            
                            
                            SeaBIOS (version rel-1.10.0.1)
                            
                            
                            
                            
                            Press F10 key now for boot menu
                            
                            
                            
                            
                            Select boot device:
                            
                            
                            
                            
                            1. USB MSC Drive Kingston DataTraveler 3.0 PMAP
                            
                            
                            2. ata0-0: Samsung SSD 860 EVO mSATA 250GB ATA-11 Hard-Disk (2
                            
                            
                            3. Payload [memtest]
                            
                            
                            4. Payload [setup]
                            

                            I upgraded the BIOS to 20190808 (v4.10.0.0) using flashrom and now when I press F10, I get the message "Booting from Hard Disk..." and it just starts to boot via the internal SSD. How can I access memtest again?

                            PC Engines apu2
                            coreboot build 20190808
                            BIOS version v4.10.0.0
                            4080 MB ECC DRAM
                            
                            SeaBIOS (version rel-1.12.1.3-0-g300e8b7)
                            
                            Press F10 key now for boot menu
                            
                            Booting from Hard Disk...
                            /boot/config: -S115200 -h
                            Consoles: serial port  
                            BIOS drive C: is disk0
                            BIOS 639kB/3405392kB available memory
                            
                            FreeBSD/x86 bootstrap loader, Revision 1.1
                            (Wed Nov 21 08:03:01 EST 2018 root@buildbot2.nyi.netgate.com)
                            ...
                            ...
                            Boot continues here
                            ...
                            ...
                            
                            

                            EDIT: Also, how do I enter the BIOS to adjust settings? It seems that option is missing as well.

                            1 Reply Last reply Reply Quote 0
                            • V
                              VAMike
                              last edited by

                              my first guess would be that the APU doesn't like what your terminal client is sending as F10. I'd try looking for options about what escape sequences are sent for F keys, or try a different client.

                              1 Reply Last reply Reply Quote 0
                              • S
                                soder
                                last edited by

                                Hello everyone. After a year of learning this APU2 system, I would like to share some not-so-obvious things with anybody new to this topic:

                                • ECC RAM is only available on APU2x4 edition (where x equals "a" or "b" or "c" or "d"), which means the motherboard has the total of 4GB RAM soldered. The 2GB RAM boards DO NOT CONTAIN the necessary ECC hardware. So that is hardware limitation. From the firmware side, you must upgrade to a recent Coreboot version, as the older versions have not enabled ECC, not even for the 4 GB boards! Reading pcengines.ch page (the official page of the vendor, who is selling these boarda via their distributors) this is totally not obvious from their datasheets. So you have been warned.

                                • PPPoE: if your internet provider is using PPPoE protocol, and you have purchased a Fiber WAN over Gigabit, the APU2 cannot reach that 1 Gigabit in real life. More realistic is somewhere between 200 and 650 Mbit (the latter is the absolute maximum under real life condtiona). Reason: the PPPoE is single-threaded under *BSD, and the 1 Ghz cores in this SoC cannot handle that amount of traffic. PF and NAT can (and fornsure will!) decrease this value even further. There are no surprises, clock speed wins over core count in single threaded code. So this should set your expectations when your ISP is using PPPoE over that gigabit fiber connection!

                                • Core Performance Boost, or in short CPB. That is the AMD equivalent of the Intel Turbo boost feature. The CPU in this APU2 AMD GX-412 SoC has base clock speed of 1 Ghz, and it has only single-core boost, which is 1.4 Ghz. If more than 1 core is busy, you can reach (not sure if that is even a valid CPB step) only 1.2 Ghz. Worst case if all 4 cores are busy, no turbo boost can happen at all. Extra fact: the CPB activation/deactivation is entirely automatic, triggered by the CPU internally. The firmware, or the OS has zero control over it. You cannot even see the clockspeed reaching over 1Ghz, even if CPB was active in that moment. The only control the firmware has, that you MUST have a recent Coreboot Firmware version to have CPB enabled at all. Older fw does not even have the CPB enablement implemented, so with older firmware you will never see single-core turbo boost.

                                • after the firmware upgrade is conpleted, YOU MUST SWITCH THE APU OFF completely. E.g. power it off! It was earlier not written very clearly, but fortunately the Coreboot firmware page for APU (pcengines.github.io) has been updated to explain this better: at the end of the successful firnware update, you must turn the hardware off completely to clear some leftover registers in the system, that cannot be cleared via software-initiated restart. If you dont do this, the result is not guaranteed.

                                • Coreboot mainline is preferred over legacy, since the 4.9.x version. The legacy is no longer necessarily "better" for *BSD, this statement was true only for older 4.8.x or 4.6.x.

                                QinnQ 1 Reply Last reply Reply Quote 2
                                • QinnQ
                                  Qinn @soder
                                  last edited by Qinn

                                  @soder said in PC Engines apu2 experiences:

                                  • after the firmware upgrade is completed, YOU MUST SWITCH THE APU OFF completely. E.g. power it off! It was earlier not written very clearly, but fortunately the Coreboot firmware page for APU (pcengines.github.io) has been updated to explain this better: at the end of the successful firmware update, you must turn the hardware off completely to clear some leftover registers in the system, that cannot be cleared via software-initiated restart. If you don't do this, the result is not guaranteed.

                                  Thanks for the info and powering off after a firmware update I did not know 🤔 ! Can you point out to me were this is written, on their site, as I can't seem to locate it.

                                  Thanks and Cheers Qinn

                                  Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                                  Firmware: Latest-stable-pfSense CE (amd64)
                                  Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                                  L 1 Reply Last reply Reply Quote 0
                                  • P
                                    psp
                                    last edited by psp

                                    Thanks @soder, your report is really appreciated. I've still have some of these APU2 running in HA for over 700 days in a datacenter without any issues. These devices are quite good cheap solutions for datalines up to 100 Mbps.

                                    QinnQ 1 Reply Last reply Reply Quote 0
                                    • QinnQ
                                      Qinn @psp
                                      last edited by

                                      @psp said in PC Engines apu2 experiences:

                                      Thanks @soder, your report is really appreciated. I've still have some of these APU2 running in HA for over 700 days in a datacenter without any issues. These devices are quite good cheap solutions for datalines up to 100 Mbps.

                                      What kinda hardware would you recommend for higher speeds, than 100Mbps?

                                      Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                                      Firmware: Latest-stable-pfSense CE (amd64)
                                      Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                                      P fireodoF L 3 Replies Last reply Reply Quote 0
                                      • P
                                        psp @Qinn
                                        last edited by

                                        @Qinn
                                        Any Intel Atom E3940 or (better) C3558 based boards for up to 1Gbps.

                                        1 Reply Last reply Reply Quote 1
                                        • L
                                          logan5247 @Qinn
                                          last edited by

                                          @Qinn, check out this Github page.

                                          https://github.com/pcengines/apu2-documentation/blob/master/docs/firmware_flashing.md#corebootrom-flashing

                                          1 Reply Last reply Reply Quote 1
                                          • fireodoF
                                            fireodo @Qinn
                                            last edited by fireodo

                                            @Qinn said in PC Engines apu2 experiences:

                                            Hardeware: APU2C4 16gb mSATA SSD - Bios: Coreboot Mainline Version 4.10.0.0 - Firmware: Latest-stable-pfSense (amd64)

                                            May I ask you if you use the apuled.ko kernel module to drive the 3 Front-LEDs and if so is this still working after update to the mainline coreboot bios?

                                            Thank you,
                                            fireodo

                                            Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                                            SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                                            pfsense 2.8.0 CE
                                            Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

                                            QinnQ 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.