Blame view

doc/README.uniphier 14 KB
7168da163   Masahiro Yamada   ARM: UniPhier: ad...
1
2
  U-Boot for UniPhier SoC family
  ==============================
12a5ce727   Masahiro Yamada   ARM: uniphier: up...
3
4
  Recommended toolchains
  ----------------------
7168da163   Masahiro Yamada   ARM: UniPhier: ad...
5

673ac334f   Masahiro Yamada   doc: uniphier: re...
6
  The UniPhier platform is well tested with Linaro toolchains.
12a5ce727   Masahiro Yamada   ARM: uniphier: up...
7
  You can download pre-built toolchains from:
7168da163   Masahiro Yamada   ARM: UniPhier: ad...
8
9
  
      http://www.linaro.org/downloads/
7168da163   Masahiro Yamada   ARM: UniPhier: ad...
10
11
12
  
  Compile the source
  ------------------
673ac334f   Masahiro Yamada   doc: uniphier: re...
13
  The source can be configured and built with the following commands:
7168da163   Masahiro Yamada   ARM: UniPhier: ad...
14

673ac334f   Masahiro Yamada   doc: uniphier: re...
15
16
      $ make <defconfig>
      $ make CROSS_COMPILE=<toolchain-prefix> DEVICE_TREE=<device-tree>
7168da163   Masahiro Yamada   ARM: UniPhier: ad...
17

673ac334f   Masahiro Yamada   doc: uniphier: re...
18
19
20
  The recommended <toolchain-prefix> is `arm-linux-gnueabihf-` for 32bit SoCs,
  `aarch64-linux-gnu-` for 64bit SoCs, but you may wish to change it to use your
  favorite compiler.
5fd3f4346   Masahiro Yamada   ARM: uniphier: me...
21

673ac334f   Masahiro Yamada   doc: uniphier: re...
22
  The following tables show <defconfig> and <device-tree> for each board.
3365b4eb5   Masahiro Yamada   ARM: UniPhier: ad...
23

673ac334f   Masahiro Yamada   doc: uniphier: re...
24
  32bit SoC boards:
c6c7eed74   Masahiro Yamada   ARM: uniphier: do...
25

81b9bb5fc   Masahiro Yamada   ARM: uniphier: me...
26
27
28
29
30
31
32
33
34
35
36
   Board         | <defconfig>                 | <device-tree>
  ---------------|-----------------------------|------------------------------
  LD4 reference  | uniphier_ld4_sld8_defconfig | uniphier-ld4-ref (default)
  sld8 reference | uniphier_ld4_sld8_defconfig | uniphier-sld8-def
  Pro4 reference | uniphier_v7_defconfig       | uniphier-pro4-ref
  Pro4 Ace       | uniphier_v7_defconfig       | uniphier-pro4-ace
  Pro4 Sanji     | uniphier_v7_defconfig       | uniphier-pro4-sanji
  Pro5 4KBOX     | uniphier_v7_defconfig       | uniphier-pro5-4kbox
  PXs2 Gentil    | uniphier_v7_defconfig       | uniphier-pxs2-gentil
  PXs2 Vodka     | uniphier_v7_defconfig       | uniphier-pxs2-vodka (default)
  LD6b reference | uniphier_v7_defconfig       | uniphier-ld6b-ref
c6c7eed74   Masahiro Yamada   ARM: uniphier: do...
37

673ac334f   Masahiro Yamada   doc: uniphier: re...
38
  64bit SoC boards:
28f40d4a4   Masahiro Yamada   ARM: uniphier: ad...
39

673ac334f   Masahiro Yamada   doc: uniphier: re...
40
41
42
43
44
45
   Board         | <defconfig>           | <device-tree>
  ---------------|-----------------------|----------------------------
  LD11 reference | uniphier_v8_defconfig | uniphier-ld11-ref
  LD11 Global    | uniphier_v8_defconfig | uniphier-ld11-global
  LD20 reference | uniphier_v8_defconfig | uniphier-ld20-ref (default)
  LD20 Global    | uniphier_v8_defconfig | uniphier-ld20-global
81b9bb5fc   Masahiro Yamada   ARM: uniphier: me...
46
  PXs3 reference | uniphier_v8_defconfig | uniphier-pxs3-ref
019df879a   Masahiro Yamada   ARM: uniphier: ad...
47

