Skip to content

Commit c351972

Browse files
author
Shaunak Saha
committed
@FIR-546: Update 6.6.51 LTS
Signed-off-by: Shaunak Saha <[email protected]> Update to 6.6.51 LTS and include the tsavorite specific patches: @FIR-507: Preliminary changes to test upto 3GB memory. Test results are as follows --------------------------- root@agilex7_dk_si_agf014ea:/usr/bin/tsi/v0.1.1.tsv22_02_03_2025/bin# ./run_platform_test.sh Check if tnApcMgr is running; if it is not, uncomment below line and execute the run_platform_test.sh script. Running on v0.1.1.tsv22_02_03_2025 [LlamaForCausalLM_Random v.1] Allocated DRAM arrays (host VAs): input0 = 0xffffa3a9d080 input1 = 0xffffa2e9d080 output0 = 0xffffa369d080 [LlamaForCausalLM_Random v.1] Model executed successfully. Validating result... [LlamaForCausalLM_Random v.1] PASS [relative err=0.000001] root@agilex7_dk_si_agf014ea:/usr/bin/tsi/v0.1.1.tsv22_02_03_2025/bin# cd aot-tests/ root@agilex7_dk_si_agf014ea:/usr/bin/tsi/v0.1.1.tsv22_02_03_2025/bin/aot-tests# root@agilex7_dk_si_agf014ea:/usr/bin/tsi/v0.1.1.tsv22_02_03_2025/bin/aot-tests# ./models/llama_sp/llama_sp.sh ./models/llama_sp/llama_sp.exe: error while loading shared libraries: libTsavRTFPGA.so.0.3.4: cannot open shared object file: No such file or directory root@agilex7_dk_si_agf014ea:/usr/bin/tsi/v0.1.1.tsv22_02_03_2025/bin/aot-tests# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/bin/tsi/v0.1.1.tsv22_02_03_2025/bin/aot-tests/lib/ root@agilex7_dk_si_agf014ea:/usr/bin/tsi/v0.1.1.tsv22_02_03_2025/bin/aot-tests# ./models/llama_sp/llama_sp.sh Environment variable TOKENIZER_MODEL_PATH is not set. Please set it to the path of the tokenizer model. root@agilex7_dk_si_agf014ea:/usr/bin/tsi/v0.1.1.tsv22_02_03_2025/bin/aot-tests# ls /tsi/ animesh anoop_dec15 atrivedi cdogra dinesh lost+found ross sponnambalam tsi-sw anoop aot-tests bnorris demo dmohapatra meera runtime test vgarg root@agilex7_dk_si_agf014ea:/usr/bin/tsi/v0.1.1.tsv22_02_03_2025/bin/aot-tests# ls /tsi/atrivedi/ _deps aot-all-tests.tz lib models rt_lib.txt rtlib_0.3.1.tz tokenizer.model tvu ullama ullama_bf16 usr_lib.txt root@agilex7_dk_si_agf014ea:/usr/bin/tsi/v0.1.1.tsv22_02_03_2025/bin/aot-tests# export TOKENIZER_MODEL_PATH=/tsi/atrivedi/tokenizer.model root@agilex7_dk_si_agf014ea:/usr/bin/tsi/v0.1.1.tsv22_02_03_2025/bin/aot-tests# ./models/llama_sp/llama_sp.sh Generating text... Generated token 4/26: " a " (ID: 260 ) - Time: 3.22 s Generated token 5/26: " sound " (ID: 2144 ) - Time: 3.18 s Generated token 6/26: " ' " (ID: 31876 ) - Time: 3.19 s Generated token 7/26: " s " (ID: 31829 ) - Time: 3.20 s Generated token 8/26: " coat " (ID: 13085 ) - Time: 3.15 s Generated token 9/26: " . " (ID: 31843 ) - Time: 3.15 s Generated token 10/26: " He " (ID: 636 ) - Time: 3.15 s Generated token 11/26: " says " (ID: 1329 ) - Time: 3.15 s Generated token 12/26: " , " (ID: 31844 ) - Time: 3.18 s Generated token 13/26: " " " (ID: 495 ) - Time: 3.18 s Generated token 14/26: " I " (ID: 31850 ) - Time: 3.18 s Generated token 15/26: " will " (ID: 482 ) - Time: 3.15 s Generated token 16/26: " try " (ID: 1489 ) - Time: 3.15 s Generated token 17/26: " !" " (ID: 6573 ) - Time: 3.18 s Generated token 18/26: " " (ID: 13 ) - Time: 3.15 s Generated token 19/26: " The " (ID: 1046 ) - Time: 3.19 s Generated token 20/26: " dog " (ID: 3924 ) - Time: 3.19 s Generated token 21/26: " looks " (ID: 3529 ) - Time: 3.15 s Generated token 22/26: " up " (ID: 550 ) - Time: 3.15 s Generated token 23/26: " and " (ID: 291 ) - Time: 3.15 s Generated token 24/26: " saw " (ID: 2815 ) - Time: 3.16 s Generated token 25/26: " the " (ID: 266 ) - Time: 3.15 s Generated text: My cat is a sound's coat. He says, "I will try!" The dog looks up and saw the
1 parent 0447da7 commit c351972

File tree

4 files changed

+908
-1
lines changed

4 files changed

+908
-1
lines changed

