| /OK3568_Linux_fs/kernel/drivers/mtd/rknand/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 7 tristate "RK NAND Device Support" 11 RK NAND Device Support 15 tristate "RK on-chip NAND Flash Controller driver with FTL" 19 This enables the RK28xx on-chip NAND flash controller and NFTL driver. 22 tristate "RK Nand buffer write enables" 28 tristate "RK emmc clock power save" 34 tristate "RK Nand driver debug enables" 44 Determines the verbosity level of the MTD NAND debugging messages.
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | rknand.h | 4 * SPDX-License-Identifier: GPL-2.0+ 10 * rknand_scan_namespace - scan all namespaces attached to RK NAND 13 * This probes all registered RK NAND uclass device drivers in the 14 * system,and tries to find all namespaces attached to the RK NAND 17 * @return: 0 on success, -ve on error
|
| /OK3568_Linux_fs/kernel/drivers/rkflash/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 12 Nand, SFC Spi Nand and SFC Spi Nor. 23 tristate "Rockchip Slc Nand FTL support" 27 This enables support for Slc Nand FTL. 29 Say Y when you have a board with Slc Nand Flash register as block device. 32 tristate "Rockchip NANDC Slc Nand Devices support" 36 This enables support for NANDC Slc Nand Devices. 40 Say Y when you have a board with Slc Nand Flash supported by Rockchip 44 tristate "Rockchip SFC Spi Nand Devices support" 48 This enables support for Rockchip SFC Spi Nand Devices. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/rk_nand/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 tristate "RK NAND Device Support" 8 RK NAND Device Support.
|
| /OK3568_Linux_fs/u-boot/drivers/rknand/ |
| H A D | Kconfig | 2 # Copyright (C) (C) Copyright 2016-2017 Rockchip Electronics Co., Ltd 4 # SPDX-License-Identifier: GPL-2.0+ 8 bool "Rockchip NAND FLASH device support" 12 This option enables support for Rockchip NAND FLASH devices. 13 It supports block interface(with rk ftl) to read and write NAND FLASH. 20 This option enables support for Rockchip NAND FLASH devices. 22 NAND FLASH.
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/rkflash/ |
| H A D | nandc.txt | 4 - compatible : "rockchip,rk-nandc". 5 - reg : shall contain registers location and length for data and reg. 6 - interrupts : shall define the nandc controller interrupt. 7 - nandc_id : shall reference the number of nandc controllers; 8 - clocks : shall reference nandc controller clocks. 9 - clock-names : nandc controller internal clock names. Shall contain : 10 * "clk_nandc" : nand controller clock 16 compatible = "rockchip,rk-nandc"; 21 clock-names = "clk_nandc", "hclk_nandc", "g_clk_nandc";
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mtd/ |
| H A D | rockchip,nand-controller.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mtd/rockchip,nand-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip SoCs NAND FLASH Controller (NFC) 10 - $ref: "nand-controller.yaml#" 13 - Heiko Stuebner <heiko@sntech.de> 18 - const: rockchip,px30-nfc 19 - const: rockchip,rk2928-nfc 20 - const: rockchip,rv1108-nfc [all …]
|
| /OK3568_Linux_fs/external/recovery/update_engine/ |
| H A D | rktools.c | 8 * http://www.apache.org/licenses/LICENSE-2.0 51 while ((read = getline(&line, &len, fp)) != -1) { in getVersionFromfile() 62 int pline_len = strlen(pline) - 1; in getVersionFromfile() 82 if (download_file(url, DOWNLOAD_VERSION_PATH) == -1) { in getRemoteVersion() 150 * -1: recovery 模式 158 return -1; in getCurrentSlot() 176 return -1; in getCurrentSlot() 190 LOGI("Current device is nand : %s.\n", NAND_DRIVER_DEV_LBA); in getFlashPoint() 207 const MtdPartition *part = mtd_find_partition_by_name("rk-nand"); in getFlashSize() 209 part = mtd_find_partition_by_name("spi-nand0"); in getFlashSize() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | bcm4708-linksys-ea6500-v2.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 4 * Copyright (C) 2018 Rene Kjellerup <rk.katana.steel@gmail.com> 7 /dts-v1/; 10 #include "bcm5301x-nand-cs0-bch8.dtsi" 13 compatible = "linksys,ea6500-v2", "brcm,bcm4708"; 25 gpio-keys { 26 compatible = "gpio-keys";
|
| H A D | at91-nattis-2-natte-2.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * at91-nattis-2-natte-2.dts - Device Tree file for the Linea/Nattis board 9 /dts-v1/; 10 #include "at91-linea.dtsi" 11 #include "at91-natte.dtsi" 14 model = "Axentia Linea-Nattis v2 Natte v2"; 15 compatible = "axentia,nattis-2", "axentia,natte-2", "axentia,linea", 18 gpio-keys { 19 compatible = "gpio-keys"; 24 wakeup-source; [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/ |
| H A D | mtd_blk.c | 4 * SPDX-License-Identifier: GPL-2.0+ 15 #include <nand.h> 18 #include <dm/device-internal.h> 19 #include <linux/mtd/spi-nor.h> 21 #include <linux/mtd/nand.h> 28 #define MTD_BLK_TABLE_BLOCK_UNKNOWN (-2) 29 #define MTD_BLK_TABLE_BLOCK_SHIFT (-1) 42 return -ENODEV; in mtd_blk_map_table_init() 44 switch (desc->devnum) { in mtd_blk_map_table_init() 47 mtd = desc->bdev->priv; in mtd_blk_map_table_init() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/ |
| H A D | rockchip_nand_spl_v9.c | 2 * Copyright (c) 2017 Yifeng Zhao <yifeng.zhao@rock-chips.com> 4 * SPDX-License-Identifier: GPL-2.0+ 12 #include <nand.h> 16 #include <linux/mtd/nand.h> 91 writel(0, rknand->regs + NANDC_REG_V9_RANDMZ); in nandc_init() 92 writel(0, rknand->regs + NANDC_REG_V9_DMA_CFG); in nandc_init() 93 writel(0x02000001, rknand->regs + NANDC_REG_V9_BCHCTL); in nandc_init() 94 writel(0x1081, rknand->regs + NANDC_REG_V9_FMWAIT); in nandc_init() 102 while (timeout--) { in rockchip_nand_wait_dev_ready() 117 if (chipnr != -1) in rockchip_nand_select_chip() [all …]
|
| H A D | rockchip_nand_spl.c | 2 * Copyright (c) 2017 Yifeng Zhao <yifeng.zhao@rock-chips.com> 4 * SPDX-License-Identifier: GPL-2.0+ 12 #include <nand.h> 15 #include <linux/mtd/nand.h> 95 writel(0x1081, rknand->regs + NANDC_REG_V6_FMWAIT); in nandc_init() 103 while (timeout--) { in rockchip_nand_wait_dev_ready() 118 if (chipnr != -1) in rockchip_nand_select_chip() 143 reg = readl(rknand->regs + NANDC_REG_V6_BCHCTL); in rockchip_nand_pio_xfer_start() 145 writel(reg, rknand->regs + NANDC_REG_V6_BCHCTL); in rockchip_nand_pio_xfer_start() 150 writel(reg, rknand->regs + NANDC_REG_V6_FLCTL); in rockchip_nand_pio_xfer_start() [all …]
|
| H A D | rockchip_nand_v9.c | 2 * Copyright (c) 2017 Yifeng Zhao <yifeng.zhao@rock-chips.com> 5 * SPDX-License-Identifier: GPL-2.0+ 12 #include <nand.h> 17 #include <linux/mtd/nand.h> 113 writel(0, rknand->regs + NANDC_REG_V9_RANDMZ); in rockchip_nand_init() 114 writel(0, rknand->regs + NANDC_REG_V9_DMA_CFG); in rockchip_nand_init() 115 writel(0, rknand->regs + NANDC_REG_V9_BCHCTL); in rockchip_nand_init() 116 writel(NANDC_V9_FM_WP, rknand->regs + NANDC_REG_V9_FMCTL); in rockchip_nand_init() 117 writel(0x1081, rknand->regs + NANDC_REG_V9_FMWAIT); in rockchip_nand_init() 123 struct rk_nand *rknand = to_rknand(chip->controller); in rockchip_nand_select_chip() [all …]
|
| H A D | rockchip_nand.c | 2 * Copyright (c) 2017 Yifeng Zhao <yifeng.zhao@rock-chips.com> 5 * SPDX-License-Identifier: GPL-2.0+ 12 #include <nand.h> 107 writel(0, rknand->regs + NANDC_REG_V6_RANDMZ); in rockchip_nand_init() 108 writel(0, rknand->regs + NANDC_REG_V6_DMA_CFG); in rockchip_nand_init() 109 writel(0, rknand->regs + NANDC_REG_V6_BCHCTL); in rockchip_nand_init() 110 writel(NANDC_V6_FM_WP, rknand->regs + NANDC_REG_V6_FMCTL); in rockchip_nand_init() 111 writel(0x1081, rknand->regs + NANDC_REG_V6_FMWAIT); in rockchip_nand_init() 117 struct rk_nand *rknand = to_rknand(chip->controller); in rockchip_nand_select_chip() 122 reg = readl(rknand->regs + NANDC_REG_V6_FMCTL); in rockchip_nand_select_chip() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/usb/gadget/ |
| H A D | .f_fastboot.o.cmd | |
| /OK3568_Linux_fs/external/recovery/ |
| H A D | recovery.c | 8 * http://www.apache.org/licenses/LICENSE-2.0 83 * /cache/recovery/command - INPUT - command line for tool, one arg per line 84 * /cache/recovery/log - OUTPUT - combined log file from recovery run(s) 85 * /cache/recovery/intent - OUTPUT - intent that was passed in 88 * --send_intent=anystring - write the text out to recovery.intent 89 * --update_package=path - verify install an OTA package file 90 * --wipe_data - erase user data (and cache), then reboot 91 * --wipe_cache - wipe cache (but not user data), then reboot 92 * --set_encrypted_filesystem=on|off - enables / diasables encrypted fs 100 * 2. main system writes "--wipe_data" to /cache/recovery/command [all …]
|
| /OK3568_Linux_fs/u-boot/common/spl/ |
| H A D | Kconfig | 35 default "arch/$(ARCH)/cpu/u-boot-spl.lds" 38 The SPL stage will usually require a different linker-script 40 U-Boot stage. Set this to the path of the linker-script to 44 bool "Call board-specific initialization in SPL" 46 If this option is enabled, U-Boot will call the function 54 ROM for loading the next boot-stage after performing basic setup 58 BOOT_DEVICE_BOOTROM (or fall-through to the next boot device in the 85 usage as the *_simple malloc functions do not re-use free-ed mem. 94 usage as the *_simple malloc functions do not re-use free-ed mem. 103 location for the SPL stack. U-Boot SPL switches to this after [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/ |
| H A D | Kconfig | 18 The Rockchip PX30 is a ARM-based SoC with a quad-core Cortex-A35 19 including NEON and GPU, Mali-400 graphics, several DDR3 options 26 default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds" 55 The Rockchip RK3036 is a ARM-based SoC with a dual-core Cortex-A7 56 including NEON and GPU, Mali-400 graphics, several DDR3 options 66 The Rockchip RK3128 is a ARM-based SoC with a quad-core Cortex-A7 67 including NEON and GPU, Mali-400 graphics, several DDR3 options 98 The Rockchip RK3066 is a ARM-based SoC with a dual-core Cortex-A9 99 including NEON and GPU, Mali-400 graphics, several DDR3 options 118 The Rockchip RK3188 is a ARM-based SoC with a quad-core Cortex-A9 [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3566-box.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/pinctrl/rockchip.h> 10 #include <dt-bindings/input/rk-input.h> 11 #include <dt-bindings/display/drm_mipi_dsi.h> 12 #include <dt-bindings/sensor-dev.h> 15 adc_keys: adc-keys { 16 compatible = "adc-keys"; 17 io-channels = <&saradc 0>; 18 io-channel-names = "buttons"; [all …]
|
| H A D | rk3568-nvr.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/pinctrl/rockchip.h> 10 #include <dt-bindings/input/rk-input.h> 11 #include <dt-bindings/display/drm_mipi_dsi.h> 12 #include <dt-bindings/sensor-dev.h> 15 adc_keys: adc-keys { 16 compatible = "adc-keys"; 17 io-channels = <&saradc 0>; 18 io-channel-names = "buttons"; [all …]
|
| /OK3568_Linux_fs/buildroot/output/OK3568/target/usr/lib/modules/5.10.160/ |
| H A D | modules.builtin | |
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | .image-sparse.o.cmd | |
| H A D | .fb_mmc.o.cmd | |
| H A D | .fb_common.o.cmd | |