673ac334f   Masahiro Yamada   doc: uniphier: re...
48
  For example, to compile the source for PXs2 Vodka board, run the following:
019df879a   Masahiro Yamada   ARM: uniphier: ad...
49

81b9bb5fc   Masahiro Yamada   ARM: uniphier: me...
50
      $ make uniphier_v7_defconfig
673ac334f   Masahiro Yamada   doc: uniphier: re...
51
      $ make CROSS_COMPILE=arm-linux-gnueabihf- DEVICE_TREE=uniphier-pxs2-vodka
12a5ce727   Masahiro Yamada   ARM: uniphier: up...
52

673ac334f   Masahiro Yamada   doc: uniphier: re...
53
  The device tree marked as (default) can be omitted.  `uniphier-pxs2-vodka` is
81b9bb5fc   Masahiro Yamada   ARM: uniphier: me...
54
55
  the default device tree for the configuration `uniphier_v7_defconfig`, so the
  following gives the same result.
1a2645341   Masahiro Yamada   ARM: uniphier: su...
56

81b9bb5fc   Masahiro Yamada   ARM: uniphier: me...
57
      $ make uniphier_v7_defconfig
673ac334f   Masahiro Yamada   doc: uniphier: re...
58
      $ make CROSS_COMPILE=arm-linux-gnueabihf-
2c2ab3d49   Masahiro Yamada   ARM: uniphier: ad...
59

7168da163   Masahiro Yamada   ARM: UniPhier: ad...
60

673ac334f   Masahiro Yamada   doc: uniphier: re...
61
62
  Booting 32bit SoC boards
  ------------------------
7168da163   Masahiro Yamada   ARM: UniPhier: ad...
63

673ac334f   Masahiro Yamada   doc: uniphier: re...
64
65
66
  The build command will generate the following:
  - u-boot.bin
  - spl/u-boot.bin
7168da163   Masahiro Yamada   ARM: UniPhier: ad...
67

673ac334f   Masahiro Yamada   doc: uniphier: re...
68
69
  U-Boot can boot UniPhier 32bit SoC boards by itself.  Flash the generated images
  to the storage device (NAND or eMMC) on your board.
d085ecd61   Masahiro Yamada   ARM: uniphier: sw...
70

3cb9abc9c   Masahiro Yamada   ARM: uniphier: up...
71
   - spl/u-boot-spl.bin at the offset address 0x00000000
cf3175bcd   Masahiro Yamada   ARM: uniphier: up...
72
   - u-boot.bin         at the offset address 0x00020000
d085ecd61   Masahiro Yamada   ARM: uniphier: sw...
73

673ac334f   Masahiro Yamada   doc: uniphier: re...
74
75
  The `u-boot-with-spl.bin` is the concatenation of the two (with appropriate
  padding), so you can also do:
d085ecd61   Masahiro Yamada   ARM: uniphier: sw...
76
77
  
   - u-boot-with-spl.bin at the offset address 0x00000000
7168da163   Masahiro Yamada   ARM: UniPhier: ad...
78
79
  
  If a TFTP server is available, the images can be easily updated.
d085ecd61   Masahiro Yamada   ARM: uniphier: sw...
80
  Just copy the u-boot-spl.bin and u-boot.bin to the TFTP public directory,
673ac334f   Masahiro Yamada   doc: uniphier: re...
81
  and run the following command at the U-Boot command line:
7168da163   Masahiro Yamada   ARM: UniPhier: ad...
82

673ac334f   Masahiro Yamada   doc: uniphier: re...
83
  To update the images in NAND:
7168da163   Masahiro Yamada   ARM: UniPhier: ad...
84

673ac334f   Masahiro Yamada   doc: uniphier: re...
85
      => run nandupdate
7168da163   Masahiro Yamada   ARM: UniPhier: ad...
86

673ac334f   Masahiro Yamada   doc: uniphier: re...
87
  To update the images in eMMC:
c231c4367   Masahiro Yamada   ARM: uniphier: ad...
88

673ac334f   Masahiro Yamada   doc: uniphier: re...
89
      => run emmcupdate
d085ecd61   Masahiro Yamada   ARM: uniphier: sw...
90

d085ecd61   Masahiro Yamada   ARM: uniphier: sw...
91

