OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Hardware and Performance (Moderator: fabian) »
  • PCENGINES APU[1-5] Coreboot SeaBIOS Open Source Firmware
« previous next »
  • Print
Pages: 1 ... 4 5 [6] 7 8 9

Author Topic: PCENGINES APU[1-5] Coreboot SeaBIOS Open Source Firmware  (Read 24242 times)

newsense

  • Full Member
  • ***
  • Posts: 154
  • Karma: 9
    • View Profile
Re: PCENGINES APU[1-5] Bios
« Reply #75 on: February 22, 2019, 04:31:54 pm »
Hi miczyg

Any chance I could remotely identify the chip running on this APU1C4 ? Dmidecode isn't helpful

Code: [Select]
flashrom -w apu1v4.9.0.2.rom -p internal
flashrom v1.0 on FreeBSD 11.2-RELEASE-p6 (amd64)
flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 4, resolution: 70ns).
coreboot table found at 0xdffdf000.
Found chipset "AMD SB7x0/SB8x0/SB9x0".
Enabling flash write... OK.
Found Macronix flash chip "MX25L1605" (2048 kB, SPI) mapped at physical address 0x00000000ffe00000.
Found Macronix flash chip "MX25L1605A/MX25L1606E/MX25L1608E" (2048 kB, SPI) mapped at physical address 0x00000000ffe00000.
Found Macronix flash chip "MX25L1605D/MX25L1608D/MX25L1673E" (2048 kB, SPI) mapped at physical address 0x00000000ffe00000.
Multiple flash chip definitions match the detected chip(s): "MX25L1605", "MX25L1605A/MX25L1606E/MX25L1608E", "MX25L1605D/MX25L1608D/MX25L1673E"
Please specify which chip definition to use with the -c <chipname> option.
Logged

0xFelix

  • Newbie
  • *
  • Posts: 7
  • Karma: 2
    • View Profile
Re: PCENGINES APU[1-5] Bios
« Reply #76 on: February 22, 2019, 09:22:46 pm »
According to the APU2 documentation on Github it should be the second definition.

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

newsense

  • Full Member
  • ***
  • Posts: 154
  • Karma: 9
    • View Profile
Re: PCENGINES APU[1-5] Bios
« Reply #77 on: February 23, 2019, 06:27:39 am »
Thank you 0xFelix, I didn't find that bit prior to posting. Everything worked without issues.
Logged

Mks

  • Full Member
  • ***
  • Posts: 109
  • Karma: 8
    • View Profile
Re: PCENGINES APU[1-5] Bios
« Reply #78 on: February 23, 2019, 09:09:49 am »
Hi all.

Just for my understanding.

Is there a possible to update the BIOS from an running OpnSense or is it required to boot the system with an USB-Stick and Tinycore?

Thanks
Logged

0xFelix

  • Newbie
  • *
  • Posts: 7
  • Karma: 2
    • View Profile
Re: PCENGINES APU[1-5] Bios
« Reply #79 on: February 23, 2019, 09:39:52 am »
I just upgraded my APU2C4 from a running opnsense.

Just login to the console, install flashrom, download the firmware and flash it.

Code: [Select]
pkg install flashrom
curl LINKTOFIRMWARE --output coreboot.rom
flashrom -w coreboot.rom -p internal

On my APU flashrom complained that the board id did not match. You can append ":boardmismatch=force" to the command though. After flashing I did a power reset and everything works fine.
Logged

Mks

  • Full Member
  • ***
  • Posts: 109
  • Karma: 8
    • View Profile
Re: PCENGINES APU[1-5] Bios
« Reply #80 on: February 23, 2019, 09:40:33 am »
Great Thanks!
Logged

miczyg

  • Newbie
  • *
  • Posts: 7
  • Karma: 2
  • 3mdeb firmware engineer
    • View Profile
    • 3mdeb.com
Re: PCENGINES APU[1-5] Bios
« Reply #81 on: February 25, 2019, 01:44:58 pm »
Hello Dear OPNsense community,

Signatures and hashes for all previous firmware release are now available: https://pcengines.github.io/


Quote from: newsense on February 22, 2019, 04:31:54 pm
Hi miczyg

Any chance I could remotely identify the chip running on this APU1C4 ? Dmidecode isn't helpful

Code: [Select]
flashrom -w apu1v4.9.0.2.rom -p internal
flashrom v1.0 on FreeBSD 11.2-RELEASE-p6 (amd64)
flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 4, resolution: 70ns).
coreboot table found at 0xdffdf000.
Found chipset "AMD SB7x0/SB8x0/SB9x0".
Enabling flash write... OK.
Found Macronix flash chip "MX25L1605" (2048 kB, SPI) mapped at physical address 0x00000000ffe00000.
Found Macronix flash chip "MX25L1605A/MX25L1606E/MX25L1608E" (2048 kB, SPI) mapped at physical address 0x00000000ffe00000.
Found Macronix flash chip "MX25L1605D/MX25L1608D/MX25L1673E" (2048 kB, SPI) mapped at physical address 0x00000000ffe00000.
Multiple flash chip definitions match the detected chip(s): "MX25L1605", "MX25L1605A/MX25L1606E/MX25L1608E", "MX25L1605D/MX25L1608D/MX25L1673E"
Please specify which chip definition to use with the -c <chipname> option.

Hi newsense,

Yes this is a common problem with apu1, since few Macronix SPI chips have the same JEDEC ID and flashrom can not distinguish them. Try passing:

-c "MX25L1605A/MX25L1606E/MX25L1608E"

