Bin Meng | ec969fa | 2019-07-18 00:34:19 -0700 | [diff] [blame] | 1 | .. SPDX-License-Identifier: GPL-2.0+ |
| 2 | |
| 3 | ADP-AG101P |
| 4 | ========== |
| 5 | |
| 6 | ADP-AG101P is the SoC with AG101 hardcore CPU. |
| 7 | |
| 8 | AG101P SoC |
| 9 | ---------- |
Kun-Hua Huang | 89299e2 | 2015-08-24 14:52:35 +0800 | [diff] [blame] | 10 | |
| 11 | AG101P is the mainline SoC produced by Andes Technology using N1213 CPU core |
| 12 | with FPU and DDR contoller support. |
| 13 | AG101P has integrated both AHB and APB bus and many periphals for application |
| 14 | and product development. |
| 15 | |
Kun-Hua Huang | 89299e2 | 2015-08-24 14:52:35 +0800 | [diff] [blame] | 16 | |
| 17 | Configurations |
Bin Meng | ec969fa | 2019-07-18 00:34:19 -0700 | [diff] [blame] | 18 | -------------- |
Kun-Hua Huang | 89299e2 | 2015-08-24 14:52:35 +0800 | [diff] [blame] | 19 | |
| 20 | CONFIG_MEM_REMAP: |
| 21 | Doing memory remap is essential for preparing some non-OS or RTOS |
| 22 | applications. |
| 23 | |
| 24 | CONFIG_SKIP_LOWLEVEL_INIT: |
| 25 | If you want to boot this system from SPI ROM and bypass e-bios (the |
Tom Rini | e1e8544 | 2021-08-27 21:18:30 -0400 | [diff] [blame] | 26 | other boot loader on ROM). You should enable CONFIG_SKIP_LOWLEVEL_INIT |
| 27 | when running menuconfig or similar. |
Kun-Hua Huang | 89299e2 | 2015-08-24 14:52:35 +0800 | [diff] [blame] | 28 | |
| 29 | Build and boot steps |
Bin Meng | ec969fa | 2019-07-18 00:34:19 -0700 | [diff] [blame] | 30 | -------------------- |
Kun-Hua Huang | 89299e2 | 2015-08-24 14:52:35 +0800 | [diff] [blame] | 31 | |
Bin Meng | ec969fa | 2019-07-18 00:34:19 -0700 | [diff] [blame] | 32 | Build: |
| 33 | |
Kun-Hua Huang | 89299e2 | 2015-08-24 14:52:35 +0800 | [diff] [blame] | 34 | 1. Prepare the toolchains and make sure the $PATH to toolchains is correct. |
| 35 | 2. Use `make adp-ag101p_defconfig` in u-boot root to build the image. |
| 36 | |
Bin Meng | ec969fa | 2019-07-18 00:34:19 -0700 | [diff] [blame] | 37 | Burn U-Boot to SPI ROM |
| 38 | ---------------------- |
Kun-Hua Huang | 89299e2 | 2015-08-24 14:52:35 +0800 | [diff] [blame] | 39 | |
| 40 | This section will be added later. |