673ac334f   Masahiro Yamada   doc: uniphier: re...
92
93
  Booting 64bit SoC boards
  ------------------------
d085ecd61   Masahiro Yamada   ARM: uniphier: sw...
94

673ac334f   Masahiro Yamada   doc: uniphier: re...
95
96
  The build command will generate the following:
  - u-boot.bin
c231c4367   Masahiro Yamada   ARM: uniphier: ad...
97

673ac334f   Masahiro Yamada   doc: uniphier: re...
98
99
100
101
  However, U-Boot is not the first stage loader for UniPhier 64bit SoC boards.
  U-Boot serves as a non-secure boot loader loaded by [ARM Trusted Firmware],
  so you need to provide the `u-boot.bin` to the build command of ARM Trusted
  Firmware.
c231c4367   Masahiro Yamada   ARM: uniphier: ad...
102

673ac334f   Masahiro Yamada   doc: uniphier: re...
103
  [ARM Trusted Firmware]: https://github.com/ARM-software/arm-trusted-firmware
c231c4367   Masahiro Yamada   ARM: uniphier: ad...
104

9e19031ca   Masahiro Yamada   doc: uniphier: ad...
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
  Verified Boot
  -------------
  
  U-Boot supports an image verification method called "Verified Boot".
  This is a brief tutorial to utilize this feature for the UniPhier platform.
  You will find details documents in the doc/uImage.FIT directory.
  
  Here, we take LD20 reference board for example, but it should work for any
  other boards including 32 bit SoCs.
  
  1. Generate key to sign with
  
    $ mkdir keys
    $ openssl genpkey -algorithm RSA -out keys/dev.key \
      -pkeyopt rsa_keygen_bits:2048 -pkeyopt rsa_keygen_pubexp:65537
    $ openssl req -batch -new -x509 -key keys/dev.key -out keys/dev.crt
  
  Two files "dev.key" and "dev.crt" will be created.  The base name is arbitrary,
  but need to match to the "key-name-hint" property described below.
  
  2. Describe FIT source
  
  You need to write an FIT (Flattened Image Tree) source file to describe the
  structure of the image container.
  
  The following is an example for a simple usecase:
  
  ---------------------------------------->8----------------------------------------
  /dts-v1/;
  
  / {
  	description = "Kernel, DTB and Ramdisk for UniPhier LD20 Reference Board";
  	#address-cells = <1>;
  
  	images {
971a54193   Andre Przywara   doc: fix incorrec...
140
  		kernel {
9e19031ca   Masahiro Yamada   doc: uniphier: ad...
141
142
143
144
145
146
147
148
  			description = "linux";
  			data = /incbin/("PATH/TO/YOUR/LINUX/DIR/arch/arm64/boot/Image.gz");
  			type = "kernel";
  			arch = "arm64";
  			os = "linux";
  			compression = "gzip";
  			load = <0x82080000>;
  			entry = <0x82080000>;
971a54193   Andre Przywara   doc: fix incorrec...
149
  			hash-1 {
9e19031ca   Masahiro Yamada   doc: uniphier: ad...
150
151
152
  				algo = "sha256";
  			};
  		};
971a54193   Andre Przywara   doc: fix incorrec...
153
  		fdt-1 {
9e19031ca   Masahiro Yamada   doc: uniphier: ad...
154
155
156
157
158
  			description = "fdt";
  			data = /incbin/("PATH/TO/YOUR/LINUX/DIR/arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dtb");
  			type = "flat_dt";
  			arch = "arm64";
  			compression = "none";
971a54193   Andre Przywara   doc: fix incorrec...
159
  			hash-1 {
9e19031ca   Masahiro Yamada   doc: uniphier: ad...
160
161
162
  				algo = "sha256";
  			};
  		};
971a54193   Andre Przywara   doc: fix incorrec...
163
  		ramdisk {
9e19031ca   Masahiro Yamada   doc: uniphier: ad...
164
165
166
167
168
169
  			description = "ramdisk";
  			data = /incbin/("PATH/TO/YOUR/ROOTFS/DIR/rootfs.cpio");
  			type = "ramdisk";
  			arch = "arm64";
  			os = "linux";
  			compression = "none";
971a54193   Andre Przywara   doc: fix incorrec...
170
  			hash-1 {
9e19031ca   Masahiro Yamada   doc: uniphier: ad...
171
172
173
174
175
176
  				algo = "sha256";
  			};
  		};
  	};
  
  	configurations {
971a54193   Andre Przywara   doc: fix incorrec...
177
  		default = "config-1";
9e19031ca   Masahiro Yamada   doc: uniphier: ad...
178

971a54193   Andre Przywara   doc: fix incorrec...
179
  		config-1 {
9e19031ca   Masahiro Yamada   doc: uniphier: ad...
180
  			description = "Configuration0";
971a54193   Andre Przywara   doc: fix incorrec...
181
182
183
184
  			kernel = "kernel";
  			fdt = "fdt-1";
  			ramdisk = "ramdisk";
  			signature-1 {
9e19031ca   Masahiro Yamada   doc: uniphier: ad...
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
  				algo = "sha256,rsa2048";
  				key-name-hint = "dev";
  				sign-images = "kernel", "fdt", "ramdisk";
  			};
  		};
  	};
  };
  ---------------------------------------->8----------------------------------------
  
  You need to change the three '/incbin/' lines, depending on the location of
  your kernel image, device tree blob, and init ramdisk.  The "load" and "entry"
  properties also need to be adjusted if you want to change the physical placement
  of the kernel.
  
  The "key-name-hint" must specify the key name you have created in the step 1.
  
  The FIT file name is arbitrary.  Let's say you saved it into "fit.its".
  
  3. Compile U-Boot with FIT and signature enabled
  
  To use the Verified Boot, you need to enable the following two options:
    CONFIG_FIT
    CONFIG_FIT_SIGNATURE
  
  They are disabled by default for UniPhier defconfig files.  So, you need to
  tweak the configuration from "make menuconfig" or friends.
  
    $ make uniphier_v8_defconfig
    $ make menuconfig
        [ enable CONFIG_FIT and CONFIG_FIT_SIGNATURE ]
    $ make CROSS_COMPILE=aarch64-linux-gnu-
  
  4. Build the image tree blob
  
  After building U-Boot, you will see tools/mkimage.  With this tool, you can
  create an image tree blob as follows:
  
    $ tools/mkimage -f fit.its -k keys -K dts/dt.dtb -r -F fitImage
  
  The -k option must specify the key directory you have created in step 1.
  
  A file "fitImage" will be created.  This includes kernel, DTB, Init-ramdisk,
  hash data for each of the three, and signature data.
  
  The public key needed for the run-time verification is stored in "dts/dt.dtb".
  
  5. Compile U-Boot again
  
  Since the "dt.dtb" has been updated in step 4, you need to re-compile the
  U-Boot.
  
    $ make CROSS_COMPILE=aarch64-linux-gnu-
  
  The re-compiled "u-boot.bin" is appended with DTB that contains the public key.
  
  6. Flash the image
  
  Flash the "fitImage" to a storage device (NAND, eMMC, or whatever) on your
  board.
  
  Please note the "u-boot.bin" must be signed, and verified by someone when it is
  loaded.  For ARMv8 SoCs, the "someone" is generally ARM Trusted Firmware BL2.
  ARM Trusted Firmware supports an image authentication mechanism called Trusted
  Board Boot (TBB).  The verification process must be chained from the moment of
  the system reset.  If the Chain of Trust has a breakage somewhere, the verified
  boot process is entirely pointless.
  
  7. Boot verified kernel
  
  Load the fitImage to memory and run the following from the U-Boot command line.
  
    > bootm <addr>
  
  Here, <addr> is the base address of the fitImage.
  
  If it is successful, you will see messages like follows:
  
  ---------------------------------------->8----------------------------------------
  ## Loading kernel from FIT Image at 84100000 ...
