Editing Mer/Status/SmartQ5
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
- | |||
- | |||
- | |||
- | |||
Notes on SmartQ 5 MID: | Notes on SmartQ 5 MID: | ||
Line 212: | Line 208: | ||
This is where qi is placed, maximum 16 blocks size, zero out the remaining 2/1027 blocks | This is where qi is placed, maximum 16 blocks size, zero out the remaining 2/1027 blocks | ||
- | Qi will then (see /qi/src/cpu/s3c6410/start_qi.c) try to locate a SmartQ firmware image (see genimage for format, or same file, struct FirmHead on | + | Qi will then (see /qi/src/cpu/s3c6410/start_qi.c) try to locate a SmartQ firmware image (see genimage for format, or same file, struct FirmHead on 16384 blocks before the end, or 32768 blocks before the end, and load u-boot from the firmware image. |
If this fails it will load u-boot from 512+18 blocks before the end, maximum size 512 blocks. | If this fails it will load u-boot from 512+18 blocks before the end, maximum size 512 blocks. | ||
Line 236: | Line 232: | ||
<pre> | <pre> | ||
typedef struct _firmware_fileheader { | typedef struct _firmware_fileheader { | ||
- | uint32_t magic; // ' | + | uint32_t magic; // '2009' |
uint32_t check_sum; // for 8 ~ .fh_size | uint32_t check_sum; // for 8 ~ .fh_size | ||
uint32_t fh_size; | uint32_t fh_size; | ||
Line 243: | Line 239: | ||
char vendor[32]; // XXX: uint32_t vendor_string_len; char vendor_string[] | char vendor[32]; // XXX: uint32_t vendor_string_len; char vendor_string[] | ||
//uint32_t nand_off_end1=16M/512, nand_off_end2=8M/512; // offset from INAND END(BLOCKS) | //uint32_t nand_off_end1=16M/512, nand_off_end2=8M/512; // offset from INAND END(BLOCKS) | ||
- | uint32_t component_count /* = | + | uint32_t component_count /* = 4*/; |
struct { | struct { | ||
struct { | struct { | ||
- | uint32_t offset, size; | + | uint32_t offset, size; |
} file, nand; | } file, nand; | ||
uint32_t check_sum; | uint32_t check_sum; | ||
Line 253: | Line 249: | ||
</pre> | </pre> | ||
- | Offset in NAND is meant as offset from 16/8mb end offset in blocks (512 byte blocks) | + | Offset in NAND is meant as offset from 16/8mb end offset in blocks (512 byte blocks) |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + |
Learn more about Contributing to the wiki.