Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


firmware_update_pc_engines_apu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
firmware_update_pc_engines_apu [2014/06/10 12:11] adminfirmware_update_pc_engines_apu [2019/12/30 18:03] admin
Line 1: Line 1:
 {{tag>[hardware apu bios firmware]}} {{tag>[hardware apu bios firmware]}}
-=====PC Engines APU - update BIOS===== +=====PC Engines APU2 - update BIOS via USB===== 
-====Create bootable syslinux USB stick==== +====Create bootable USB stick==== 
-  * Download [[http://www.pcengines.ch/tinycore.htm|TinyCore]] from PC Engines +  * Download [[https://pcengines.ch/howto.htm#TinyCoreLinux|TinyCore image]]. 
-  * Create FAT32 partition on USB stick +  * Write image to USB flash drive. <code>zcat apu2-tinycore6.4.img.gz | sudo dd of=/dev/sda bs=1M conv=fsync status=progress</code> 
-  * syslinux -i /dev/sdb1 (change sdb1 to your USB device) +  * Mount the USB flash drive. 
-  * tar jxvf apu_tinycore.tar.bz2 (to the root of the USB stick)+  * Download [[https://pcengines.github.io/|latest bios]] to USB flash drive. 
 + 
 +  * Boot APU2 (press F10 and select USB flash drive).<code> 
 +SeaBIOS (version rel-1.11.0.5-0-gd34c797) 
 + 
 +Press F10 key now for boot menu, N for PXE boot 
 +Select boot device: 
 + 
 +1. AHCI/0: KINGSTON SMS200S330G ATA-8 Hard-Disk (28626 MiBytes) 
 +2. USB MSC Drive SanDisk Ultra 1.00 
 +3. iPXE 
 +4. Payload [setup] 
 +5. Payload [memtest]
  
-Boot APU: 
-<code> 
 Booting from Hard Disk... Booting from Hard Disk...
-Booting from 0000:7c00 
  
-SYSLINUX 4.05 20130620 Copyright (C) 1994-2011 H. Peter Anvin et al +SYSLINUX 6.03 EDD 20150820 Copyright (C) 1994-2014 H. Peter Anvin et al
-Loading vmlinuz..... +
-Loading core.gz...............ready.+
  
-  ____   ____   _____             _ +SYSLINUX 6.03 20150820 Copyright (C) 1994-2014 H. Peter Anvin et al 
-  _ \ / ___| | ____|_ __   __ _(_)_ __   ___  ___+Loading vmlinuz...Loading vmlinuz...  ook 
 +
 +Loading core.gz..Loading core.gz....ook 
 + 
 +<SNIP> 
 + 
 +  ____   ____   _____                              
 +  _ \ / ___| | ____|_ __   __ _(_)_ __   ___  ___ 
  | |_) | |      _| | '_ \ / _` | | '_ \ / _ \/ __|  | |_) | |      _| | '_ \ / _` | | '_ \ / _ \/ __|
   __/| |___  | |___| | | | (_| | | | | |  __/\__ \   __/| |___  | |___| | | | (_| | | | | |  __/\__ \
Line 23: Line 37:
                             |___/                             |___/
  
-TinyCore www.tinycorelinux.com+TinyCore 6.4 www.tinycorelinux.com
  
 +login[525]: root login on 'ttyS0'
 searching for home directory ... searching for home directory ...
 +FAT partition not mounted yet, retrying since 0 sscsi 4:0:0:0: Direct-Access     SanDisk  Ultra 6
 +sd 4:0:0:0: Attached scsi generic sg1 type 0
 +sd 4:0:0:0: [sdb] 60063744 512-byte logical blocks: (30.7 GB/28.6 GiB)
 +sd 4:0:0:0: [sdb] Write Protect is off
 +sd 4:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 + sdb: sdb1
 +sd 4:0:0:0: [sdb] Attached SCSI removable disk
 +FAT partition not mounted yet, retrying since 1 sFAT-fs (sdb1): Volume was not properly unmounte.
 +random: nonblocking pool is initialized
 +FAT partition not mounted yet, retrying since 14 sSorry, FAT partition not found.
 +-sh: /root/takemehome.sh: line 22: fail_beep: not found
 +                                                              
  
- +-sh: /root/takemehome.sh: ./autostart.sh: not found 
- +root@box:~#  
-Welcome to TinyCore running on APU +</code> 
-To update the BIOS type "flashrom -w apu140405.rom" +  Start update.<code> 
- +root@box:~# flashrom -p internal -w /media/SYSLINUX/apu2_v4.11.0.1.rom 
-[+45.1 C][root@box:/mnt/sdb1]$</code> +flashrom v0.9.8-r1888 on Linux 3.16.6-tinycore (i686)
- +
-Start update+
-<code>flashrom -w apu140405.rom +
-flashrom v0.9.7-r1711-APU on Linux 3.8.13-tinycore (i686)+
 flashrom is free software, get the source code at http://www.flashrom.org flashrom is free software, get the source code at http://www.flashrom.org
  
-Using default programmer "internal"+Calibrating delay loop... delay loop is unreliable, trying to continue OK. 
-Calibrating delay loop... OK. +coreboot table found at 0xcfed2000
-coreboot table found at 0xdffdf000+Found chipset "AMD FCH". 
-Found chipset "AMD SB7x0/SB8x0/SB9x0". Enabling flash write... OK. +Enabling flash write... OK. 
-Found Macronix flash chip "MX25L1605A/MX25L1606E" (2048 kB, SPI) at physical address 0xffe00.+Found Winbond flash chip "W25Q64.V" (8192 kB, SPI) mapped at physical address 0xff800000.
 Reading old flash chip contents... done. Reading old flash chip contents... done.
 Erasing and writing flash chip... Erase/write done. Erasing and writing flash chip... Erase/write done.
-[+52.8 C][root@box:/mnt/sdb1]$+Verifying flash... VERIFIED. 
 +root@box:~# 
 </code> </code>
 +  * Reboot
firmware_update_pc_engines_apu.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1