971a54193   Andre Przywara   doc: fix incorrec...
264
     Using 'config-1' configuration
9e19031ca   Masahiro Yamada   doc: uniphier: ad...
265
     Verifying Hash Integrity ... sha256,rsa2048:dev+ OK
971a54193   Andre Przywara   doc: fix incorrec...
266
     Trying 'kernel' kernel subimage
9e19031ca   Masahiro Yamada   doc: uniphier: ad...
267
268
269
270
271
272
273
274
275
276
277
278
279
280
       Description:  linux
       Created:      2017-10-20  14:32:29 UTC
       Type:         Kernel Image
       Compression:  gzip compressed
       Data Start:   0x841000c8
       Data Size:    6957818 Bytes = 6.6 MiB
       Architecture: AArch64
       OS:           Linux
       Load Address: 0x82080000
       Entry Point:  0x82080000
       Hash algo:    sha256
       Hash value:   82a37b7f11ae55f4e07aa25bf77e4067cb9dc1014d52d6cd4d588f92eee3aaad
     Verifying Hash Integrity ... sha256+ OK
  ## Loading ramdisk from FIT Image at 84100000 ...
971a54193   Andre Przywara   doc: fix incorrec...
281
282
     Using 'config-1' configuration
     Trying 'ramdisk' ramdisk subimage