arch/arm64/boot/dts/intel/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ dtb-$(CONFIG_ARCH_INTEL_SOCFPGA) += socfpga_agilex_n6000.dtb \
33
socfpga_agilex_socdk.dtb \
44
socfpga_agilex_socdk_atfboot.dtb \
55
socfpga_agilex_socdk_nand.dtb \
6+
socfpga_agilex_bittware.dtb \
67
socfpga_agilex5_socdk.dtb \
78
socfpga_agilex_n6010.dtb \
89
socfpga_agilex5_socdk.dtb \
Lines changed: 188 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,188 @@
1+
// SPDX-License-Identifier: GPL-2.0
2+
/*
3+
* Copyright (C) 2019, Intel Corporation
4+
*/
5+
#include "socfpga_agilex_bittware.dtsi"
6+
#include "socfpga_agilex_pcie_root_port.dtsi"
7+
/ {
8+
model = "SoCFPGA Agilex BittWare";
9+
10+
aliases {
11+
serial0 = &uart0;
12+
ethernet0 = &gmac0;
13+
ethernet1 = &gmac1;
14+
ethernet2 = &gmac2;
15+
};
16+
17+
chosen {
18+
stdout-path = "serial0:115200n8";
19+
};
20+
21+
leds {
22+
compatible = "gpio-leds";
23+
led0 {
24+
label = "hps_led0";
25+
gpios = <&portb 20 GPIO_ACTIVE_HIGH>;
26+
};
27+
28+
led1 {
29+
label = "hps_led1";
30+
gpios = <&portb 19 GPIO_ACTIVE_HIGH>;
31+
};
32+
33+
led2 {
34+
label = "hps_led2";
35+
gpios = <&portb 21 GPIO_ACTIVE_HIGH>;
36+
};
37+
};
38+
39+
memory {
40+
device_type = "memory";
41+
/* We expect the bootloader to fill in the reg */
42+
reg = <0 0 0 0>;
43+
};
44+
};
45+
46+
&gpio1 {
47+
status = "okay";
48+
};
49+
50+
&gmac2 {
51+
status = "disabled";
52+
phy-mode = "rgmii";
53+
phy-handle = <&phy0>;
54+
55+
max-frame-size = <9000>;
56+
57+
mdio0 {
58+
#address-cells = <1>;
59+
#size-cells = <0>;
60+
compatible = "snps,dwmac-mdio";
61+
phy0: ethernet-phy@0 {
62+
reg = <4>;
63+
64+
txd0-skew-ps = <0>; /* -420ps */
65+
txd1-skew-ps = <0>; /* -420ps */
66+
txd2-skew-ps = <0>; /* -420ps */
67+
txd3-skew-ps = <0>; /* -420ps */
68+
rxd0-skew-ps = <420>; /* 0ps */
69+
rxd1-skew-ps = <420>; /* 0ps */
70+
rxd2-skew-ps = <420>; /* 0ps */
71+
rxd3-skew-ps = <420>; /* 0ps */
72+
txen-skew-ps = <0>; /* -420ps */
73+
txc-skew-ps = <900>; /* 0ps */
74+
rxdv-skew-ps = <420>; /* 0ps */
75+
rxc-skew-ps = <1680>; /* 780ps */
76+
};
77+
};
78+
};
79+
80+
&nand {
81+
status = "okay";
82+
nand-bus-width = <8>;
83+
84+
flash@0 {
85+
#address-cells = <1>;
86+
#size-cells = <1>;
87+
reg = <0>;
88+
nand-bus-width = <8>;
89+
90+
partition@0 {
91+
label = "u-boot";
92+
reg = <0 0x200000>;
93+
};
94+
partition@200000 {
95+
label = "root";
96+
reg = <0x200000 0x1fe00000>;
97+
};
98+
};
99+
};
100+
101+
&osc1 {
102+
clock-frequency = <25000000>;
103+
};
104+
105+
&uart0 {
106+
status = "okay";
107+
};
108+
109+
&usb0 {
110+
status = "okay";
111+
disable-over-current;
112+
};
113+
114+
&watchdog0 {
115+
status = "okay";
116+
};
117+
118+
&temp_volt {
119+
voltage {
120+
#address-cells = <1>;
121+
#size-cells = <0>;
122+
input@2 {
123+
label = "0.8V VCC";
124+
reg = <2>;
125+
};
126+
127+
input@3 {
128+
label = "1.8V VCCIO_SDM";
129+
reg = <3>;
130+
};
131+
132+
input@4 {
133+
label = "1.8V VCCPT";
134+
reg = <4>;
135+
};
136+
137+
input@5 {
138+
label = "1.2V VCCCRCORE";
139+
reg = <5>;
140+
};
141+
142+
input@6 {
143+
label = "0.9V VCCH";
144+
reg = <6>;
145+
};
146+
147+
input@7 {
148+
label = "0.8V VCCL";
149+
reg = <7>;
150+
};
151+
};
152+
153+
temperature {
154+
#address-cells = <1>;
155+
#size-cells = <0>;
156+
157+
input@0 {
158+
label = "Main Die SDM";
159+
reg = <0x0>;
160+
};
161+
162+
input@10000 {
163+
label = "Main Die corner bottom left max";
164+
reg = <0x10000>;
165+
};
166+
167+
input@20000 {
168+
label = "Main Die corner top left max";
169+
reg = <0x20000>;
170+
};
171+
172+
input@30000 {
173+
label = "Main Die corner bottom right max";
174+
reg = <0x30000>;
175+
};
176+
177+
input@40000 {
178+
label = "Main Die corner top right max";
179+
reg = <0x40000>;
180+
};
181+
};
182+
};
183+
184+
&pcie_0_pcie_aglx {
185+
status = "okay";
186+
compatible = "altr,pcie-root-port-3.0-f-tile";
187+
};
188+

0 commit comments

Comments
 (0)