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

    PC Engines APU2 BIOS options

    Scheduled Pinned Locked Moved Hardware
    32 Posts 9 Posters 11.0k 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.
    • F
      FranciscoFranco
      last edited by

      So to do this on pfSense I did the following:
      From pfSense WebGUI>Diagnostics>Command Prompt

      pkg install -y flashrom

      mkdir /apu

      Then uploaded the uncompressed rom from my laptop to pfSense

      Upload File
      apu2_v4.6.0.rom

      File will end up in /tmp
      This will be deleted on reboot so copy to /apu with Command Prompt

      cp /tmp/apu2_v4.6.0.rom /apu/apu2_v4.6.0.rom

      Then i disconnect APU2 from my utility room and carry to a serial console machine for the actual flash.

      1 Reply Last reply Reply Quote 0
      • F
        FranciscoFranco
        last edited by

        Upon bootup on the bench I go to #8 Shell
        From there i check to ensure rom is there.
        ls /apu

        Then i run the command needed to flash:

        [2.3.4-RELEASE][root@pfSense.localdomain]/root: flashrom --programmer internal -w /apu/apu2_v4.6.0.rom
        flashrom v0.9.9-r1955 on FreeBSD 10.3-RELEASE-p19 (amd64)
        flashrom is free software, get the source code at https://flashrom.org
        
        Calibrating delay loop... delay loop is unreliable, trying to continue OK.
        coreboot table found at 0x77fae000.
        Found chipset "AMD FCH".
        Enabling flash write... OK.
        Found Winbond flash chip "W25Q64.V" (8192 kB, SPI) mapped at physical address 0x000                     00000ff800000.
        This coreboot image (PC Engines:PC Engines apu2) does not appear to
        be correct for the detected mainboard (PC Engines:PCEngines apu3).
        Aborting. You can override this with -p internal:boardmismatch=force.
        

        Notice this failed? This was done on an APU3 by accident. Glad they have checks!!

        1 Reply Last reply Reply Quote 0
        • JailerJ
          Jailer
          last edited by

          @FranciscoFranco:

          Then i disconnect APU2 from my utility room and carry to a serial console machine for the actual flash.

          Couldn't you just do this over SSH? And why the update? Is there something not working for you that a BIOS flash will fix?

          1 Reply Last reply Reply Quote 0
          • F
            FranciscoFranco
            last edited by

            Well it did not go as planned. I rearranged cases so my pfSense is red and APU2 now and I still had to force the update.

            [2.3.4-RELEASE][root@pfSense.localdomain]/root: flashrom --programmer internal -    w /apu/apu2_v4.6.0.rom
            flashrom v0.9.9-r1955 on FreeBSD 10.3-RELEASE-p19 (amd64)
            flashrom is free software, get the source code at https://flashrom.org
            
            Calibrating delay loop... OK.
            coreboot table found at 0x77fae000.
            Found chipset "AMD FCH".
            Enabling flash write... OK.
            Found Winbond flash chip "W25Q64.V" (8192 kB, SPI) mapped at physical address 0x    00000000ff800000.
            This coreboot image (PC Engines:PC Engines apu2) does not appear to
            be correct for the detected mainboard (PC Engines:PCEngines apu2).
            Aborting. You can override this with -p internal:boardmismatch=force.
            
            

            So it appears  the name has different spelling. So I took a gamble and forced it.

            
            [2.3.4-RELEASE][root@pfSense.localdomain]/root: flashrom -p internal:boardmismatch=force -w /apu/apu2_v4.6.0.rom
            flashrom v0.9.9-r1955 on FreeBSD 10.3-RELEASE-p19 (amd64)
            flashrom is free software, get the source code at https://flashrom.org
            
            Calibrating delay loop... delay loop is unreliable, trying to continue OK.
            coreboot table found at 0x77fae000.
            Found chipset "AMD FCH".
            Enabling flash write... OK.
            Found Winbond flash chip "W25Q64.V" (8192 kB, SPI) mapped at physical address 0x    00000000ff800000.
            This coreboot image (PC Engines:PC Engines apu2) does not appear to
            be correct for the detected mainboard (PC Engines:PCEngines apu2).
            Proceeding anyway because user forced us to.
            Reading old flash chip contents... done.
            Erasing and writing flash chip... Erase/write done.
            Verifying flash... VERIFIED.
            

            Seemed to work fine. Help my breath and rebooted:

            PC Engines apu2
            coreboot build 07/24/2017
            BIOS version v4.6.0
            2032 MB DRAM
            
            SeaBIOS (version rel-1.10.2.1)
            
            Press F10 key now for boot menu
            
            Booting from Hard Disk...
            
            1  pfSense
            2  pfSense
            
            F6 PXE
            Boot:  1
            /boot/config: -S115200 -h
            Consoles: serial port
            

            Looking good. Back online with it now.

            1 Reply Last reply Reply Quote 0
            • F
              FranciscoFranco
              last edited by

              @Jailer:

              Couldn't you just do this over SSH? And why the update? Is there something not working for you that a BIOS flash will fix?

              I could have done it over the webGUI maybe. I figured best to do without traffic.

              I have a APU1 with the realteks and I want to bring it up to date. So I am doing all of them.

              Why does anybody use betas? Somebody has to be the guinea pig.

              1 Reply Last reply Reply Quote 0
              • J
                JasonAU
                last edited by

                @FranciscoFranco:

                Well it did not go as planned. I rearranged cases so my pfSense is red and APU2 now and I still had to force the update.

                [2.3.4-RELEASE][root@pfSense.localdomain]/root: flashrom --programmer internal -    w /apu/apu2_v4.6.0.rom
                flashrom v0.9.9-r1955 on FreeBSD 10.3-RELEASE-p19 (amd64)
                flashrom is free software, get the source code at https://flashrom.org
                
                Calibrating delay loop... OK.
                coreboot table found at 0x77fae000.
                Found chipset "AMD FCH".
                Enabling flash write... OK.
                Found Winbond flash chip "W25Q64.V" (8192 kB, SPI) mapped at physical address 0x    00000000ff800000.
                This coreboot image (PC Engines:PC Engines apu2) does not appear to
                be correct for the detected mainboard (PC Engines:PCEngines apu2).
                Aborting. You can override this with -p internal:boardmismatch=force.
                
                

                So it appears  the name has different spelling. So I took a gamble and forced it.

                
                [2.3.4-RELEASE][root@pfSense.localdomain]/root: flashrom -p internal:boardmismatch=force -w /apu/apu2_v4.6.0.rom
                flashrom v0.9.9-r1955 on FreeBSD 10.3-RELEASE-p19 (amd64)
                flashrom is free software, get the source code at https://flashrom.org
                
                Calibrating delay loop... delay loop is unreliable, trying to continue OK.
                coreboot table found at 0x77fae000.
                Found chipset "AMD FCH".
                Enabling flash write... OK.
                Found Winbond flash chip "W25Q64.V" (8192 kB, SPI) mapped at physical address 0x    00000000ff800000.
                This coreboot image (PC Engines:PC Engines apu2) does not appear to
                be correct for the detected mainboard (PC Engines:PCEngines apu2).
                Proceeding anyway because user forced us to.
                Reading old flash chip contents... done.
                Erasing and writing flash chip... Erase/write done.
                Verifying flash... VERIFIED.
                

                Seemed to work fine. Help my breath and rebooted:

                PC Engines apu2
                coreboot build 07/24/2017
                BIOS version v4.6.0
                2032 MB DRAM
                
                SeaBIOS (version rel-1.10.2.1)
                
                Press F10 key now for boot menu
                
                Booting from Hard Disk...
                
                1  pfSense
                2  pfSense
                
                F6 PXE
                Boot:  1
                /boot/config: -S115200 -h
                Consoles: serial port
                

                Looking good. Back online with it now.

                updated mine today to:

                Vendor: coreboot
                Version: v4.0.11
                Release Date: 07/24/2017

                Thanks for the advice up and running fine so far

                Brisbane Queensland Australia

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

                  @FranciscoFranco:

                  So to do this on pfSense I did the following:
                  From pfSense WebGUI>Diagnostics>Command Prompt

                  pkg install -y flashrom

                  mkdir /apu

                  Then uploaded the uncompressed rom from my laptop to pfSense

                  Upload File
                  apu2_v4.6.0.rom

                  File will end up in /tmp
                  This will be deleted on reboot so copy to /apu with Command Prompt

                  cp /tmp/apu2_v4.6.0.rom /apu/apu2_v4.6.0.rom

                  Then i disconnect APU2 from my utility room and carry to a serial console machine for the actual flash.

                  Thanks for this!! Can anyone tell me why you choose v4.6.0 instead of the 4.0.x version. I am on the apu2_v4.0.7.rom version and could use some guidance.

                  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

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

                    @FranciscoFranco:

                    I have a APU1 with the realteks and I want to bring it up to date.

                    Well that one's easy: they dropped ongoing support for it and haven't issued anything beyond a couple of betas in 2014. Since neither of those betas became the production version in the past 3 years there's presumably something wrong with them.

                    1 Reply Last reply Reply Quote 0
                    • F
                      FranciscoFranco
                      last edited by

                      @Qinn:

                      Thanks for this!! Can anyone tell me why you choose v4.6.0 instead of the 4.0.x version. I am on the apu2_v4.0.7.rom version and could use some guidance.

                      Cheers Qinn

                      I chose 4.6.0 because I like living on the edge. This was just a learning experiment so I figured these Swiss people seem to have their act together and trusted them with a beta. It is their only product so I think they know whats going on.

                      @VAMike:

                      @FranciscoFranco:

                      I have a APU1 with the realteks and I want to bring it up to date.

                      Well that one's easy: they dropped ongoing support for it and haven't issued anything beyond a couple of betas in 2014. Since neither of those betas became the production version in the past 3 years there's presumably something wrong with them.

                      I use my APU1 for GPIO and FreeBSD. I modified the case for it by adding terminal block on top to breakout the GPIO's.
                      We all know the problems with Realtek network chips but I have found that using only re0 it is a good box for embedded tasks.
                      Not very worthy as a router. It does make a nice dedicated Wireless Access Point with all those expansion options.

                      I would like to buy any cheap APU1's out there. Drop me a PM if you have one to sell….

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

                        Thanks for you reply and the conformation, btw see below ;)

                        http://pcengines.info/forums/?page=post&id=D7A22025-3741-4AB7-8EAF-4D9748973722&fid=DF5ACB70-99C4-4C61-AFA6-4C0E0DB05B2A

                        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
                        • F
                          FranciscoFranco
                          last edited by

                          I did notice that they did infact change the device name that it shows as from 'PCEngines apu2' to 'PC Engines apu2' in a earlier rom.
                          The ROM notes have all the changes well documented.
                          Why they couldn't handle a device name change without force is unknown to me.
                          I was reluctant to force it as I have throw out many self fried electronic goodies. Living on the edge.

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

                            In the PC Engines forum someone has "stuck beacon" errors with 4.6 and moved over to the 4.0.11 version, which seems stable for him. I don't have a WiFi module installed on the APU2 board, so maybe 4.6 could be stable.

                            Yet, the https://www.coreboot.org/Special:RecentChanges suggest there is sill some work on the APU2 and the 4.6 version is of april 2017
                            ( https://coreboot.org/releases/coreboot-4.6-relnotes.txt ).

                            For now I won't upgrade from the 4.0.7 version, as there seems no reason to.

                            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
                            • D
                              doktornotor Banned
                              last edited by

                              I certainly do NOT recommend the 4.6.0 version. Been testing it for 2 days and got 6 inexplicable kernel panics. Never seen one before with 4.0.7.

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

                                @doktornotor:

                                I certainly do NOT recommend the 4.6.0 version. Been testing it for 2 days and got 6 inexplicable kernel panics. Never seen one before with 4.0.7.

                                First, big thanks for the reply Dok!!

                                It seems that the releases v4.0.x, that are based on the PC Engines fork of coreboot, are the only ones that are stable and it is better to steer clear from the coreboot mainstream version v4.5.x and v4.6.x. Btw have you tried the v4.0.11 or higher versions?

                                Just a suggestion to report them to https://github.com/pcengines/coreboot/issues
                                Or to contact this guy https://github.com/pietrushnic who is the maintainer piotr.krol@3mdeb.com

                                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
                                • D
                                  doktornotor Banned
                                  last edited by

                                  @Qinn:

                                  Btw have you tried the v4.0.11 or higher versions?

                                  Been running for ~36 hours by now, no crash. It has broken serial console output though at the beginning of the boot, affecting the pfSense boot menu. Does not happen with 4.0.7.

                                  
                                  --reboot build 20170724
                                  \\OS version v4.0.11
                                  ||80 MB ECC DRAM
                                  //
                                  --aBIOS (version rel-1.10.2.1)
                                  \\
                                  ||ess F10 key now for boot menu
                                  //
                                  --oting from Hard Disk...
                                  \\
                                  ||  pfSense
                                  //
                                  -- PXE
                                  \\ot:  F1
                                  ||bboooott//ccoonnffiigg::  --SS111155220000  --DD
                                  //
                                  --
                                  \\
                                  ||
                                  //
                                  --
                                  \\
                                  ||
                                  //
                                  --
                                  \\
                                  ||
                                  //
                                  --
                                  \\
                                  ||
                                  //
                                  --
                                  \\
                                  ||
                                  //
                                  --
                                  \\
                                  ||
                                  //
                                  --
                                  \\
                                  ||
                                  //
                                    b
                                      b
                                      o
                                        o
                                        o
                                          o
                                          t
                                            t
                                            /
                                              /
                                              k
                                                k
                                                e
                                                  e
                                                  r
                                                    r
                                                    n
                                                      n
                                                      e
                                                        e
                                                        l
                                                          l
                                                          /
                                                            /
                                                            k
                                                              k
                                                              e
                                                                e
                                                                r
                                                                  r
                                                                  n
                                                                    n
                                                                    e
                                                                      e
                                                                      l
                                                                        l
                                  
                                                                          t
                                                                            t
                                                                            e
                                                                              e
                                                                              x
                                                                                x
                                                                                t
                                                                                  t
                                                                                  =
                                                                                    =
                                                                                    0
                                                                                      0
                                                                                      x
                                                                                        x
                                                                                        1
                                                                                          1
                                                                                          7
                                                                                            7
                                                                                            5
                                                                                              5
                                                                                              3
                                                                                                3
                                                                                                f
                                                                                                  f
                                                                                                  5
                                                                                                    5
                                                                                                    8
                                                                                                      8
                                  
                                                                                                        /
                                                                                                          /
                                                                                                        --
                                                                                                        \\
                                                                                                        ||
                                                                                                        //
                                                                                                        --
                                                                                                        \\
                                                                                                        ||
                                                                                                        //
                                                                                                        --
                                                                                                        \\
                                                                                                        ||
                                                                                                        //
                                                                                                        --
                                                                                                        \\
                                                                                                        ||
                                                                                                        //
                                                                                                        --
                                                                                                        \\
                                                                                                        ||
                                                                                                        //
                                                                                                        --
                                                                                                        \\
                                                                                                        ||
                                                                                                        //
                                                                                                        --
                                                                                                        \\
                                                                                                        ||
                                                                                                        //
                                                                                                        --
                                                                                                        \\
                                                                                                        ||
                                                                                                        //
                                                                                                        --
                                                                                                        \\
                                                                                                        ||
                                                                                                        //
                                                                                                        --
                                                                                                        \\
                                                                                                        ||
                                                                                                        //
                                                                                                        --
                                                                                                        \\
                                                                                                        ||
                                                                                                        //
                                                                                                        --
                                                                                                        \\
                                                                                                        ||
                                                                                                        //
                                                                                                        --
                                                                                                        \\
                                                                                                        ||
                                                                                                        //
                                                                                                        --
                                                                                                        \\
                                                                                                        ||
                                                                                                        //
                                                                                                        --
                                                                                                        \\
                                                                                                        ||
                                                                                                        //
                                                                                                        --
                                                                                                        \\
                                                                                                        ||
                                                                                                        //
                                                                                                        --
                                                                                                        \\
                                                                                                        ||
                                                                                                        //
                                                                                                        --
                                                                                                        \\
                                                                                                        ||
                                                                                                        //
                                                                                                        --
                                                                                                        \\
                                                                                                        ||
                                                                                                        //
                                                                                                        --
                                                                                                        \\
                                                                                                        ||
                                                                                                        //
                                                                                                        dd
                                                                                                          a
                                                                                                            a
                                                                                                            t
                                                                                                              t
                                                                                                              a
                                                                                                                a
                                                                                                                =
                                                                                                                  =
                                                                                                                  0
                                                                                                                    0
                                                                                                                    x
                                                                                                                      x
                                                                                                                      a
                                                                                                                        a
                                                                                                                        b
                                                                                                                          b
                                                                                                                          8
                                                                                                                            8
                                                                                                                            e
                                                                                                                              e
                                                                                                                              b
                                                                                                                                b
                                                                                                                                8
                                                                                                                                  8
                                                                                                                                  +
                                                                                                                                    +
                                                                                                                                    0
                                                                                                                                      0
                                                                                                                                      x
                                                                                                                                        x
                                                                                                                                        4
                                                                                                                                          4
                                                                                                                                          c
                                                                                                                                            c
                                                                                                                                            8
                                                                                                                                              8
                                                                                                                                              c
                                                                                                                                                c
                                                                                                                                                6
                                                                                                                                                  6
                                                                                                                                                  8
                                                                                                                                                    8
                                  
                                                                                                                                                      -
                                                                                                                                                        -
                                                                                                                                                      \\
                                                                                                                                                      ||
                                                                                                                                                      //
                                                                                                                                                      --
                                  
                                  

                                  Summary: I'd stick with 4.0.7 and call it a day…

                                  1 Reply Last reply Reply Quote 0
                                  • dennypageD
                                    dennypage
                                    last edited by

                                    After a short discussion with PC Engines support, I did a force update on my APU2C4 from 4.0.7 to 4.0.11. In the for what it's worth category, I am not experiencing the serial console problem. Your mileage may vary.

                                    1 Reply Last reply Reply Quote 0
                                    • D
                                      doktornotor Banned
                                      last edited by

                                      @Qinn:

                                      Just a suggestion to report them to https://github.com/pcengines/coreboot/issues
                                      Or to contact this guy https://github.com/pietrushnic who is the maintainer piotr.krol@3mdeb.com

                                      Well I might if I could get some crash dumps out of it, but there was nothing saved on any of those crashes.

                                      1 Reply Last reply Reply Quote 0
                                      • F
                                        FranciscoFranco
                                        last edited by

                                        Firmware 4.6.0 has been up since I flashed it on mine.

                                        pfsense3.png
                                        pfsense3.png_thumb

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

                                          @dennypage:

                                          After a short discussion with PC Engines support, I did a force update on my APU2C4 from 4.0.7 to 4.0.11. In the for what it's worth category, I am not experiencing the serial console problem. Your mileage may vary.

                                          From the reply of FranciscoFranco « Reply #13 on: September 29, 2017, 04:49:00 pm » the force seems necessary, because they have changed 'PCEngines' to 'PC Engines' in smbios tables and welcome string (see changelog confirms https://github.com/pcengines/coreboot/blob/coreboot-4.0.x/CHANGELOG.md in version v4.0.8 - 2017-03-31). so it seems there is a check on this string before it updates.

                                          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
                                          • QinnQ
                                            Qinn
                                            last edited by

                                            @FranciscoFranco:

                                            Firmware 4.6.0 has been up since I flashed it on mine.

                                            Your using the nano version for the APU2C4, just out of curiosity, why? My APU2C4 is equipped with a mSATA SSD and I use the full install.

                                            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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.