Need Fuel L1 commands to change CPU PIMMs
RE: Need Fuel L1 commands to change CPU PIMMs
Hi Weblacky,

I transferred dump to Ubuntu and used "hexdump" to produce a "nicer" view. Here is full configuration section for 800 MHz CPU

00000060 00 00 00 15 54 9b af 85 69 70 32 37 63 6f 6e 66 |....T...ip27conf|
00000070 00 00 00 00 2f af 08 00 00 00 00 00 0b eb c2 00 |..../...........|
00000080 00 00 00 00 00 13 12 d0 00 00 00 01 00 00 00 10 |................|
00000090 00 00 00 02 00 00 00 ee 00 00 00 10 00 00 00 10 |................|
000000a0 00 00 00 06 00 00 00 d3 00 00 00 00 00 00 00 00 |................|

so putting this into ip27config.h :

#define CONFIG_INFO_OFFSET 0x60

typedef struct ip27config_s { /* KEEP IN SYNC w/ start.s & below */
uint time_const; /* Time constant */
/* 4 byes 0x15 == 21 */
uint r10k_mode; /* R10k boot mode bits */
/* 4 bytes 0x549baf85 == Reported via PO/CAC "cfg" Register */
__uint64_t magic; /* CONFIG_MAGIC */
/* 8 bytes 0x69703237636f6e66 = "ip27conf" */
__uint64_t freq_cpu; /* Hz */
/* 8 bytes 0x2faf0800 == 800,000 */
__uint64_t freq_hub; /* Hz */
/* 8 bytes 0x0bebc200 == 200,000 */
__uint64_t freq_rtc; /* Hz */
/* 8 byes 0x1312d0 == 1,250,000 */
uint ecc_enable; /* ECC enable flag */
/* 4 byes 0x01 == 1 */
uint fprom_cyc; /* FPROM_CYC speed control */
/* 4 byes 0x10 == 16 */
uint mach_type; /* Inidicate SN0 (0) or Sn00 (1) */
/ * 4 bytes 0x02 == 2 (== SN11) */
uint check_sum_adj; /* Used after config hdr overlay */
/* to make the checksum 0 again */
/* 4 bytes 0xee == 238 */
uint flash_count; /* Value incr'd on each PROM flash */
/* 4 bytes 0x10 == 16 (Number of flash counts */
uint fprom_wr; /* FPROM_WR speed control */
/* 4 bytes 0x10 == 16 */
uint pvers_vers; /* Prom version number */
/* 4 bytes 0x06 == 6 */
uint pvers_rev; /* Prom revision number */
/* 4 bytes 0xd3 == 211 */
uint config_type; /* To support special configurations
* If bit 0 is set it means that
* we are looking 12P4I config
*/
/* 4 bytes 0x0 == 0 */
} ip27config_t;


EDIT:

Also as per boot diags: copying PROM code to memory ............... Copy PROM (0x9000000018000000) to RAM (0x9600000001a00000), len 0x168648
You can read PROM via POD/CAC directly using address: 0x9000000018000000
So it maybe possible that you can also write directly to these memory locations using the corresponding store commands:

>> A 000 001c01: Store byte: sb ADDR [VAL [COUNT]]
>> A 000 001c01: Store half-word: sh ADDR [VAL [COUNT]]
>> A 000 001c01: Store word: sw ADDR [VAL [COUNT]]
>> A 000 001c01: Store double-word: sd ADDR [VAL [COUNT]]
>> A 000 001c01: Store and verify: sdv ADDR VAL


Cheers from Oz,


jwhat/John
(This post was last modified: 11-28-2021, 11:51 AM by jwhat.)
jwhat
Octane/O350/Fuel User

Trade Count: (0)
Posts: 513
Threads: 29
Joined: Jul 2018
Location: Australia
Find Reply
11-28-2021, 11:20 AM


