Tak například tady:
http://forums.fedoraforum.org/showthread.php?t=313569 se píše, že ten img file je, jestli to tedy chápu správně, v podstatě dump (možná dd) celý eMMC paměti a obsahuje raid. Má nějaký ofset (otázka co těch 2048 sektorů vlastně obsahuje) a pak v něm jsou nějaké oddíly.
myslím toto:
Actually I was able to unpack that file, which is a zipped, .tgz file
which untars into another tgz , which then untars into a .bin file
which is a raid element, probably extracted via dd
then I did the following:
mdadm --examine ./system_p4.bin
which gave me:
Data Offset : 2048 sectors
so then I did the following:
mount -o loop,offset=$((2048*512)) ./system_p4.bin /mnt
and after that, then I did:
[root@nova v1.1.12.2.ROW-1g]# ls -lsca /mnt/boot/
total 11948
4 dr-xr-xr-x 3 root root 4096 Nov 27 2014 .
4 dr-xr-xr-x 21 root root 4096 Nov 27 2014 ..
84 -rw-r--r-- 1 root root 83883 Nov 27 2014 config-2.6.39-1.ce14.23.fc16.i686
4 drwxr-xr-x 2 root root 4096 Nov 27 2014 grub
6384 -rw-r--r-- 1 root root 6535380 Nov 27 2014 initramfs-2.6.39-1.ce14.23.fc16.i686.img
1624 -rw------- 1 root root 1661800 Nov 27 2014 System.map-2.6.39-1.ce14.23.fc16.i686
3844 -rwxr-xr-x 1 root root 3934848 Nov 27 2014 vmlinuz-2.6.39-1.ce14.23.fc16.i686
so, I reckon you won't gain anything by using this firmware, as it is FC16 as well.
EDIT: all things said, the one piece of good news is that it appears the Fedora system actually resides on Disk, and not on ROM so based on what I posted above, you maybe able to clone an OS into a firmware update file, however, at great risk of bricking the device, so I would only do this if you really don't care about the device and were about to throw it away.
Otázka, zda by se nedalo nějak mountnout a soubory editova/vyměnit za ty z Thecusu.
A dále jsem zjistil, že na desce je neosazený 2.54 pinheader, který má 4 piny a je označen první a poslední (musí se MoBo vyndat z NASu). 1 a 2 jsou RX a TX, 3 je 3,3V a 4 je GND. Tak jsem to osadil a zkusil připojit TTL serial <-> USB převodník a jede to.
Když se připojí napájení, tak to najede do režimu, že čeká buď na WakeOnLan nebo stisknutí tlačítek.
Uložil jsem si to jako text a vypadá to takto:
AC BOOT - aneb po připojení napájení:
AC_BOOT
Intel(R) Consumer Electronics Firmware Development Kit (Intel(R) CEFDK)
Copyright (C) 1999-2012 Intel Corporation. All rights reserved.
Build Time (10/27/14 18:31:37).
Searching 8051 FW in MFH...
Load 8051 FW from MFH successfully!
Splash: BMP found Width 720 Height 480
SMM: Ok
ACPI Init: finished with table region from 00011aa0 to 00018000
acpi: Created tables at 00011aa0-00018000
HCC Version : 30-5.27(Dual)
CEFDK Version : CE5300 (SMP enabled)
8051 Firmware : C0-1.0.49 (0x00050000)
8051 FW I/O Module : 30-3.7
Silicon Stepping : D0 (PCI)
Silicon SKU : 0x06C
Board : REF0
CPU Threads : 4
CPU Multiplier : 12
CPU Bus Speed : 100 MHz
Memory Size : 1024 MB
Memory Type & Speed : x16 DDR3-1600 (11-11-11)
Memory Configuration : A B Interleave Mode 1
PCI Mode : PCI Standard
Boot Mode : SPI-NOR
HW-ID : 0x3
Check Lan Wake Settings
Pak to čeká.
Po stisku tlačítka PWR a zmáčknutí Enter ve vhodnou chvíli se dostanu do shellu. Kde jsem dal i "help" pro výpis možných příkazů.
COLD_BOOT
Intel(R) Consumer Electronics Firmware Development Kit (Intel(R) CEFDK)
Copyright (C) 1999-2012 Intel Corporation. All rights reserved.
Build Time (10/27/14 18:31:37).
Searching 8051 FW in MFH...
Load 8051 FW from MFH successfully!
Splash: BMP found Width 720 Height 480
SMM: Ok
ACPI Init: finished with table region from 00011aa0 to 00018000
acpi: Created tables at 00011aa0-00018000
HCC Version : 30-5.27(Dual)
CEFDK Version : CE5300 (SMP enabled)
8051 Firmware : C0-1.0.49 (0x00050000)
8051 FW I/O Module : 30-3.7
Silicon Stepping : D0 (PCI)
Silicon SKU : 0x06C
Board : REF0
CPU Threads : 4
CPU Multiplier : 12
CPU Bus Speed : 100 MHz
Memory Size : 1024 MB
Memory Type & Speed : x16 DDR3-1600 (11-11-11)
Memory Configuration : A B Interleave Mode 1
PCI Mode : PCI Standard
Boot Mode : SPI-NOR
HW-ID : 0x3
Press 'Enter' within 0 seconds to disable automatic boot.
*************************************************************
Hit a key to start the shell or [SPACE] to set MAC address...
*************************************************************
shell>
shell> help
bootata - Boots from the primary master ATA device.
bootlinux - Boots linux from flash. Usage: bootlinux "<kernel cmd line>"
ymodem - Receive a file from serial using YMODEM.
lspci - Displays PCI device info.
ord[2|4] - Read or write to memory.
pci[2|4] - Read or write to PCI configuration space.
port[2|4] - Read or write to I/O port.
ramdisk - set ramdisk start address and length
mmap - Displays a system memory map.
expflash - Access flash on expansion bus.
bootflash - Boot Redboot from flash.
bootkernel - Boot Linux kernel from flash.
mfh - manage the MFH on flash devices
sha - Calculate a SHA sum for an input data string.
md5 - Calculate a MD5 sum for an input data string.
emmc - Auxiliary shell command to handle eMMC
spi_flash - Auxiliary shell command to handle SPI Flash
strap - reading the strappings on Soc.
8051 - 8051 specific commands
svmem - Perform SV memory test
ata-map - Sets the ATA geometry mapping.
cache - Manipulate the processor cache.
settings - BIOS Settings
i2c - I2C buses read and write (SV ver).
iosf - Read/write 32 bit register on IOSF sideband port.
script - Switch on/off the automatic shell script.
gpio - gpio commands
help - Displays this screen.
exit - Stops the shell.
shell>
A když se to nechá nabootovat:
COLD_BOOT
Intel(R) Consumer Electronics Firmware Development Kit (Intel(R) CEFDK)
Copyright (C) 1999-2012 Intel Corporation. All rights reserved.
Build Time (10/27/14 18:31:37).
Searching 8051 FW in MFH...
Load 8051 FW from MFH successfully!
Splash: BMP found Width 720 Height 480
SMM: Ok
ACPI Init: finished with table region from 00011aa0 to 00018000
acpi: Created tables at 00011aa0-00018000
HCC Version : 30-5.27(Dual)
CEFDK Version : CE5300 (SMP enabled)
8051 Firmware : C0-1.0.49 (0x00050000)
8051 FW I/O Module : 30-3.7
Silicon Stepping : D0 (PCI)
Silicon SKU : 0x06C
Board : REF0
CPU Threads : 4
CPU Multiplier : 12
CPU Bus Speed : 100 MHz
Memory Size : 1024 MB
Memory Type & Speed : x16 DDR3-1600 (11-11-11)
Memory Configuration : A B Interleave Mode 1
PCI Mode : PCI Standard
Boot Mode : SPI-NOR
HW-ID : 0x3
Press 'Enter' within 0 seconds to disable automatic boot.
*************************************************************
Hit a key to start the shell or [SPACE] to set MAC address...
*************************************************************
Boot Mode=0
Running auto script...
shell> ramdisk 0x8000000 0x8000000
shell> mfh list nand
MFH Entry List
Type ID Active Offset Size Label
cefdk_s1 00 YES 0x00480800 0x00010000
cefdk_s2 00 YES 0x00490800 0x0006F000
cefdk_s1h 00 YES 0x004ff800 0x00000800
cefdk_s2h 00 YES 0x00500000 0x00000800
script 00 YES 0x00500800 0x00000800
cefdk_params 00 YES 0x00501000 0x000005F0
splash 00 YES 0x005015f0 0x000FD240
uc8051_fw 00 YES 0x005fe830 0x00010000
kernel 00 YES 0x0060e830 0x003C0A60
ramdisk 00 YES 0x00b0e830 0x023EDC70
user flash 00 NO 0x04000000 0x00000000
shell> bootkernel -id 0 "biosdevname=0 console=ttyS0,115200 memmap=exactmap memmap=128K@128K memmap=511M@1M vmalloc=586M quiet HWI"
CMD(0x48000)='biosdevname=0 console=ttyS0,115200 memmap=exactmap memmap=128K@128K memmap=511M@1M vmalloc=586M quiet HWID=3 DDR=102'
WARNING: Ancient bootloader, some functionality may be limited!
[ 5.667769] ***ata1 : ahci_power_up***
[ 5.671512] ###ata1 : ahci_power_up###
[ 5.675495] ***ata2 : ahci_power_up***
[ 6.930954] ###ata2 : ahci_power_up###
modprobe: FATAL: Could not load /lib/modules/2.6.39-1.ce14.23.fc16.i686/modules.dep: No such file or directory
modprobe: FATAL: Could not load /lib/modules/2.6.39-1.ce14.23.fc16.i686/modules.dep: No such file or directory
[ 7.027134] physmap-flash physmap-flash.0: map_probe failed
modprobe: FATAL: Could not load /lib/modules/2.6.39-1.ce14.23.fc16.i686/modules.dep: No such file or directory
modprobe: FATAL: Could not load /lib/modules/2.6.39-1.ce14.23.fc16.i686/modules.dep: No such file or directory
[ 7.338575] i8042: No controller found
@@
######################################################################
sh /img/bin/normal_boot.sh devices=[] devs_num=[]
######################################################################
Assemble RAID...
[ 11.153589] criticalevent_user: raid_create md70
[ 11.161914] mddev->recovery:32, mddev->curr_resync:0, mddev->recovery_cp: 0
[ 11.168975] nr=1 mddev->raid_disks=2 working=1 active=1 spare=0 failed=0 mddev->in_sync=1 remove=1 mdname=md70 degrade=1
[ 11.179827] criticalevent_user: raid_degrade md70
mdadm: /dev/md70 has been started with 1 drive (out of 2).
Check RAID Status
Try to mount runtime system...
Welcome to Fedora release 16 (Verne)!
Started Replay Read-Ahead Data [ OK ]
Starting Collect Read-Ahead Data...
Starting Syslog Kernel Log Buffer Bridge...
Started Syslog Kernel Log Buffer Bridge [ OK ]
Started Lock Directory [ OK ]
Starting Media Directory...
Starting Software RAID Monitor Takeover...
Starting Security File System...
Starting Debug File System...
Starting Huge Pages File System...
Starting POSIX Message Queue File System...
Starting RPC Pipe File System...
Starting udev Coldplug all Devices...
Starting udev Kernel Device Manager...
Started Runtime Directory [ OK ]
Started Collect Read-Ahead Data [ OK ]
Started udev Kernel Device Manager [ OK ]
Started Media Directory [ OK ]
Started Software RAID Monitor Takeover [ OK ]
Started Security File System [ OK ]
Started Debug File System [ OK ]
Started Huge Pages File System [ OK ]
Started POSIX Message Queue File System [ OK ]
Started RPC Pipe File System [ OK ]
Started File System Check on Root Device [ OK ]
Starting Remount API VFS...
Starting Remount Root FS...
Started Load legacy module configuration [ OK ]
Started Set Up Additional Binary Formats [ OK ]
Starting Apply Kernel Variables...
Started Load Kernel Modules [ OK ]
Started Configuration File System [ OK ]
Starting Setup Virtual Console...
Starting STDOUT Syslog Bridge...
Started STDOUT Syslog Bridge [ OK ]
Started Remount API VFS [ OK ]
Started Remount Root FS [ OK ]
Started Apply Kernel Variables [ OK ]
Started udev Coldplug all Devices [ OK ]
Starting udev Wait for Complete Device Initialization...
Starting Configure read-only root support...
Started Setup Virtual Console [ OK ]
Started Configure read-only root support [ OK ]
Started udev Wait for Complete Device Initialization [ OK ]
Started Show Plymouth Boot Screen [ OK ]
Starting Wait for storage scan...
Started Wait for storage scan [ OK ]
Starting Initialize storage subsystems (RAID, LVM, etc.)...
Started Initialize storage subsystems (RAID, LVM, etc.) [ OK ]
Starting Initialize storage subsystems (RAID, LVM, etc.)...
Started Initialize storage subsystems (RAID, LVM, etc.) [ OK ]
Started Reconfigure the system on administrator request [ OK ]
Started Mark the need to relabel after reboot [ OK ]
Started Relabel all filesystems, if necessary [ OK ]
Starting Load Random Seed...
Starting Tell Plymouth To Write Out Runtime Data...
Starting Recreate Volatile Files and Directories...
Started Load Random Seed [ OK ]
Started Tell Plymouth To Write Out Runtime Data [ OK ]
Failed to start Recreate Volatile Files and Directories [FAILED]
See 'systemctl status systemd-tmpfiles-setup.service' for details.
Starting Console System Startup Logging...
Starting LSB: Mount and unmount network filesystems....
Starting The Apache HTTP Server (preset MPM)...
Starting Security Auditing Service...
Started Software RAID monitoring and management [ OK ]
Starting RPC bind service...
Starting SSH server keys generation....
Starting NFSv4 ID-name mapping daemon...
Starting Login Service...
Starting /etc/rc.d/rc.local Compatibility...
Starting D-Bus System Message Bus...
Started Console System Startup Logging [ OK ]
Started The Apache HTTP Server (preset MPM) [ OK ]
Started Security Auditing Service [ OK ]
Started RPC bind service [ OK ]
Started SSH server keys generation. [ OK ]
Started NFSv4 ID-name mapping daemon [ OK ]
Starting NFS file locking service....
Starting Command Scheduler...
Started Command Scheduler [ OK ]
Started D-Bus System Message Bus [ OK ]
Started Login Service [ OK ]
Started LSB: Mount and unmount network filesystems. [ OK ]
Starting Permit User Sessions...
Started Permit User Sessions [ OK ]
Started NFS file locking service. [ OK ]
Stopping udev Kernel Device Manager...
Stopped udev Kernel Device Manager [ OK ]
[ 19.916756] ismd_tsi_hal.c:tsi_read_err_config:tsi_err_disabled=false
Starting udev Kernel Device Manager...
Started udev Kernel Device Manager [ OK ]
[ 21.957168] audio_apm_outputs.c:audio_pvt_output_valid_channel_config:
[ 21.964026] audio_apm_outputs.c:ismd_audio_add_phys_output: ERROR: Audio config parameter or hardware ID error!: Return Code: 4R
[ 21.978437] audio_apm_outputs.c:audio_pvt_output_valid_handle:
[ 21.984576] audio_apm_outputs.c:ismd_audio_output_enable: ERROR: Invalid processor or output handle!: Return Code: 5 ISMD_ERRORE
[ 22.415554] vgaarb: this pci device is not a vga device
[ 22.605900] vgaarb: this pci device is not a vga device
Starting Arbitrary Executable File Formats File System...
Started Arbitrary Executable File Formats File System [ OK ]
Started Load static arp entries [ OK ]
Starting Network Manager...
Started Network Manager [ OK ]
[ 48.991315] Clear Critical Queue.
Started /etc/rc.d/rc.local Compatibility [ OK ]
Starting Terminate Plymouth Boot Screen...
Starting Wait for Plymouth Boot Screen to Quit...
BEACON login:
default login je admin/admin
a pak se dostanete do bash konzole
V tom shellu mě zaujala (a zatím jsem nezkoušel) varianta - bootata - Boots from the primary master ATA device.
Taky je tam toto:
bootflash - Boot Redboot from flash.
a redboot je nějaká debug fíčura od redhatu. Ale tam mám strach cokoliv dělat, abych to nebricknul.
u volby settings - BIOS Settings jsem byl zvědav, co tam je, ale k nastavení je víceméně jenom čas.
Otázka je, zda někdo znalejší má zkušenost např. s redbootem a dokázal by nasměrovat, zda je to cesta.
Případně ten Intel CEFDK?
Zkrátka, pokud někoho něco napadne, budu rád.....
Alfieri