| /u-boot/lib/ |
| A D | md5.c | 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() 148 memset(ctx->in, 0, 56); in MD5Final() 153 byteReverse(ctx->in, 14); in MD5Final() [all …]
|
| A D | lz4_wrapper.c | 34 const void *in = src; in ulz4fn() local 49 in += sizeof(u32); in ulz4fn() 50 flags = *(u8 *)in; in ulz4fn() 51 in += sizeof(u8); in ulz4fn() 52 block_desc = *(u8 *)in; in ulz4fn() 53 in += sizeof(u8); in ulz4fn() 71 in += sizeof(u64); in ulz4fn() 74 in += sizeof(u8); in ulz4fn() 81 in += sizeof(u32); in ulz4fn() 114 in += block_size; in ulz4fn() [all …]
|
| /u-boot/fs/yaffs2/ |
| A D | yaffs_yaffs1.c | 35 struct yaffs_obj *in; in yaffs1_scan() local 148 if (!in) in yaffs1_scan() 151 if (in) { in yaffs1_scan() 161 if (in && in yaffs1_scan() 169 in->variant. in yaffs1_scan() 189 if (in && in->variant_type != oh->type) { in yaffs1_scan() 198 in = NULL; in yaffs1_scan() 205 if (!in) in yaffs1_scan() 230 if (in && in->valid) { in yaffs1_scan() 255 if (in && !in->valid && in yaffs1_scan() [all …]
|
| A D | yaffs_guts.c | 1653 if (in->my_dev->param.is_yaffs2 && in->parent != in->my_dev->del_dir) { in yaffs_generic_obj_del() 1660 yaffs_chunk_del(in->my_dev, in->hdr_chunk, 1, __LINE__); in yaffs_generic_obj_del() 1908 return in; in yaffs_find_by_number() 2138 if (!in) { in yaffs_create_obj() 2180 in = NULL; in yaffs_create_obj() 2183 if (in) in yaffs_create_obj() 2186 return in; in yaffs_create_obj() 3166 if (!in || !in->lazy_loaded || in->hdr_chunk < 1) in yaffs_check_obj_details_loaded() 3278 if (in->fake && in != dev->root_dir && !force && !xmod) in yaffs_update_oh() 3823 yaffs_change_obj_name(in, in->my_dev->del_dir, in yaffs_unlink_file_if_needed() [all …]
|
| /u-boot/drivers/firmware/scmi/ |
| A D | sandbox-scmi_agent.c | 136 struct scmi_clk_rate_set_in *in = NULL; in sandbox_scmi_clock_rate_set() local 153 u64 rate = ((u64)in->rate_msb << 32) + in->rate_lsb; in sandbox_scmi_clock_rate_set() 167 struct scmi_clk_rate_get_in *in = NULL; in sandbox_scmi_clock_rate_get() local 196 struct scmi_clk_state_in *in = NULL; in sandbox_scmi_clock_gate() local 212 } else if (in->attributes > 1) { in sandbox_scmi_clock_gate() 215 clk_state->enabled = in->attributes; in sandbox_scmi_clock_gate() 226 struct scmi_rd_attr_in *in = NULL; in sandbox_scmi_rd_attribs() local 234 in = (struct scmi_rd_attr_in *)msg->in_msg; in sandbox_scmi_rd_attribs() 255 struct scmi_rd_reset_in *in = NULL; in sandbox_scmi_rd_reset() local 271 } else if (in->reset_state > 1) { in sandbox_scmi_rd_reset() [all …]
|
| /u-boot/arch/powerpc/dts/ |
| A D | kmcoge5ne.dts | 98 0 2 1 0 1 0 /* MDC (PA2, in, f1) */ 100 0 3 1 0 1 0 /* TxD0 (PA3, in, f1) */ 101 0 4 1 0 1 0 /* TxD1 (PA4, in, f1) */ 102 0 5 1 0 1 0 /* TxD2 (PA5, in, f1) */ 103 0 6 1 0 1 0 /* TxD3 (PA6, in, f1) */ 108 0 7 1 0 1 0 /* TX_EN (PA7, in, f1) */ 138 0 2 1 0 1 0 /* MDC (PA2, in, f1) */ 142 3 6 2 0 1 0 /* RxD0 (PD6, in, f1) */ 143 3 7 2 0 1 0 /* RxD1 (PD7, in, f1) */ 145 3 12 2 0 1 0 /* RX_DV (PD12, in, f1) */ [all …]
|
| A D | kmeter1.dts | 143 1 20 2 0 1 0 /* RxD0 (PB20, in, f1) */ 144 1 21 2 0 1 0 /* RxD1 (PB21, in, f1) */ 146 1 26 2 0 1 0 /* RX_DV (PB26, in, f1) */ 147 1 27 2 0 1 0 /* RX_ER (PB27, in, f1) */ 161 3 6 2 0 1 0 /* RxD0 (PD6, in, f1) */ 162 3 7 2 0 1 0 /* RxD1 (PD7, in, f1) */ 164 3 12 2 0 1 0 /* RX_DV (PD12, in, f1) */ 165 3 13 2 0 1 0 /* RX_ER (PD13, in, f1) */ 244 0 14 2 0 2 0 /* RSync0 (PA14, in, f2) */ 245 2 7 2 0 1 0 /* RxClk8 (PC7, in, f1) */ [all …]
|
| /u-boot/doc/device-tree-bindings/usb/ |
| 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; 20 configured in FS mode; 22 configured in HS mode; 23 - "st,stm32f7-hsotg": The DWC2 USB HS controller instance in STM32F7 SoCs 24 configured in HS mode; 37 - g-rx-fifo-size: size of rx fifo size in gadget mode. [all …]
|
| /u-boot/doc/ |
| 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 …]
|
| 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 …]
|
| 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 …]
|
| 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 49 the mkimage tool. dtc tool with support for binary includes, e.g. in version 64 directory, and that the address given in the 'load' property in the 65 'update_uboot.its' file is where the U-Boot is stored in Flash, the 72 appropriately, for example in the U-Boot prompt: 79 automatically stored in Flash. [all …]
|
| /u-boot/doc/driver-model/ |
| A D | migration.rst | 6 U-Boot has been migrating to a new driver model since its introduction in 27 switching over to using CONFIG_DM_MMC and other base driver model options in 28 time for inclusion in the 2019.04 rerelease. 38 other base driver model options in time for inclusion in the 2019.07 rerelease. 48 other base driver model options in time for inclusion in the 2019.07 rerelease. 59 subsystems. At this point we will be able to audit and correct the logic in 67 to move the migration with in the deadline. 84 model options in time for inclusion in the 2019.07 release. 93 driver model options in time for inclusion in the 2019.07 release. 101 other base driver model options in time for inclusion in the 2020.07 release. [all …]
|
| /u-boot/lib/zlib/ |
| A D | inffast.c | 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() 323 } while (in < last && out < end); in inflate_fast() 327 in -= len; in inflate_fast() 332 strm->next_in = in + OFF; in inflate_fast() [all …]
|
| /u-boot/lib/lzma/ |
| A D | history.txt | 30 - Some changes in ANSI-C 7z Decoder interfaces. 51 - The bug in ANSI-C LZMA Decoder was fixed: 55 - LZMA SDK is placed in the public domain. 67 allocated range in some rare cases. 79 - Speed optimizations in Ñ++ LZMA Decoder. 100 - Small changes in .h files in ANSI-C version. 138 - The bug in 7z_C (7zIn.c) was fixed: 155 - The bug in LzmaDecodeSize.c was fixed: 162 - Fixes in 7z_C code and LzmaTest.c: 169 - Small fixes in C++ code [all …]
|
| /u-boot/drivers/block/ |
| A D | Kconfig | 8 reading, writing and (in some cases) erasing blocks. Block 11 A filesystem can be placed in each partition. 19 bool "Support block devices in SPL" 25 reading, writing and (in some cases) erasing blocks. Block 28 A filesystem can be placed in each partition. 31 bool "Support block devices in TPL" 40 A filesystem can be placed in each partition. 53 bool "Use block device cache in SPL" 57 This option enables the disk-block cache in SPL 60 bool "Use block device cache in TPL" [all …]
|
| /u-boot/fs/jffs2/ |
| 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()
|
| /u-boot/lib/rsa/ |
| A D | Kconfig | 7 verification in U-Boot. 9 The Modular Exponentiation algorithm in RSA is implemented using 24 Add RSA signature verification support in SPL. 39 pre-calculated key properties, that are stored in fdt blob, in 42 provide such additional key properties in standardized form, 45 directly specified in image_sign_info, where all the necessary 46 key properties will be calculated on the fly in verification code. 49 bool "Enable driver for RSA Modular Exponentiation in software" 52 Enables driver for modular exponentiation in software. This is a RSA 53 algorithm used in FIT image verification. It required RSA Key as
|
| /u-boot/arch/xtensa/ |
| A D | Kconfig | 23 Do not enable instruction cache in U-Boot. 26 bool "Do not enable icache in SPL" 30 Do not enable instruction cache in SPL. 36 Do not enable data cache in U-Boot. 39 bool "Do not enable dcache in SPL" 43 Do not enable data cache in SPL.
|
| /u-boot/doc/usage/ |
| A D | for.rst | 9 for <variable> in <items>; do <commands>; done 17 The counter variable of the loop is a shell variable. Please, keep in mind that 35 => for c in 1 2 3; do echo item ${c}; done 42 => for c in 1 2 3; do echo item ${c}; done 48 The first line ensures that there is no environment variable *c*. Hence in the 58 statement executed in the loop. 62 => for i in true false; do ${i}; done; echo $? 64 => for i in false true; do ${i}; done; echo $?
|
| /u-boot/drivers/ram/stm32mp1/ |
| A D | Kconfig | 12 in device tree (computed by DDR tuning tools) 18 activate interactive support in STM32MP1 DDR controller driver 20 to enter in intercative mode type 'd' during SPL DDR driver 28 force interactive mode in STM32MP1 DDR controller driver 29 skip the polling of character 'd' in console 30 useful when SPL is loaded in sysram 38 activate test support for interactive support in 46 activate tuning command in STM32MP1 DDR interactive mode
|
| /u-boot/arch/nds32/ |
| A D | Kconfig | 23 Do not enable instruction cache in U-Boot. 26 bool "Do not enable icache in SPL" 30 Do not enable instruction cache in SPL. 36 Do not enable data cache in U-Boot. 39 bool "Do not enable dcache in SPL" 43 Do not enable data cache in SPL.
|
| /u-boot/board/technexion/pico-imx7d/ |
| A D | README.pico-imx7d_BL33 | 2 pico-imx7d board. U-Boot is loaded as part of FIP image by ATF in this setup. 3 The boot sequence is ATF -> OPTEE -> U-Boot -> Linux. U-Boot is in non-secure 4 world in this case. 20 Save file content in this link to file pico-imx7d.cfg: 26 Create a fiptool_images/ folder in ATF folder, copy u-boot.bin in u-boot 27 folder and tee*.bin in optee out/arm-plat-imx/core/tee/ folder to 28 fiptool_images. Run below command in ATF folder to generate FIP image. 37 Run below command in atf folder: 43 For booting Linux in FIT image, please reference the FIT files in
|
| /u-boot/test/ |
| A D | compression.c | 146 void *in, unsigned long in_size, in uncompress_using_gzip() argument 161 void *in, unsigned long in_size, in compress_using_bzip2() argument 167 ut_asserteq_mem(plain, in, in_size); in compress_using_bzip2() 180 void *in, unsigned long in_size, in uncompress_using_bzip2() argument 202 ut_asserteq_mem(plain, in, in_size); in compress_using_lzma() 215 void *in, unsigned long in_size, in uncompress_using_lzma() argument 236 ut_asserteq_mem(plain, in, in_size); in compress_using_lzo() 249 void *in, unsigned long in_size, in uncompress_using_lzo() argument 271 ut_asserteq_mem(plain, in, in_size); in compress_using_lz4() 284 void *in, unsigned long in_size, in uncompress_using_lz4() argument [all …]
|
| /u-boot/doc/imx/common/ |
| A D | imx6.txt | 9 1.1 MAC Address: It is stored in fuse bank 4, with the 32 lsbs in word 2 and the 10 16 msbs in word 3[15:0]. 12 is stored in fuse bank 4, with the 16 lsb in word 3[31:16] and the 32 msbs in 33 As the fuses are arranged in banks of 8 words: 54 As the fuses are arranged in banks of 8 words: 94 Writing/updating boot image in nand device is not straight forward in 117 - finally write fcb/dttb in first 2 block. 136 - write FW/SPL in FW1 137 - write FCB/DBBT in first 2 blocks 142 39936 bytes read in 10 ms (3.8 MiB/s) [all …]
|