Messages In This Thread
Need Fuel L1 commands to change CPU PIMMs - by weblacky - 05-25-2020, 12:31 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by hamei - 05-25-2020, 03:10 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 05-25-2020, 03:57 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by hamei - 05-25-2020, 05:29 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 05-25-2020, 05:31 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by Irinikus - 05-25-2020, 05:41 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 05-25-2020, 05:53 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by indy99 - 06-21-2020, 06:12 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by hamei - 06-21-2020, 06:40 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by Irinikus - 05-25-2020, 06:04 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 06-21-2020, 07:41 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by indy99 - 06-22-2020, 03:47 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by hamei - 06-22-2020, 04:40 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 11-16-2020, 07:54 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 06-22-2020, 04:39 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by hamei - 06-22-2020, 04:55 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 06-22-2020, 04:50 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by indy99 - 06-22-2020, 06:36 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by hamei - 06-22-2020, 06:52 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by indy99 - 06-22-2020, 10:32 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by kaigan - 06-23-2020, 12:36 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by indy99 - 06-23-2020, 01:20 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by kaigan - 06-23-2020, 07:28 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by hamei - 06-24-2020, 04:22 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by jan-jaap - 06-24-2020, 08:01 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by hamei - 06-26-2020, 03:03 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by kaigan - 06-24-2020, 12:05 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 11-16-2020, 08:59 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 11-16-2020, 11:37 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by indy99 - 02-05-2021, 02:08 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 02-05-2021, 05:37 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 02-05-2021, 07:16 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by indy99 - 02-05-2021, 05:10 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 02-06-2021, 12:26 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by chulofiasco - 02-03-2021, 06:18 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 02-03-2021, 07:36 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by chulofiasco - 02-03-2021, 08:53 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 02-03-2021, 11:02 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 02-04-2021, 06:24 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 02-05-2021, 07:20 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by indy99 - 02-05-2021, 12:07 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 02-06-2021, 07:23 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 02-06-2021, 11:46 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 02-06-2021, 11:47 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 04-01-2021, 09:45 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 10-12-2021, 07:19 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by vvuk - 10-14-2021, 12:29 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 10-14-2021, 12:45 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by vvuk - 10-14-2021, 12:51 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 10-29-2021, 06:43 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 10-29-2021, 07:24 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 10-29-2021, 08:57 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by jan-jaap - 10-29-2021, 09:27 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 10-29-2021, 10:38 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 10-29-2021, 10:50 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 10-30-2021, 05:59 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 10-30-2021, 07:36 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 10-30-2021, 08:34 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 10-30-2021, 02:09 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 10-30-2021, 03:56 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by jan-jaap - 10-30-2021, 09:00 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 10-30-2021, 11:03 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by jan-jaap - 10-31-2021, 09:44 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 10-31-2021, 10:28 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 10-31-2021, 12:03 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 11-02-2021, 04:30 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 11-02-2021, 04:45 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 11-02-2021, 05:24 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 11-02-2021, 05:39 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by vvuk - 11-11-2021, 08:16 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 11-11-2021, 11:36 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by vvuk - 11-12-2021, 12:45 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 11-12-2021, 01:47 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by vvuk - 11-12-2021, 03:35 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by jan-jaap - 11-12-2021, 10:44 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 11-11-2021, 11:55 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 11-12-2021, 01:10 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by vvuk - 11-12-2021, 01:10 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 11-12-2021, 01:34 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 11-12-2021, 01:42 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 11-12-2021, 02:08 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 11-12-2021, 02:34 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 11-12-2021, 04:21 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by vvuk - 11-12-2021, 04:26 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by Raion - 11-12-2021, 04:36 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 11-12-2021, 12:01 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by vvuk - 11-12-2021, 09:26 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 11-22-2021, 09:25 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 11-22-2021, 09:47 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 11-22-2021, 10:39 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 11-22-2021, 10:55 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 11-22-2021, 11:48 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 11-22-2021, 03:20 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 11-25-2021, 09:52 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 11-26-2021, 03:19 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 11-26-2021, 04:25 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 11-26-2021, 06:16 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 11-26-2021, 06:55 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 11-27-2021, 12:05 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 11-27-2021, 12:10 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 11-27-2021, 04:17 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 11-27-2021, 04:24 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 11-27-2021, 04:56 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 11-27-2021, 05:01 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 11-28-2021, 11:20 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 07-05-2023, 06:02 AM
RE: Need Fuel L1 commands to change CPU PIMMs - by jwhat - 07-05-2023, 12:40 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by jan-jaap - 07-05-2023, 02:32 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 07-05-2023, 04:25 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by kubatyszko - 07-27-2023, 03:47 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by weblacky - 07-27-2023, 04:44 PM
RE: Need Fuel L1 commands to change CPU PIMMs - by ruckusman - 12-07-2024, 09:01 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)