to flashrom as an argument and it will be ok. We have mentioned it here too: https://github.com/pcengines/apu2-documentation/blob/master/docs/firmware_flashing.md#corebootrom-flashing
Logged

newsense

  • Full Member
  • ***
  • Posts: 154
  • Karma: 9
    • View Profile
Re: PCENGINES APU[1-5] Bios
« Reply #82 on: February 26, 2019, 04:16:07 am »
Quote from: miczyg on February 25, 2019, 01:44:58 pm
Hello Dear OPNsense community,

Signatures and hashes for all previous firmware release are now available: https://pcengines.github.io/


Quote from: newsense on February 22, 2019, 04:31:54 pm
Hi miczyg

Any chance I could remotely identify the chip running on this APU1C4 ? Dmidecode isn't helpful

Code: [Select]
flashrom -w apu1v4.9.0.2.rom -p internal
flashrom v1.0 on FreeBSD 11.2-RELEASE-p6 (amd64)
flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 4, resolution: 70ns).
coreboot table found at 0xdffdf000.
Found chipset "AMD SB7x0/SB8x0/SB9x0".
Enabling flash write... OK.
Found Macronix flash chip "MX25L1605" (2048 kB, SPI) mapped at physical address 0x00000000ffe00000.
Found Macronix flash chip "MX25L1605A/MX25L1606E/MX25L1608E" (2048 kB, SPI) mapped at physical address 0x00000000ffe00000.
Found Macronix flash chip "MX25L1605D/MX25L1608D/MX25L1673E" (2048 kB, SPI) mapped at physical address 0x00000000ffe00000.
Multiple flash chip definitions match the detected chip(s): "MX25L1605", "MX25L1605A/MX25L1606E/MX25L1608E", "MX25L1605D/MX25L1608D/MX25L1673E"
Please specify which chip definition to use with the -c <chipname> option.

Hi newsense,

Yes this is a common problem with apu1, since few Macronix SPI chips have the same JEDEC ID and flashrom can not distinguish them. Try passing:

-c "MX25L1605A/MX25L1606E/MX25L1608E"

to flashrom as an argument and it will be ok. We have mentioned it here too: https://github.com/pcengines/apu2-documentation/blob/master/docs/firmware_flashing.md#corebootrom-flashing

Thank you miczyg, I already updated two APU1s without issues from their factory version, both using the OPNsense live method I described a few post back and from a fully deployed production running FW - following the steps in the Live method described followed by the reboot command when the upgrade was succesful.
Logged

lattera

  • Administrator
  • Full Member
  • *****
  • Posts: 180
  • Karma: 80
    • View Profile
Re: PCENGINES APU[1-5] Bios
« Reply #83 on: March 04, 2019, 07:28:24 pm »
I'm getting the attached error when attempting to install OPNsense 19.1 on an APU3 running BIOS firmware v4.9.0.2.
Logged

lattera

  • Administrator
  • Full Member
  • *****
  • Posts: 180
  • Karma: 80
    • View Profile
Re: PCENGINES APU[1-5] Bios
« Reply #84 on: March 04, 2019, 08:05:18 pm »
To get around this, I installed 18.7, then followed the upgrade procedure to get me to 19.1.2.
Logged

newsense

  • Full Member
  • ***
  • Posts: 154
  • Karma: 9
    • View Profile
Re: PCENGINES APU[1-5] Bios
« Reply #85 on: March 05, 2019, 03:58:54 am »
Quote from: lattera on March 04, 2019, 07:28:24 pm
I'm getting the attached error when attempting to install OPNsense 19.1 on an APU3 running BIOS firmware v4.9.0.2.
That screams more like an error reading the USB stick to me, I wouldn't have pinned it on the BIOS. I've booted successfully APUs 3 and 4 with the live 19.1 on the factory BIOS and performed the upgrade to v4.9.0.2 successfully followed by reboot and install from the same (rather lousy) USB stick. I've always used the method described a few posts back.

Was there any other indication it might be BIOS related in your case ?
Logged

tillsense

  • Sr. Member
  • ****
  • Posts: 265
  • Karma: 43
    • View Profile
Re: PCENGINES APU[1-5] Bios
« Reply #86 on: March 12, 2019, 07:22:20 am »
Hi all,

for interested 4.9.0.3 is available.

cheers
till
Logged

newsense

  • Full Member
  • ***
  • Posts: 154
  • Karma: 9
    • View Profile
Re: PCENGINES APU[1-5] Bios
« Reply #87 on: March 13, 2019, 05:40:39 am »
Successfully upgraded APU1,3,4 to v4.9.0.3
Logged

miczyg

  • Newbie
  • *
  • Posts: 7
  • Karma: 2
  • 3mdeb firmware engineer
    • View Profile
    • 3mdeb.com
Re: PCENGINES APU[1-5] Bios
« Reply #88 on: March 25, 2019, 11:52:56 am »
Hello all,

We have validated installation of OPNSense 19.1 on most commonly used storage media. Enjoy the OS status update:

https://pcengines.github.io/

Cheers,
Michał
Logged

tillsense

  • Sr. Member
  • ****
  • Posts: 265
  • Karma: 43
    • View Profile
Re: PCENGINES APU[1-5] Bios
« Reply #89 on: April 10, 2019, 07:51:34 pm »
Hi all,

for interested 4.9.0.4 is available.

cheers
till
Logged

  • Print
Pages: 1 ... 4 5 [6] 7 8 9
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Hardware and Performance (Moderator: fabian) »
  • PCENGINES APU[1-5] Coreboot SeaBIOS Open Source Firmware
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2019 All rights reserved
  • SMF 2.0.15 | SMF © 2017, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2