9e19031ca   Masahiro Yamada   doc: uniphier: ad...
283
284
285
286
287
288
289
290
291
292
293
294
295
296
       Description:  ramdisk
       Created:      2017-10-20  14:32:29 UTC
       Type:         RAMDisk Image
       Compression:  uncompressed
       Data Start:   0x847a5cc0
       Data Size:    5264365 Bytes = 5 MiB
       Architecture: AArch64
       OS:           Linux
       Load Address: unavailable
       Entry Point:  unavailable
       Hash algo:    sha256
       Hash value:   44980a2874154a2e31ed59222c9f8ea968867637f35c81e4107a984de7014deb
     Verifying Hash Integrity ... sha256+ OK
  ## Loading fdt from FIT Image at 84100000 ...
971a54193   Andre Przywara   doc: fix incorrec...
297
298
     Using 'config-1' configuration
     Trying 'fdt-1' fdt subimage
9e19031ca   Masahiro Yamada   doc: uniphier: ad...
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
       Description:  fdt
       Created:      2017-10-20  14:32:29 UTC
       Type:         Flat Device Tree
       Compression:  uncompressed
       Data Start:   0x847a2cb0
       Data Size:    12111 Bytes = 11.8 KiB
       Architecture: AArch64
       Hash algo:    sha256
       Hash value:   c517099db537f6d325e6be46b25c871a41331ad5af0283883fd29d40bfc14e1d
     Verifying Hash Integrity ... sha256+ OK
     Booting using the fdt blob at 0x847a2cb0
     Uncompressing Kernel Image ... OK
     reserving fdt memory region: addr=80000000 size=2000000
     Loading Device Tree to 000000009fffa000, end 000000009fffff4e ... OK
  
  Starting kernel ...
  ---------------------------------------->8----------------------------------------
  
  Please pay attention to the lines that start with "Verifying Hash Integrity".
  
  "Verifying Hash Integrity ... sha256,rsa2048:dev+ OK" means the signature check
  passed.
  
  "Verifying Hash Integrity ... sha256+ OK" (3 times) means the hash check passed
  for kernel, DTB, and Init ramdisk.
  
  If they are not displayed, the Verified Boot is not working.
7ef5b1e7e   Masahiro Yamada   ARM: uniphier: en...
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
  Deployment for Distro Boot
  --------------------------
  
  UniPhier SoC family boot the kernel in a generic manner as described in
  doc/README.distro .
  
  To boot the kernel, you need to deploy necesssary components to a file
  system on one of your block devices (eMMC, NAND, USB drive, etc.).
  
  The components depend on the kernel image format.
  
  [1] Bare images
  
    - kernel
    - init ramdisk
    - device tree blob
    - boot configuration file (extlinux.conf)
  
  Here is an exmple of the configuration file.
  
  -------------------->8--------------------
  menu title UniPhier Boot Options.
  
  timeout 50
  default UniPhier
  
  label UniPhier
        kernel ../Image
        initrd ../rootfs.cpio.gz
        fdtdir ..
  -------------------->8--------------------
  
  Then, write 'Image', 'rootfs.cpio.gz', 'uniphier-ld20-ref.dtb' (DTB depends on
  your board), and 'extlinux/extlinux.conf' to the file system.
  
  [2] FIT
  
    - FIT blob
    - boot configuration file (extlinux.conf)
  
  -------------------->8--------------------
  menu title UniPhier Boot Options.
  
  timeout 50
  default UniPhier
  
  label UniPhier
        kernel ../fitImage
  -------------------->8--------------------
  
  Since the init ramdisk and DTB are contained in the FIT blob,
  you do not need to describe them in the configuration file.
  Write 'fitImage' and 'extlinux/extlinux.conf' to the file system.
