Skip to content

Commit 52f3468

Browse files
committed
fix layout
1 parent 47539e0 commit 52f3468

9 files changed

Lines changed: 34 additions & 39 deletions

File tree

assets/images/bootflow_cca.png.jpg

65.3 KB
Loading
35.3 KB
Loading

assets/scss/common/_custom.scss

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,21 @@ blockquote p {
1111
font-size: inherit;
1212
margin: 0.25rem 0;
1313
}
14+
15+
16+
.hugo-image .hugo-image-500 {
17+
display: block;
18+
margin: 0 auto;
19+
height: auto;
20+
width: 100%;
21+
}
22+
23+
@media (min-width: 520px) {
24+
.hugo-image {
25+
width: 450px;
26+
}
27+
28+
.hugo-image-500 {
29+
width: 500px;
30+
}
31+
}

content/blog/2025-12-hardware-parts/index.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,13 @@ seo:
1818
---
1919

2020
<style>
21-
22-
2321
.box-thumb img,
2422
img.box-thumb {
25-
max-width: 500px;
23+
width: auto;
24+
max-width: min(500px, 100%);
2625
height: auto;
2726
display: block;
28-
margin-left: auto;
29-
margin-right: auto;
27+
margin: 0 auto;
3028
}
3129
</style>
3230

@@ -36,14 +34,13 @@ We updated the site with a purchase list to build the opencca box.
3634
- [opencca-box](https://github.com/opencca/opencca-box)
3735

3836

39-
40-
{{< img class="box-thumb" src="images/box/box1.jpg" width="200" alt="box1" >}}
37+
{{< img class="hugo-image" src="images/box/box1.jpg" width="200" alt="box1" >}}
4138

4239
<br />
4340

44-
{{< img class="box-thumb" src="images/box/box2.jpg" width="200" alt="box2" >}}
41+
{{< img class="hugo-image" src="images/box/box2.jpg" width="200" alt="box2" >}}
4542

4643
<br />
4744

48-
{{< img class="box-thumb" src="images/box/box3.jpg" width="200" alt="box3" >}}
45+
{{< img class="hugo-image" src="images/box/box3.jpg" width="200" alt="box3" >}}
4946

content/docs/guides/hardware.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ For automated power cycling and flashing, we built a small box setup.
7474

7575

7676

77-
{{< img src="images/opencca5.png" width="100" alt="Automation box overview" >}}
77+
{{< img src="images/opencca5.png" class="" width="100" alt="Automation box overview" >}}
7878

7979
<br />
8080

@@ -136,7 +136,7 @@ Optional enclosure parts to house the setup, including a power strip and fans.
136136

137137
<br />
138138

139-
{{< img src="images/opencca1.png" width="100" alt="Optional Box Enclosure" >}}
139+
{{< img src="images/opencca1.png" class="hugo-image-500" width="100" alt="Optional Box Enclosure" >}}
140140

141141

142142
| Product | Link | Comment |

content/docs/reference/hardware-debug.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ The table below lists the IO memory to enable hardware debugging on the SoC. We
2727

2828
| **Bus** | **Address** | **Value** |
2929
|---|---|---|
30-
| SYS_GRF_SOC_CON6 | 0xFD58C318 | 0x40004000 |
31-
| BUS_IOC_GPIO4D_IOMUX_SEL_L | 0xFD5F8098 | 0xFF005500 |
30+
| SYS_GRF SOC_CON6 | 0xFD58C318 | 0x40004000 |
31+
| BUS_IOC_GPIO4D IOMUX_SEL_L | 0xFD5F8098 | 0xFF005500 |
3232

3333
```sh
3434
# Run on RK3588 hypervisor after boot

content/docs/reference/memory-layout.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,13 @@ seo:
1414
noindex: false # false (default) or true
1515
---
1616

17-
<style>
18-
19-
.box-thumb img,
20-
img.box-thumb {
21-
max-width: 500px;
22-
height: auto;
23-
display: block;
24-
margin-left: auto;
25-
margin-right: auto;
26-
}
27-
</style>
2817

2918
## Layout
3019

3120
We load the firmware at the beginning of the first DRAM.
3221
<!-- TODO: There is a typo in the comment in the source, fix that first -->
3322

34-
{{< img class="box-thumb" src="images/memorylayout1.png" width="300" alt="Memory Layout" >}}
23+
{{< img class="hugo-image" src="images/memorylayout1.png" width="300" alt="Memory Layout" >}}
3524
> Figure: Memory region DRAM Bank 1. Color: Firmware memory. Not to scale.
3625
<br />
3726

content/docs/reference/rk3588-boot.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,6 @@ seo:
1414
noindex: false # false (default) or true
1515
---
1616

17-
<style>
18-
19-
20-
.box-thumb img,
21-
img.box-thumb {
22-
max-width: 500px;
23-
height: auto;
24-
display: block;
25-
margin-left: auto;
26-
margin-right: auto;
27-
}
28-
</style>
2917

3018

3119
## Bootflow
@@ -35,7 +23,7 @@ The firmware boot process begins when the SoC is powered on and continues until
3523
The boot flow is divided into multiple stages, all executed by the primary CPU.
3624
The SoC includes 7 additional secondary cores that are later enabled during the normal world hypervisor boot.
3725

38-
{{< img class="box-thumb" src="images/bootflow_cca.png" width="300" alt="Bootflow OpenCCA" >}}
26+
{{< img class="hugo-image" src="images/bootflow_cca_white.png" width="300" alt="Bootflow OpenCCA" >}}
3927
> Figure: Bootflow RK3588 with OpenCCA. Gray: propritary code, Orange: OpenCCA changes.
4028
<br />
4129
@@ -64,7 +52,7 @@ Once **BL33** has loaded, it searches for the hypervisor in eMMC, SD card, or NV
6452

6553
#### BL32
6654
Although Radxa ships a binary blob of OP-TEE, there is upstream support for the RK3588
67-
[https://optee.readthedocs.io/en/latest/general/platforms.html](https://optee.readthedocs.io/en/latest/general/platforms.html)
55+
[https://optee.readthedocs.io/](https://optee.readthedocs.io/en/latest/general/platforms.html)
6856

6957
We have currently not looked into OP-TEE. Interested in trusted Apps and the secure world? Reach out and bootstrap OP-TEE for OpenCCA.
7058

hugo_stats.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@
162162
"header",
163163
"highlight",
164164
"home",
165+
"hugo-image",
166+
"hugo-image-500",
165167
"icon",
166168
"icon-tabler",
167169
"icon-tabler-arrow-left",
@@ -174,6 +176,7 @@
174176
"icon-tabler-search",
175177
"icon-tabler-sun",
176178
"icon-tabler-x",
179+
"image-hugo-500",
177180
"img-fluid",
178181
"is-terminal",
179182
"justify-content-between",

0 commit comments

Comments
 (0)