| /rk3399_rockchip-uboot/lib/ |
| H A D | md5.c | 37 MD5Transform(__u32 buf[4], __u32 const in[16]); 91 unsigned char *p = (unsigned char *) ctx->in + t; in MD5Update() 99 byteReverse(ctx->in, 16); in MD5Update() 100 MD5Transform(ctx->buf, (__u32 *) ctx->in); in MD5Update() 107 memmove(ctx->in, buf, 64); in MD5Update() 108 byteReverse(ctx->in, 16); in MD5Update() 109 MD5Transform(ctx->buf, (__u32 *) ctx->in); in MD5Update() 116 memmove(ctx->in, buf, len); in MD5Update() 134 p = ctx->in + count; in MD5Final() 144 byteReverse(ctx->in, 16); in MD5Final() [all …]
|
| H A D | lz4_wrapper.c | 55 const void *in = src; in ulz4fn() local 75 const struct lz4_frame_header *h = in; in ulz4fn() 89 in += sizeof(*h); in ulz4fn() 91 in += sizeof(u64); in ulz4fn() 92 in += sizeof(u8); in ulz4fn() 98 b.raw = le32_to_cpu(*(u32 *)in); in ulz4fn() 99 in += sizeof(struct lz4_block_header); in ulz4fn() 101 if (in - src + b.size > srcn) { in ulz4fn() 113 memcpy(out, in, size); in ulz4fn() 121 ret = LZ4_decompress_generic(in, out, b.size, in ulz4fn() [all …]
|
| /rk3399_rockchip-uboot/fs/yaffs2/ |
| H A D | yaffs_yaffs1.c | 34 struct yaffs_obj *in; in yaffs1_scan() local 140 in = yaffs_find_or_create_by_number(dev, in yaffs1_scan() 147 if (!in) in yaffs1_scan() 150 if (in) { in yaffs1_scan() 152 (in, tags.chunk_id, chunk, 1)) in yaffs1_scan() 160 if (in && in yaffs1_scan() 161 in->variant_type == in yaffs1_scan() 163 in->variant.file_variant.scanned_size < in yaffs1_scan() 165 in->variant.file_variant.scanned_size = in yaffs1_scan() 168 in->variant. in yaffs1_scan() [all …]
|
| H A D | yaffs_guts.c | 40 static int yaffs_wr_data_obj(struct yaffs_obj *in, int inode_chunk, 986 static int yaffs_find_chunk_in_file(struct yaffs_obj *in, int inode_chunk, in yaffs_find_chunk_in_file() argument 994 struct yaffs_dev *dev = in->my_dev; in yaffs_find_chunk_in_file() 1001 tn = yaffs_find_tnode_0(dev, &in->variant.file_variant, inode_chunk); in yaffs_find_chunk_in_file() 1008 ret_val = yaffs_find_chunk_in_group(dev, the_chunk, tags, in->obj_id, in yaffs_find_chunk_in_file() 1013 static int yaffs_find_del_file_chunk(struct yaffs_obj *in, int inode_chunk, in yaffs_find_del_file_chunk() argument 1020 struct yaffs_dev *dev = in->my_dev; in yaffs_find_del_file_chunk() 1028 tn = yaffs_find_tnode_0(dev, &in->variant.file_variant, inode_chunk); in yaffs_find_del_file_chunk() 1035 ret_val = yaffs_find_chunk_in_group(dev, the_chunk, tags, in->obj_id, in yaffs_find_del_file_chunk() 1045 int yaffs_put_chunk_in_file(struct yaffs_obj *in, int inode_chunk, in yaffs_put_chunk_in_file() argument [all …]
|
| H A D | yaffs_yaffs2.c | 445 static int yaffs2_checkpt_tnode_worker(struct yaffs_obj *in, in yaffs2_checkpt_tnode_worker() argument 450 struct yaffs_dev *dev = in->my_dev; in yaffs2_checkpt_tnode_worker() 461 ok = yaffs2_checkpt_tnode_worker(in, in yaffs2_checkpt_tnode_worker() 942 struct yaffs_obj *in; in yaffs2_scan_chunk() local 1045 in = yaffs_find_or_create_by_number(dev, in yaffs2_scan_chunk() 1048 if (!in) in yaffs2_scan_chunk() 1052 if (in && in yaffs2_scan_chunk() 1053 in->variant_type == YAFFS_OBJECT_TYPE_FILE && in yaffs2_scan_chunk() 1054 chunk_base < in->variant.file_variant.shrink_size) { in yaffs2_scan_chunk() 1057 if (!yaffs_put_chunk_in_file(in, tags.chunk_id, in yaffs2_scan_chunk() [all …]
|
| /rk3399_rockchip-uboot/doc/device-tree-bindings/usb/ |
| H A D | dwc2.txt | 6 - brcm,bcm2835-usb: The DWC2 USB controller instance in the BCM2835 SoC. 7 - hisilicon,hi6220-usb: The DWC2 USB controller instance in the hi6220 SoC. 8 - rockchip,rk3066-usb: The DWC2 USB controller instance in the rk3066 Soc; 12 - "lantiq,arx100-usb": The DWC2 USB controller instance in Lantiq ARX SoCs; 13 - "lantiq,xrx200-usb": The DWC2 USB controller instance in Lantiq XRX SoCs; 14 - "amlogic,meson8-usb": The DWC2 USB controller instance in Amlogic Meson8 SoCs; 15 - "amlogic,meson8b-usb": The DWC2 USB controller instance in Amlogic Meson8b SoCs; 16 - "amlogic,meson-gxbb-usb": The DWC2 USB controller instance in Amlogic S905 SoCs; 17 - "amcc,dwc-otg": The DWC2 USB controller instance in AMCC Canyonlands 460EX SoCs; 19 - "st,stm32f4x9-fsotg": The DWC2 USB FS/HS controller instance in STM32F4x9 SoCs [all …]
|
| /rk3399_rockchip-uboot/doc/ |
| H A D | README.mxc_ocotp | 14 The section numbers in this file refer to the i.MX6 Reference Manual. 16 A fuse word contains 32 fuse bit slots, as explained in 46.2.1. 18 A bank contains 8 fuse word slots, as explained in 46.2.1 and shown by the 19 memory map in 46.4. 22 implemented in the fusebox. 24 See the README files of the SoCs using this driver in order to know the 25 conventions used by U-Boot to store some specific data in the fuses, e.g. MAC 32 using "Bankx Wordy" from the memory map in 46.4. This is explained in 33 detail by the first two paragraphs in 46.2.1.2. 37 the steps in 46.2.1.2. [all …]
|
| H A D | README.fsl_iim | 12 The section numbers in this file refer to the i.MX25 Reference Manual. 14 A fuse word contains 8 fuse bit slots, as explained in 30.4.2.2.1. 16 A bank contains 256 fuse word slots, as shown by the memory map in 30.3.1. 19 implemented in the fusebox. 21 See the README files of the SoCs using this driver in order to know the 22 conventions used by U-Boot to store some specific data in the fuses, e.g. MAC 29 using "Word y of Bank x" from the register summary in 30.3.2. This is 30 explained in detail in 30.4.5.1. 33 Sense operations are implemented as explained in 30.4.5.2. 36 Program operations are implemented as explained in 30.4.5.3. Following [all …]
|
| H A D | README.sha1 | 5 This SHA1 sum is used, to check, if the U-Boot Image in Flash is not 12 -p calculate the SHA1 sum from the U-Boot image in flash and print 13 -c check the U-Boot image in flash 16 calculates and prints the SHA1 sum, from the Image stored in Flash 19 check, if the SHA1 sum from the Image stored in Flash is correct 26 If you want to store a new Image in Flash for the pcs440ep board, 29 a) cp the new Image on a position in RAM (here 0x300000) 35 b) Initialize the SHA1 sum in the Image with 0x00 36 The SHA1 sum is stored in Flash at: 40 for the example in RAM: 0x300000 + 0x60000 + -0x20 [all …]
|
| H A D | README.update | 8 server in NOR Flash. In more detail: a TFTP transfer of a file given in 11 updates. Each update in the update file has an address in NOR Flash where it 14 verification is positive, the update is stored in Flash. 32 in environment variable 'loadaddr'. If this variable is not present, the 33 transfer is made to the address given in CONFIG_UPDATE_LOAD_ADDR (0x100000 48 Since the update file is in FIT format, it is created from an *.its file using 49 the mkimage tool. dtc tool with support for binary includes, e.g. in version 68 Assuming that an U-Boot image u-boot.bin is present in the current working 69 directory, and that the address given in the 'load' property in the 70 'update_uboot.its' file is where the U-Boot is stored in Flash, the [all …]
|
| H A D | README.kconfig | 1 Kconfig in U-Boot 12 Kconfig originates in Linux Kernel. 13 See the file "Documentation/kbuild/kconfig*.txt" in your Linux Kernel 25 include/configs/* as in Linux. In U-Boot, it also does the following 35 If we could completely switch to Kconfig in a long run 45 Now it works as in Linux. 46 The prefixes such as "+S:" in *_defconfig are deprecated. 51 This does not exist in Linux's Kconfig. 53 Prior to Kconfig, in U-Boot, "make <board>_config" was used for the 58 The other configuration targets work as in Linux Kernel. [all …]
|
| H A D | README.fdt-control | 7 Device Tree Control in U-Boot 12 using CONFIG options in the board config file. This feature aims to 20 It is extensible since it consists of nodes and properties in a nice 25 format, and a library is already available in U-Boot (libfdt) for 29 and embedding it in your U-Boot image. This is useful since it allows 32 the features of each board in the device tree file, and have a single 41 An fdt can be specified in source format as a text file. To read about 47 useful: (access this in the Linux kernel source code) 87 well as fdtget/fdtput for reading and writing properties in a binary file. 93 You may find that the Linux kernel has a suitable file. Look in the [all …]
|
| H A D | README.mxc_hab | 5 is done by adding the following configuration in the defconfig file: 19 which can be used in the Freescale tooling to authenticate U-Boot 20 (entries in the CSF file). 36 (1) Size of area in file u-boot.imx to sign 39 (2) Start of area in u-boot.imx to sign 40 (3) Start of area in RAM to authenticate 43 'hab_status' in U-Boot to retrieve the HAB status and events. This 52 NOTE: U-Boot_CSF.bin needs to be padded to the value specified in 61 DCD, and Boot data, remains in plaintext. 65 booting process. The DEK is protected by wrapping it in a Blob, [all …]
|
| /rk3399_rockchip-uboot/test/ |
| H A D | compression.c | 126 static int compress_using_gzip(void *in, unsigned long in_size, in compress_using_gzip() argument 133 ret = gzip(out, &inout_size, in, in_size); in compress_using_gzip() 140 static int uncompress_using_gzip(void *in, unsigned long in_size, in uncompress_using_gzip() argument 147 ret = gunzip(out, out_max, in, &inout_size); in uncompress_using_gzip() 154 static int compress_using_bzip2(void *in, unsigned long in_size, in compress_using_bzip2() argument 160 assert(memcmp(plain, in, in_size) == 0); in compress_using_bzip2() 172 static int uncompress_using_bzip2(void *in, unsigned long in_size, in uncompress_using_bzip2() argument 179 ret = BZ2_bzBuffToBuffDecompress(out, &inout_size, in, in_size, in uncompress_using_bzip2() 187 static int compress_using_lzma(void *in, unsigned long in_size, in compress_using_lzma() argument 193 assert(memcmp(plain, in, in_size) == 0); in compress_using_lzma() [all …]
|
| /rk3399_rockchip-uboot/lib/zlib/ |
| H A D | inffast.c | 73 unsigned char FAR *in; /* local strm->next_in */ in inflate_fast() local 100 in = strm->next_in - OFF; in inflate_fast() 101 last = in + (strm->avail_in - 5); in inflate_fast() 102 if (in > last && strm->avail_in > 5) { in inflate_fast() 107 strm->avail_in = 0xffffffff - (uintptr_t)in; in inflate_fast() 108 last = in + (strm->avail_in - 5); in inflate_fast() 131 hold += (unsigned long)(PUP(in)) << bits; in inflate_fast() 133 hold += (unsigned long)(PUP(in)) << bits; in inflate_fast() 153 hold += (unsigned long)(PUP(in)) << bits; in inflate_fast() 162 hold += (unsigned long)(PUP(in)) << bits; in inflate_fast() [all …]
|
| /rk3399_rockchip-uboot/lib/lzma/ |
| H A D | history.txt | 11 - The BUG in LZMA SDK 9.* was fixed: LZMA2 codec didn't work, 12 if more than 10 threads were used (or more than 20 threads in some modes). 23 Utf16_To_Utf8 funstions in UTFConvert.cpp and 7zMain.c 30 - Some changes in ANSI-C 7z Decoder interfaces. 51 - The bug in ANSI-C LZMA Decoder was fixed: 54 - Some changes in ANSI-C 7z Decoder interfaces. 55 - LZMA SDK is placed in the public domain. 66 LZMA Encoder in fast compression mode could access memory outside of 67 allocated range in some rare cases. 79 - Speed optimizations in Ñ++ LZMA Decoder. [all …]
|
| /rk3399_rockchip-uboot/common/spl/ |
| H A D | Kconfig | 22 bool "Support ADC driver in SPL" 25 The adc drive can be used to measure voltage in spl if need. 44 bool "Call board-specific initialization in SPL" 53 Some platforms (e.g. the Rockchip RK3368) provide support in their 58 BOOT_DEVICE_BOOTROM (or fall-through to the next boot device in the 80 prompt "Only use malloc_simple functions in the SPL" 89 prompt "Only use malloc_simple functions in the TPL" 99 SPL starts off execution in SRAM and thus typically has only a small 100 stack available. Since SPL sets up DRAM while in its board_init_f() 110 Specify the address in SDRAM for the SPL stack. This will be set up [all …]
|
| /rk3399_rockchip-uboot/fs/jffs2/ |
| H A D | compr_rubin.c | 46 void rubin_do_decompress(unsigned char *bits, unsigned char *in, in rubin_do_decompress() argument 61 temp = *(u32 *) in; in rubin_do_decompress() 69 rec_q = (in[0] << 8) | in[1]; in rubin_do_decompress() 86 u32 *p = (u32 *)in; in rubin_do_decompress() 89 in = (unsigned char *)p; in rubin_do_decompress()
|
| /rk3399_rockchip-uboot/lib/avb/libavb/ |
| H A D | avb_util.c | 29 uint32_t avb_be32toh(uint32_t in) { in avb_be32toh() argument 30 uint8_t* d = (uint8_t*)∈ in avb_be32toh() 39 uint64_t avb_be64toh(uint64_t in) { in avb_be64toh() argument 40 uint8_t* d = (uint8_t*)∈ in avb_be64toh() 54 uint32_t avb_htobe32(uint32_t in) { in avb_htobe32() argument 59 ret.bytes[0] = (in >> 24) & 0xff; in avb_htobe32() 60 ret.bytes[1] = (in >> 16) & 0xff; in avb_htobe32() 61 ret.bytes[2] = (in >> 8) & 0xff; in avb_htobe32() 62 ret.bytes[3] = in & 0xff; in avb_htobe32() 67 uint64_t avb_htobe64(uint64_t in) { in avb_htobe64() argument [all …]
|
| /rk3399_rockchip-uboot/arch/arm/dts/ |
| H A D | dra72-evm-tps65917.dtsi | 25 smps1-in-supply = <&vsys_3v3>; 26 smps2-in-supply = <&vsys_3v3>; 27 smps3-in-supply = <&vsys_3v3>; 28 smps4-in-supply = <&vsys_3v3>; 29 smps5-in-supply = <&vsys_3v3>; 30 ldo1-in-supply = <&vsys_3v3>; 31 ldo2-in-supply = <&vsys_3v3>; 32 ldo3-in-supply = <&vsys_3v3>; 33 ldo4-in-supply = <&evm_5v0>; 34 ldo5-in-supply = <&vsys_3v3>;
|
| /rk3399_rockchip-uboot/drivers/block/ |
| H A D | Kconfig | 8 reading, writing and (in some cases) erasing blocks. Block 10 be partitioned into several areas, called 'partitions' in U-Boot. 11 A filesystem can be placed in each partition. 14 bool "Support block devices in SPL" 20 reading, writing and (in some cases) erasing blocks. Block 22 be partitioned into several areas, called 'partitions' in U-Boot. 23 A filesystem can be placed in each partition. 26 bool "Support block devices prepare to read data in SPL" 31 data in the background and the device run some other process in the
|
| /rk3399_rockchip-uboot/arch/arm/cpu/armv7/ |
| H A D | Kconfig | 13 bool "Enable support for booting in non-secure mode" if EXPERT 17 Say Y here to enable support for booting in non-secure / SVC mode. 20 bool "Boot in secure mode by default" if EXPERT 24 Say Y here to boot in secure mode by default even if non-secure mode 26 suppport booting in non-secure mode. Only set this if you need it. 35 Say Y here to boot in hypervisor (HYP) mode when booting non-secure. 49 The maximum number of CPUs supported in the PSCI firmware. 51 CPUs in the actual hardware implementation. 59 required if U-Boot runs in HYP mode.
|
| /rk3399_rockchip-uboot/drivers/core/ |
| H A D | Kconfig | 6 This config option enables Driver Model. This brings in the core 15 Enable driver model in SPL. You will need to provide a 21 and devices in SPL, so 1KB should be enable. See 28 Enable driver model in TPL. You will need to provide a 34 and devices in SPL, so 1KB should be enough. See 39 bool "Enable warnings in driver model" 49 bool "Enable debug messages in driver model core" 52 Say Y here if you want to compile in debug messages in DM core. 60 device. This is not normally required in SPL, so by default this 63 Note that this may have undesirable results in the USB subsystem as [all …]
|
| /rk3399_rockchip-uboot/drivers/clk/ |
| H A D | clk_scmi.c | 14 struct scmi_clk_state_in in = { in scmi_clk_gate() local 21 in, out); in scmi_clk_gate() 43 struct scmi_clk_rate_get_in in = { in scmi_clk_get_rate() local 49 in, out); in scmi_clk_get_rate() 65 struct scmi_clk_rate_set_in in = { in scmi_clk_set_rate() local 74 in, out); in scmi_clk_set_rate()
|
| /rk3399_rockchip-uboot/doc/device-tree-bindings/nand/ |
| H A D | nvidia,tegra20-nand.txt | 4 (there isn't yet a generic binding in Linux, so this describes what is in 6 a binding that describes this hardware. But agreeing a binding in Linux in 24 nvidia,wp-gpios : GPIO of write-protect line, three cells in the format: 26 nvidia,nand-width : bus width of the NAND device in bits 28 - nvidia,nand-timing : Timing parameters for the NAND. Each is in ns.
|