7168da163   Masahiro Yamada   ARM: UniPhier: ad...
379
380
381
382
383
384
385
386
  UniPhier specific commands
  --------------------------
  
   - pinmon (enabled by CONFIG_CMD_PINMON)
       shows the boot mode pins that has been latched at the power-on reset
  
   - ddrphy (enabled by CONFIG_CMD_DDRPHY_DUMP)
       shows the DDR PHY parameters set by the PHY training
12a5ce727   Masahiro Yamada   ARM: uniphier: up...
387
388
   - ddrmphy (enabled by CONFIG_CMD_DDRMPHY_DUMP)
       shows the DDR Multi PHY parameters set by the PHY training
7168da163   Masahiro Yamada   ARM: UniPhier: ad...
389
390
391
392
393
394
  
  Supported devices
  -----------------
  
   - UART (on-chip)
   - NAND
a111bfbfa   Masahiro Yamada   mmc: uniphier: ad...
395
   - SD/eMMC
1e7df7c4e   Masahiro Yamada   usb: UniPhier: ad...
396
397
   - USB 2.0 (EHCI)
   - USB 3.0 (xHCI)
b9a66b63b   Masahiro Yamada   gpio: uniphier: a...
398
   - GPIO
7168da163   Masahiro Yamada   ARM: UniPhier: ad...
399
400
401
402
   - LAN (on-board SMSC9118)
   - I2C
   - EEPROM (connected to the on-board I2C bus)
   - Support card (SRAM, NOR flash, some peripherals)
62102bee1   Masahiro Yamada   ARM: UniPhier: do...
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
  Micro Support Card
  ------------------
  
  The recommended bit switch settings are as follows:
  
   SW2    OFF(1)/ON(0)   Description
   ------------------------------------------
   bit 1   <----         BKSZ[0]
   bit 2   ---->         BKSZ[1]
   bit 3   <----         SoC Bus Width 16/32
   bit 4   <----         SERIAL_SEL[0]
   bit 5   ---->         SERIAL_SEL[1]
   bit 6   ---->         BOOTSWAP_EN
   bit 7   <----         CS1/CS5
   bit 8   <----         SOC_SERIAL_DISABLE
  
   SW8    OFF(1)/ON(0)   Description
   ------------------------------------------
e69514cc7   Masahiro Yamada   ARM: uniphier: fi...
421
   bit 1    <----        CS1_SPLIT
62102bee1   Masahiro Yamada   ARM: UniPhier: do...
422
423
424
425
426
427
428
429
430
431
432
433
434
   bit 2    <----        CASE9_ON
   bit 3    <----        CASE10_ON
   bit 4  Don't Care     Reserve
   bit 5  Don't Care     Reserve
   bit 6  Don't Care     Reserve
   bit 7    ---->        BURST_EN
   bit 8    ---->        FLASHBUS32_16
  
  The BKSZ[1:0] specifies the address range of memory slot and peripherals
  as follows:
  
   BKSZ    Description              RAM slot            Peripherals
   --------------------------------------------------------------------
c57a9a635   Masahiro Yamada   ARM: uniphier: fi...
435
436
437
438
   0b00   15MB RAM / 1MB Peri    00000000-00efffff    00f00000-00ffffff
   0b01   31MB RAM / 1MB Peri    00000000-01efffff    01f00000-01ffffff
   0b10   64MB RAM / 1MB Peri    00000000-03efffff    03f00000-03ffffff
   0b11  127MB RAM / 1MB Peri    00000000-07efffff    07f00000-07ffffff
62102bee1   Masahiro Yamada   ARM: UniPhier: do...
439
440
441
442
443
  
  Set BSKZ[1:0] to 0b01 for U-Boot.
  This mode is the most handy because EA[24] is always supported by the save pin
  mode of the system bus.  On the other hand, EA[25] is not supported for some
  newer SoCs.  Even if it is, EA[25] is not connected on most of the boards.
7168da163   Masahiro Yamada   ARM: UniPhier: ad...
444
  --
62102bee1   Masahiro Yamada   ARM: UniPhier: do...
445
  Masahiro Yamada <yamada.masahiro@socionext.com>
9e19031ca   Masahiro Yamada   doc: uniphier: ad...
446
  Oct. 2017