]> code.ossystems Code Review - meta-freescale.git/log
meta-freescale.git
9 years agofmlib: update to commit d697de9
Ting Liu [Sat, 9 Jan 2016 06:43:38 +0000 (14:43 +0800)]
fmlib: update to commit d697de9

New commits imported:
d697de9 fmlib: remove cc-aging support
9ec11a2 fmlib: fix coherency of data structures with fmd
d357b76 Merge pull request #8 in DPAAMODULES/fmlib from ~R27762/fmlib:add_hm_node_stats to master
7523dd1 fmlib: add support for FM_PCD_KgSchemeGetCounter
c1fd2c3 Render header manip node statistics available in user space
2a9113a fmlib: fix policer spelling issues
5e77666 fmlib: Remove FM_PORT_PcdPrsModifyStartOffset routine - not supported
4cdcebd fmlib: Update fmlib function name to its correct declaration name

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agofmc: update to commit a079d2c
Ting Liu [Sat, 9 Jan 2016 06:43:37 +0000 (14:43 +0800)]
fmc: update to commit a079d2c

New commits imported:
a079d2c update variable names to match fmlib changes
44b1f42 Revert "Aging support added for classification"
9732cd8 Aging support added for classification
03505c3 [QSDK-2331] fmc: PIR/PBS are considered synonyms for CIR/CBS in policer tags
757754b ENGR00341753: Schemes sharing between ports is not working
eca7122 Added makefile support for LS1043

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agocst: update to commit 65f79eb
Ting Liu [Sat, 9 Jan 2016 06:43:36 +0000 (14:43 +0800)]
cst: update to commit 65f79eb

Update LIC_FILES_CHKSUM as the code layout changed.
New commits imported:
65f79eb Corrected Bit number printing for LayerScape SoC's
336e5f3 Added attribution to Brad Conte for SHA256 code
6d867f4 OTPMK and DRV utilities have been renamned
0cf0787 Hash_DRBG library license chanaged to BSD
4c941cd VERBOSITY option added in Makefile
8313f56 Makefile modified for distclean
becbb28 OTPMK Hamming algorithm used from library
f3c205f Library compiled as a static library
d17368c hash_drbg library integrated in CST
66ac7df CST directory structure modified
f84a78e Memory errors resolved
ea0ead0 gen_otpmk: Corrected bit Order Printing
74bbb24 LS1043: Input Files added
2f8225a LS1:: Modify input file addresses for LS1021 Rev2.0

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoqemu-qoriq: porvide qemu
Ting Liu [Sat, 9 Jan 2016 06:43:35 +0000 (14:43 +0800)]
qemu-qoriq: porvide qemu

Otherwise the version in Poky will be used as some pkgs depends on qemu.

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoqemu-qoriq: replace /usr/share with ${datadir}
Ting Liu [Sat, 9 Jan 2016 06:43:34 +0000 (14:43 +0800)]
qemu-qoriq: replace /usr/share with ${datadir}

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoqemu_qoriq: import ptest patches from poky
Ting Liu [Sat, 9 Jan 2016 06:43:33 +0000 (14:43 +0800)]
qemu_qoriq: import ptest patches from poky

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoqemu-qoriq: empty not supported PACKAGECKG
Ting Liu [Sat, 9 Jan 2016 06:43:32 +0000 (14:43 +0800)]
qemu-qoriq: empty not supported PACKAGECKG

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoqemu-qoriq: update to commit 8362a29
Ting Liu [Sat, 9 Jan 2016 06:43:31 +0000 (14:43 +0800)]
qemu-qoriq: update to commit 8362a29

New commits imported:
8362a29 nbd: fix type conversion error when doing ioctl

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoqemu-qoriq: enable back libusb through PACKAGECONFIG
Laurentiu Tudor [Sat, 9 Jan 2016 06:43:30 +0000 (14:43 +0800)]
qemu-qoriq: enable back libusb through PACKAGECONFIG

This fixes usb passthrough support.

Signed-off-by: Laurentiu Tudor <Laurentiu.Tudor@freescale.com>
Cc: Lu Wei <wei.lu@freescale.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agopkc-host: set COMPATIBLE_MACHINE as qoriq-ppc
Ting Liu [Sat, 9 Jan 2016 06:43:29 +0000 (14:43 +0800)]
pkc-host: set COMPATIBLE_MACHINE as qoriq-ppc

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agopkc-host: do not install cli
Cristian Stoica [Sat, 9 Jan 2016 06:43:28 +0000 (14:43 +0800)]
pkc-host: do not install cli

cli is a user-space application, and is splitted from pkc-host

Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agopkc-host: update to commit 26df0a3
Ting Liu [Sat, 9 Jan 2016 06:43:27 +0000 (14:43 +0800)]
pkc-host: update to commit 26df0a3

New commits imported:
26df0a3 fix references to dsa sign, verify and keygen buffers
3d11a8b remove obvious comments in dsa.c
e04defa fix ecdsa-sign test
60a16b2 fix ecdsa-verify test
ffaf905 fix ecdsa verify descriptor
7fab9ff remove redundant global variables in ecdsa_test.c
fefdadb clarify assignments in dsa_keygen_init_crypto_mem
12c1e53 avoid redundant typecasts when accessing structure dsa_keygen_buffers
dc3e433 avoid redundant typecasts when accessing structure dsa_verify_buffers
d189aea avoid redundant typecasts when accessing structure dsa_sign_buffers
bc77727 clarify assignments in dsa_verify_init_crypto_mem
0a33653 clarify assignments in dsa_sign_init_crypto_mem
bc223b9 fix incorrect macro-expansion of arguments
c203b2e remove redundant subtraction in dsa.c round-robin code
e3f03bc remove dead code in ecdsa_test.c
7b236cb remove dead code in rsa_test.h
d084594 whitespace clean-up in rsa, dsa and ecdsa test vectors
b7e292a white-space clean-up in dsa.c
f792c40 add notifications about not supported configurations
309202d fix SEC jobs error reporting
f67f35c fix debug print for descriptors
973c09d sync with firmware build 8fcd0bc
3d32570 remove not necessary #includes in algs_reg.c
806bfae refactoring: merge trivial VIRTIO functions
4074a65 fix build error for VIRTIO_C2X0=y
58d8ba0 reduce #ifdef obfuscation for sym_cra_init and sym_cra_exit
ee3aa86 merge three adjacent #ifndef VIRTIO_C2X0 regions
07b8e40 move sym_cra_init and sym_cra_exit to allow merge of #ifdef regions
e545259 move fill_crypto_dev_sess_ctx function to merge two #ifdef regions
143d79f do not silence print_error at build time
4ed84e3 remove redundant void* to void* type casting
47b6f64 refactoring: use compound statements with if constructs
cd15d02 use dev_err to print device related errors
30a5705 replace ALIGN* macros by function calls
96d67e7 remove redundant #define for BRR_VALUE
2d74d96 remove unnecessary #include's from crypto_ctx.h
0ac80bd rename rsa test callback function for clarity
4ee3ee1 match types of members in fsl_crypto_alg with those in related structures
b6f6e97 rename structure to avoid confusions with the variables
c960102 always print errors related to descriptors
9920b1f update ring index at the end of the loop
67f743b remove redundant typedef fsl_h_mem_handshake_t
3039d45 remove redundant typedef crypto_h_mem_layout_t
4b19fb5 remove redundant typedef crypto_c_hs_mem_t
6ae863d remove redundant typedef fsl_pci_dev_t
e8050e2 remove redundant typedef driver_ob_mem_t
1ac31db remove redundant structure crypto_dev_mem_info
8b134fb rename members of pci_bar_info structure
60ffef6 remove redundant typedef pci_bar_info_t
1ce8047 use the same type for function and return variable
319bc02 make temporary variables the same type as the original
3fbe1f7 rename variable and function for clarity
4d4bf3c make volatile the handshake memory on host
d64eac6 fix reading values from the local memory
692ab74 rename variable to reduce reading confusions
c9ad613 rename per_core_struct as bh_handler
5c30ce6 remove duplicate bottom half handler variable
15254d0 merge content of structures bh_handler and per_core_struct
e54a71d sync with firmware build bef6960
d1e1e5e remove redundant macro RING_FULL from within block
64898d4 clarify comment about where to put fw_resp_ring
d819503 remove not used global variables
0fb1293 remove not used define
09b590d relocate external declaration of *per_core
91a450e remove Makefile target 'dist' incorrectly aliased to 'clean'
dda196a separate cli application build from the driver
7261910 build a dynamic linking cli application
df39d8c use a bigger type for req_mem_size
f78435f fix machine crash on timer test
a7e8a6a add firmware fixes for incorrect IRQ signalling
27751bf refactor: remove common_sysfs_show/store from sysfs.h
4a60e77 remove redundant print function
464704b sync with firmware updates
71446a0 clean-up tests before releasing driver structures
6d982cd fix offset calculation for shared counters struct
110b1e7 remove duplicate code and #ifdef branch
f3e08dd refactoring: extract function from loop to enhance clarity
745af67 remove redundant structure for shadow counters
1f92e9b remove not used external declaration
0a53ea3 remove code fragment without purpose
26d2ef5 remove redundant fw_resp_ring_t typedef
d65d0e7 remove redundant shadow_memory structure
5fb0526 remove redundant resp_ring_entry_t typedef
76f0d17 remove redundant ring_counters_mem_t typedef
a7f5054 remove redundant ring_shadow_counters_mem_t typedef
d2e1765 remove redundant ring_idxs_mem_t typedef
ad94e8a remove redundant counters_mem_t typedef
f9a4c40 remove not used typedef
c581cd1 use #else to merge two exclusive #ifdef's
18909d3 remove not used structure member
4c83440 add include guards for crypto_ctx.h
edeee8a remove redundant structure ctx
c93c234 fix Makefile to allow parallel make
e43b78e fix round-robin context allocation for RSA operations
f9beb49 remove unnecessary lock contention
31e004a add static qualifier for file-bound variables
bbba578 remove code for handling INTx and MSIx
7e04c32 remove unnecessary self-asignment
8f79b8c remove wt_cpu_mask variable definition from header file
d1a76fd cleanup: remove unnecessary "include"s
a6d3286 rename reserved identifiers
21cb055 rename source files to avoid confusions
8072597 use kernel API to count the cpus
bb2ddcd rename lock variable to match its purpose
e51e179 fix incorrect use of get_cpu() on debug_print
4a2d864 clear test_done flag inside check_test_done()
5432210 clarify function return value
7ef3b7a remove unused header inclusions
3119e2a move get_cpu_ticks definitions closer to their users
34bd796 remove unused 'flag' argument from callbacks
602db60 remove leftovers from Makefile
fff643f merge two related short functions
36e7aeb clarify debug print message
0908d09 rename function
a441393 rearrange code to remove forward declaration
9e303f3 clean-up formatting and remove dead code
509ce95 make sure side-effect ioreads are not optimized away
d2104ff read-back the last written LAW to guarantee LAWs visibility
f58b316 split boot procedure into independent functions
8543c2f decrement device count on device remove
d4e5650 fix CPU core reset sequence
90726f3 do only a CPU core reset when device is removed
ae4e740 execute device reset inside device remove function
ad65fdb remove rearrange_config function
b3d4633 remove redundant typedef resp_ring_entry_t
d025737 remove redundant rounding of ring lengths
5805ff8 remove unused priority queue code
bf6ee11 clarify the kernel patch procedure
2d19537 refactoring: use sg_cnt as index
c8ad184 clear ring lists before freeing ring memory
1969e0a consider all warnings as errors
d262686 clean-up Makefile
e445714 Revert "add parameters to help with cross-compilation"
0877954 use standard macros to identify the platform
ae1d33b move functions around to remove forward declarations
1318c36 remove unnecessary forward declarations
bc07560 fix pointer dereferencing after kfree
533ccd6 remove unreachable #ifdef 0 code
a03f89c remove strict_strtol macro
74f890d mark hanshake success inside handshake function
f9460fb remove unused macros
8313f5c refactoring: remove unnecessary code block
2c4f52c refactoring: extract function hs_init_rp_complete
2a2139a refactoring: extract function hs_fw_init_complete
563cf8c refactoring: extract function hs_firmware_up
5e26693 remove unnecessary Makefile variables
5de6d6d remove conditional code for non-powerpc platforms
528a89d remove no longer used code
5e65fa6 use portable definitions for big endian READ64/WRITE64
0a2b97d remove ASSIGN32 macro from the rest of files
2347c8d remove ASSIGN32 macro from rsa.c
e277959 remove ASSIGN32 macro from hash.c and symmetric.c
cde6406 remove ASSIGN32 macro from dsa.c
3f9613c remove ASSIGN32 macro from dh.c
e6d0ba2 remove all uses of ASSIGN16 macro
7ad9d6c remove all uses of ASSIGN8 macro
0a7f003 use portable constructs for all platforms
3cb5a4c remove more iowrite macros
6acb490 remove unnecessary wrapper over iowrite8
29cd4a0 remove remaining wrapper macros for PCI 32bit read/write
c3c895e use iowrite32b to write to PIC_PIR register
b8dd736 set a single workqueue for operations
367f105 remove unused members of per_core_struct_t
0e7324c remove unused tasklets related code
724dcd9 remove support for pre 2.6.19 kernels
ef22e13 refactoring: avoid redundant typecast to void *
ab04330 explain the choice of index for response ring
8bd4428 clarify the meaning of these assignments
6e0950a simplify calculation of handshake memory address
09d4f8e refactoring: use variable to avoid duplicated addition
886354a remove duplicated definitions of CACHE_LINE_SIZE
199efd0 fix calculation of outbound memory length
d8d918f clarify value of dev->tot_req_mem_size to avoid code review issues
0ab7a57 remove unnecessary "crypto_dev_config_t" type definition
1b029f8 move assignment out of the if condition
ba8fb48 remove unused initialization values
3fd6b86 remove unused "crypto_config_t" structure
fb7fc22 add note for enabling ECC
098edf9 explain what is going on during endpoint setup
a3cb153 fix value of TRGT field for PEX_PEXIWAR1
eb69306 refactoring: use kernel IO API to access device registers
476f25d minor clean-up in debug-prints
8555a14 remove unmaintained code
68cdc01 refactoring: remove short function
691e809 use upper case to refer to base address registers
19314aa remove one of two identical enum types
fc3e81a remove conditional padding of buffer_header struct
df81cc2 remove rarely used macros
151125f remove dead conditional code
f8b9a76 remove redundant #ifdef
c7b0ae0 merge conditional code blocks to ease their removal
47971d3 always link pkc.o when building the driver
df748c3 fix several compiler warnings with debug print enabled
128553a Merge pull request #11 in SDK/pkc-host from ~B47441/pkc-host:master to master
a2ae0f4 config device for proper module removal
185a2ef Merge pull request #10 in SDK/pkc-host from ~B18196/pkc-host:master to master
1dcb2cc add build option to disable hmac algorithms
341f4d3 Merge pull request #9 in SDK/pkc-host from ~B18196/pkc-host:hash_cleanup to master
255413f move hash init functions to hash.c
33be668 move virtio hash init functions to hash.c
d4f4aed make structure definition accessible from algs.h
a2bace7 remove compiler warnings about unused variables and labels
564feb6 remove debug-print compiler warnings
a6dd5d6 make the include tree more shallow
ed759f1 remove block of not-used macros
8daa0a6 replace unused debug-print switch
82001b1 remove dead/commented code
e58a21b Merge pull request #8 in SDK/pkc-host from ~B18196/pkc-host:bugfix_QSDK-2327 to master
367235b add firmware fixes for board in PKC mode
6bf2320 Merge pull request #5 in SDK/pkc-host from ~B18196/pkc-host:bugfix_hash_array_index to master
dc26e18 bound-check digest operation before array indexing
d596ccb clean-up exit logic in hash_cra_init
e4df9e0 remove dead code in algs_reg.h
9aa8c6f fix debug-print typo
7d9751b fix error-path clean-up for fsl_crypto_pci_probe
d52f083 refactoring: extract loop into fsl_request_irqs function
b467d27 refactoring: extract code-blocks into reusable functions
64dd967 cache the interrupt type for later
1ad35e9 fix isr_context memory deallocation
1130b94 save the actual requested irq number to free later
4526b47 use a single variable to remember the interrupt type
a972d1e refactoring: extract clean-up code into a function
48afa04 rename error code variable
4bb959e check for NULL pointers before dereferencing
ac2fc15 partial revert of c_buffers references to fix digest regression
6917577 fix incorrect buffer mem distribution
815942b dh.c: make variable declaration local to the code-block using it
6bd72b7 add comments requesting handshake clarifications
7be5358 refactoring: extract code block into send_hs_init_config() function
a7569d9 make num_of_rings uint8_t as in the rest of the code
c1adb61 fix 64bit compiler warning on printf type conversion
11a31e0 remove comments that duplicate code
296ac75 remove unnecessary NULL check for 'prev' pointer
9db737b remove cli binary from the package
c25fc89 merge prev and after pointers as they perform the same role
499e212 check for non-null pointer to continue rsa operation
897efd2 remove unnecessary initializations
186da4e sanitize function alloc_crypto_mem()
71dbe8b remove "retry alloc" feature
e9eba60 substitude macro with a local variable
15599db remove un-reachable code
0f20b53 fix memory deallocation on ecdsa_keygen_test
ddd3c5f snprintf to safer buffer boundaries
93d41be fix compiler warning: zero-length gnu_printf format string
d544973 minor clean-up of variable definitions in inner code-block
f4fa7f4 revert condition to decrease code indentation
44de183 return error if we see too many <ring> labels
16fc7ff use uint8_t to avoid explicit downcasts in assignments
7406811 comment unused code and leave it as a reminder
c6a3dca use uint8_t to hold values for 'struct buffer_header' flag field
360d092 rsa: return error if given an unsupported request type
dcfcc82 use u16 to hold values for offset in struct sec4_sg_entry
7689504 fix creation of circular list
7e9934b remove unreachable code
ad95665 return from callback if device config is not found
3c4fcd3 remove redundant initialization of 'loop'
86a3cca refactoring: extract common code in both branches of if statement
6b1e6cf init completion before enqueuing the operation
634b3f6 refactoring: use crypto_op_t to identify rng operations
6316fe8 fix test in if statement
ec1d529 initialize error code in case we have an incorrect no_secs value
1f766cb fix error checking in rng initialization logic
bc09c80 remove redundant initializations
885eee8 remove redundant temporary variable
83d01d3 use u16 type to hold msi/msix interrupt vector entries
533942f add explicit cast to avoid static code analysis issues
6083b6c check buffer boundaries in prepare_crypto_cfg_info_string()
d092710 sanitize parsing_test_command() function
9666743 fix clean-up path for fsl_crypto_layer_add_device
be74851 remove unnecessary variable
739b08e change function type from int32_t to void
d95aaa2 remove dummy code
6f32f94 check for buffer boundaries before copying
e495e63 use flag setters/getters to reduce code duplication
ad23ae5 add more utilities to get/set flag values
bcf3a1e refactoring: replace space indentation with tabs
be34550 use positive logic in #ifdef #else #endif blocks
7a36935 check for memory allocation errors on pool inits
d36c2dd move assignment inside the block where it is used

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agokernel-module-pkc-host: rename back to pkc-host
Ting Liu [Sat, 9 Jan 2016 06:43:26 +0000 (14:43 +0800)]
kernel-module-pkc-host: rename back to pkc-host

pkc-host ships not only .ko files, but also crypto.cfg/pkc-firmware.bin/etc.

As the recipe inherits module.bbclass, kernel-module-* will be
created to package .ko if installed into /lib/modules/.

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agopkc-firmware: update to commmit 32804a0
Ting Liu [Sat, 9 Jan 2016 06:43:25 +0000 (14:43 +0800)]
pkc-firmware: update to commmit 32804a0

New commits imported:
32804a0 note on global variable definition
29a0bcb rename variable "p_cursor" and make it global
48e9ab1 remove unnecessary "l2_cursor" variable
a15c204 add -Wall and -Werror to build options
fa58ed6 fix typo regarding the use of "struct sec_jr_regs"
8fcd0bc enable large bursts for DECO transactions
ca35ed5 refactor code for masking interrupts from SEC
3e36d4f refactor code for setting SEC pointer size
8a7f971 remove unneeded commented "print_debug()"
c73303d move defines at the start of the file
afcfd66 remove commented (#if 0) code
32d119a remove unnecessary type definition "kek_regs_t"
4d99599 remove unnecessary type definition "rng_regs_t"
d7e65e5 refactor: added defines for better consistency
21a4853 refactor: move defines at the start of the file
baa8a25 remove unnecessary type definition "sec_jr_regs_t"
df0dd86 remove unnecessary type definition "sec_op_ring_t"
f70c14f remove unnecessary type definition "sec_ip_ring_t"
11ed223 remove unnecessary type definition "sec_jr_t"
ba47de3 remove unnecessary commented instruction
b9063e4 remove unnecessary type definition "sec_engine_t"
620cf5f remove unnecessary type definition "resource_t"
bef6960 remove not used function
c4a078e fix incorrect handling of multiple rings
92c6b71 c2x0_boot_loader/u-boot.lds: remove _GLOBAL_OFFSET_TABLE_ definition
453eaa9 use a logical definition for MIN
570aadd rearrange code and remove leftovers after IRQ fix patch
2f31558 rename variable to better match its purpose
029cc82 remove artificial SEC dequeue and enqueue throttling
b6fe293 use a bigger type for req_mem_size
e22d91f fix incorrect IRQ signalling to host
692981c remove not unused #define
7e2fbd4 remove redundant c_mem_layout_t typedef
377daaa remove redundant fsl_h_mem_handshake_t typedef
52f75d0 remove redundant crypto_c_hs_mem_t typedef
f126673 use smaller type for index
8c8f4ec refactoring: fix reference to the upper half of the L2 SRAM
0092a57 refactoring: remove inner code blocks
6853157 clean-up whitespace and debug-print output
c3720dd refactoring hs: extract hs_complete
3677b1c refactoring hs: extract fw_init_ring_pair
78ea81b refactoring hs: extract fw init config
cc416c2 minor fixes in code layout
0076df7 fix typos and clarify comments
0ab33aa remove unused variable
17607d2 use positive logic in conditional code
5d3886f Merge pull request #2 in SDK/pkc-firmware from bugfix/QSDK-2327-pkc-host-driver-does-not-insert to master
c0256e0 clean-up whitespace and indentation in uboot_print.c
8f5be56 fix compiler warnings on static declarations
f3bc222 use a no-op printf when PRINT_DEBUG is disabled
541a7ed make void the function c2x0_serial_init
8ecba2c enable debug prints from config.mk and move definitions to uboot_print.h
9ef2eb5 remove conditional for always-on code
bd52b94 update build instructions
d872219 refactoring: resetdev: extract code blocks into readable functions
f5301c1 remove unused variables
0931e3b refactoring: move defines out of the function for clarity
040cb61 refactoring: secstat: extract code blocks into readable functions
77fa0e1 refactoring: pingdev: extract code blocks into readable functions
91bf581 refactoring: ringstat: extract code blocks into readable functions
7559c79 refactoring: devstat: extract code blocks into readable functions
af9d455 refactoring: resetsec: extract code blocks into readable functions
17b0905 refactoring: debug: extract code blocks into readable functions
09fa9a8 remove not-used variable
ae691e8 whitespace clean-up
3e6700e update build instructions

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agorcw: update COMPATIBLE_MACHINE as qoriq
Ting Liu [Sat, 9 Jan 2016 06:43:24 +0000 (14:43 +0800)]
rcw: update COMPATIBLE_MACHINE as qoriq

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agorcw: update to commit 521008f
Ting Liu [Sat, 9 Jan 2016 06:43:23 +0000 (14:43 +0800)]
rcw: update to commit 521008f

New commits imported:
521008f t1023rdb: RCW's added for Secure Boot
9e7c9d9 t1040qds: rcw: Add SD card SDR mode RCW
7467e6e t1040qds: rcw: set HWA_CGA_M1_CLK_SEL to 1
07af33e t2080qds: rcw: Add eMMC HS200 mode RCW
57fd2c9 t1040qds: rcw: Add eMMC HS200 mode RCW
e0b2272 arm: ls1021atwr: fix a bug change serdes to 0x30
795e6e7 arm: ls1021atwr: remove rcw for serdes 0x20
553eff7 arm: ls1021atwr: Change serdes 0x20 to 0x30
8847c6d arm: ls1021atwr: Add rcw for serdes 0x30 support
988d1ca arm: ls1021atwr: Enable Audio and HDMI for 0x70
1d4f34e arm: ls1021atwr: Enable DSPI2 when boot from QSPI and NOR
690613a arm: ls102xa: update PBI for PCIe and SCFG
27642c2 arm: ls102xa: Adjust the PBI command about the load address of U-Boot for NOR boot

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agorcw: swap qspi binary in do_install_append
Ting Liu [Sat, 9 Jan 2016 06:43:22 +0000 (14:43 +0800)]
rcw: swap qspi binary in do_install_append

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoapptrk: update to commit 4216af3
Ting Liu [Sat, 9 Jan 2016 06:43:21 +0000 (14:43 +0800)]
apptrk: update to commit 4216af3

New commits imported:
4216af3 Fix stepping over branch instructions in Thumb
59524e6 Error while reading CPSR
712a099 PowerPC Support for hardware breakpoints and watchpoints
c7c4b2b Incorrect mode (thumb/arm) after exec()
4e962d4 Thumb support for ARMv7
fd94e7f Fix TrkHandleExecEvent for ARMv7
50e2180 Invalidate traced breakpoint after release in TargetCleanupTrace for PA
18f4450 Fix crash when running a 32bit threaded application on a 64bit AppTrk

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoskmm-host: update to commit 41a448d
Ting Liu [Sat, 9 Jan 2016 06:43:20 +0000 (14:43 +0800)]
skmm-host: update to commit 41a448d

New commits imported:
41a448d fix dequeueing problem for dsa sign-verify test
290790a proper buffer cleanup for dsa sign-verify test
c4d8129 rename variable to better reflect its purpose
1e555ae remove unnecessary else branches
ddddb78 clean-up code flow
dec7b96 fix memory clean-up on error path
59e5746 remove redundant variables initialization
60431a8 remove dead code
3badec6 set default file paths to where we install them
6b23ee3 add more rules to .gitignore
b03ff68 remove unnecessary function call
86c1b1d remove cascade of defined and not used variables
8344196 remove dead code
faa9cbe fix typos - probably from copy/paste

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agokernel-module-skmm-host: rename back to skmm-host
Ting Liu [Sat, 9 Jan 2016 06:43:19 +0000 (14:43 +0800)]
kernel-module-skmm-host: rename back to skmm-host

skmm-host ships not only .ko files, but also skmm_crypto.cfg/c29x_skmm_perf_profile.sh

As the recipe inherits module.bbclass, kernel-module-* will be
created to package .ko if installed into /lib/modules/.

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoskmm-ep: add ARCH in EXTRA_OEMAKE
Ting Liu [Sat, 9 Jan 2016 06:43:18 +0000 (14:43 +0800)]
skmm-ep: add ARCH in EXTRA_OEMAKE

ARCH is needed for all tasks, for example, make clean

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoceetm: install ceetm.ko into /lib/modules/
Ting Liu [Sat, 9 Jan 2016 06:43:17 +0000 (14:43 +0800)]
ceetm: install ceetm.ko into /lib/modules/

kernel-module-ceetm will be created to package ceetm.ko by default.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoceetm: remove useless do_configure_preappend
Ting Liu [Sat, 9 Jan 2016 06:43:16 +0000 (14:43 +0800)]
ceetm: remove useless do_configure_preappend

The fix was merged in source code now.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoceetm: update to commit 2c79d0b
Ting Liu [Sat, 9 Jan 2016 06:43:15 +0000 (14:43 +0800)]
ceetm: update to commit 2c79d0b

New commits imported:
2c79d0b ceetm: asf dummy packet hook in ceetm
179d761 ceetm: improved error handling
ceb2646 ceetm: Adding support for vlan and large packets
83243fd ceetm: use the extended dpa_tx call from dpaa
6126e29 ceetm: set the fq context_a for buffer recycling
4cbb1ba Revert "Avoid crash on incorrect classid result with classifier"
aaa61ff Revert "ceetm: redefine the print_rate function"
c2de120 Makefile: use KBUILD_OUTPUT to point to build-artifacts
b000e91 Avoid crash on incorrect classid result with classifier
2242e7a ceetm: redefine the print_rate function

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agokernel-module-ceetm: rename back to ceetm
Ting Liu [Sat, 9 Jan 2016 06:43:14 +0000 (14:43 +0800)]
kernel-module-ceetm: rename back to ceetm

ceetm ships not only ceetm.ko, but also q_ceetm.so. Rename back to
ceetm

As the recipe inherits module.bbclass, kernel-module-ceetm will be
created to package ceetm.ko if it is installed into /lib/modules/.

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoceetm: update COMPATIBLE_MACHINE for t104x
Ting Liu [Sat, 9 Jan 2016 06:43:13 +0000 (14:43 +0800)]
ceetm: update COMPATIBLE_MACHINE for t104x

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoar: update COMPATIBLE_MACHINE for t104x
Ting Liu [Sat, 9 Jan 2016 06:43:12 +0000 (14:43 +0800)]
ar: update COMPATIBLE_MACHINE for t104x

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot1042d4rdb-64b: build usdpaa/usdpaa-shared-interfaces dtb
Ting Liu [Sat, 9 Jan 2016 06:43:11 +0000 (14:43 +0800)]
t1042d4rdb-64b: build usdpaa/usdpaa-shared-interfaces dtb

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot1042d4rdb: build usdpaa/usdpaa-shared-interfaces dtb
Ting Liu [Sat, 9 Jan 2016 06:43:10 +0000 (14:43 +0800)]
t1042d4rdb: build usdpaa/usdpaa-shared-interfaces dtb

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot1040d4rdb-64b: build usdpaa/usdpaa-shared-interfaces dtb
Ting Liu [Sat, 9 Jan 2016 06:43:09 +0000 (14:43 +0800)]
t1040d4rdb-64b: build usdpaa/usdpaa-shared-interfaces dtb

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot1040d4rdb: build usdpaa/usdpaa-shared-interfaces dtb
Ting Liu [Sat, 9 Jan 2016 06:43:08 +0000 (14:43 +0800)]
t1040d4rdb: build usdpaa/usdpaa-shared-interfaces dtb

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agols1021atwr: support QSPI and IFC in SD boot
Ting Liu [Sat, 9 Jan 2016 06:43:07 +0000 (14:43 +0800)]
ls1021atwr: support QSPI and IFC in SD boot

QSPI and IFC are both supported in SD boot. Build two SD boot images,
one supports IFC; the other supports QSPI.

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot4160qds: build secure-boot u-boot
Ting Liu [Sat, 9 Jan 2016 06:43:06 +0000 (14:43 +0800)]
t4160qds: build secure-boot u-boot

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agob4860qds-64b: remove UBOOT_MACHINES setting
Ting Liu [Sat, 9 Jan 2016 06:43:05 +0000 (14:43 +0800)]
b4860qds-64b: remove UBOOT_MACHINES setting

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot1023rdb-64b: build nor u-boot
Ting Liu [Sat, 9 Jan 2016 06:43:04 +0000 (14:43 +0800)]
t1023rdb-64b: build nor u-boot

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot1023rdb: build nor u-boot
Ting Liu [Sat, 9 Jan 2016 06:43:03 +0000 (14:43 +0800)]
t1023rdb: build nor u-boot

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-qoriq: support kernel delta defconfig managed in recipe folder
Zhenhua Luo [Sat, 9 Jan 2016 06:43:02 +0000 (14:43 +0800)]
linux-qoriq: support kernel delta defconfig managed in recipe folder

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-qoriq: update LOCALVERSION
Ting Liu [Sat, 9 Jan 2016 06:43:01 +0000 (14:43 +0800)]
linux-qoriq: update LOCALVERSION

Don't set LOCALVERSION options in .config as this will result in version
mismatch between uImage and kernel modules which packaged in rootfs.

This happens when using uImage built standalone toolchain + rootfs built
by Yocto.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-qoriq: save the merged .config as ${WORKDIR}/defconfig
Ting Liu [Sat, 9 Jan 2016 06:43:00 +0000 (14:43 +0800)]
linux-qoriq: save the merged .config as ${WORKDIR}/defconfig

In fsl-kernel-localversion.bbclass, ${B}/.config will be regenerated
based on ${WORKDIR}/defconfig. Save the merged .config to avoid issue.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-qoriq: update to commit 43cecda
Ting Liu [Sat, 9 Jan 2016 06:42:59 +0000 (14:42 +0800)]
linux-qoriq: update to commit 43cecda

New commits imported:
43cecda fmd: remove cc-aging support
867551d fmd: relocate aging_support field to maintain compatibility
08d3161 Merge pull request #75 in SDK/linux-devel from ~R52568/linux-devel:hotfix/QLINUX-3938-fmd-ioc_compat_fm_pcd_kg_scheme_spc_t to master
1cf7b57 fmd: PCD: fix offline port blocked by fragmented IPV6
295abbb fmd: move compat_copy_fm_pcd_kg_scheme_spc out of DPAA 11 def
976b0aa fmd: PCD: fix offline port blocked by fragmented IPV6
b242e9c fmd: Add support for IPF after HMan
fd8e7c7 Merge pull request #69 in SDK/linux-devel from ~R27762/linux-devel:add_hm_node_stats to master
1c291fd Merge pull request #72 in SDK/linux-devel from ~B56421/linux-devel_sdk_ip-usb:bugfix/QSDK-2454 to master
50eea51 Merge pull request #48 in SDK/linux-devel from ~R52568/linux-devel:bugfix/QLINUX-3822-monitoring-any-match-inside-hash to master
dd05648 arm: dts: ls1021a: Add dma-coherent property to usb3 node
e8c288e drivers: dwc3: Set dma ops for xhci dev
56afee9 drivers: dwc3 : Add support for USB snooping
3f83306 drivers: dwc3: host: Change burst beat and outstanding pipelined transfers requests.
1666d68 fmd: add ioctl call to retrieve scheme counter - spc
a9d0ea5 fmd: Render header manip node statistics available in user space
e176e3f fmd: fix compat layer for aging_support
3a8d082 Merge pull request #65 in SDK/linux-devel from ~R01356/linux-devel:bugfix/QUSDPA-704-segfault-in-dma_mem-allocator.c to master
a57ffba Merge pull request #64 in SDK/linux-devel from ~B06830/linux-devel:bugfix/QSDK-2404-cryptodev-linux-sha1-offloading to master
0586472 Merge pull request #63 in SDK/linux-devel from ~B29983/linux-devel-tyt:QSDK-2438-there-is-some-improper-information to master
61f0e11 Merge pull request #61 in SDK/linux-devel from ~R54964/linux-devel:bug-fix to master
cfb981f dev-exporting dev functions to support ceetm
e98f36e fsl_usdpaa: Remove TLB entries when unmapping memory
8700bab crypto: caam - Change kmalloc to kzalloc to avoid residual data
4fd8cac crypto: caam - fix memory corruption in ahash_final_ctx
16d4087 crypto: caam - Fix incorrect size when DMA unmapping buffer
270c770 crypto: caam - improve initalization for context state saves
67ef9d13 crypto: caam - enable LARGE_BURST for enhancing DMA transactions size
2c27666 crypto: caam - make write transactions bufferable on PPC platforms
418316c cpufreq: qoriq: fix output information error
300c3ff fsl-qbman: Handle memory leaks
56e16e2 fsl-pme: Check for null pointers
3ac31aa fsl-dce: Handle memory allocation failures
e11b65b fsl-dce: Correct error paths and add new labels
ea1259d fsl_qbman: null check for lni in qman_ceemt_sp_release
e82a761 fmd: fix locks in ModifyKey function
dedb4b3 fmd: support aging in CC
0506053 pci/layerscape: Do not check link status
e03bbdd asf_tcp_nf: Patch to correct typecast in tcp timestamp copy.
91aade9 Revert "gianfar: Add dma transfer endian property support"
03dd666 kconfig-asf : asf_qos disabled with asf by default
b8d41cb dev-asf-qos - correcting the qos hooks for dpaa linux qos
18b0779 dpaa_eth: fix bpool seeding for advanced drivers
7faf498 net, gianfar, rt: Update TX_TIMEOUT to 5HZ
502650e net, rt: limit net_rx napi calls in threaded ISR context
e37ce25 powerpc/t1040/dts: Add interrupts for PHYs connected to L2 Switch ports
6da728b fmd: support aging in CC
5cd3a8f fmd: fix policer spelling issues
b5d9899 fmd: Remove FM_PORT_PcdPrsModifyStartOffset routine - not supported
4c642e7 fsl_qbman: enable sending cscn to dcp for old qman revision
b8887bd t4240dts: correct the ceetm node
f33567a dpaa_eth: Add a configurable dpa_tx call
e48b858 mmc: sdhci-of-esdhc: fix compile error on ARM platform
fb9a06b QorIQ/TMU: add TMU node to device tree for QorIQ T1023/T1024
4fbd4cf QorIQ/TMU: add thermal management support based on TMU
a9463a3 QorIQ/TMU: add TMU node to device tree for QorIQ T1040/T1042
6b43e2b thermal: fix cpu_cooling max_level behavior
f0a70b9 mmc: sdhci-of-esdhc: add SDR50 mode support for SD/MMC Legacy Adapter Card
9ac6075 mmc: esdhc: add eMMC45 Adapter Card HS200 mode support
e89634e QorIQ/TMU: add TMU node to device tree for LS1021A
fd1b282 Merge branch 'feature/LS1-for-SDK' of ssh://sw-stash.freescale.net/dnnpi/ls1-linux-jason into LS1-SDKV04-SDK1.9
8d3a3ca t104xd4rdb: add DS26522 nodes to device tree
aaa395f Merge branch 'qoriq-sdk' into LS1-SDK-Rev2.0
ec78b41 arm: ls1021a: mask interrupts before entering deep sleep
13d0daf arm: dts: ls1021a: Add transfer mode property in DSPI2 node
6f50fc1 arm: dts: ls1021atwr: Enable DSPI2 dts node
7a6dba4 arm: ls1021a: change the order of setting PMC interrupt registers
4e61417 crypto: caam - fix SEC ERA reading
bcd5862 crypto: caam - fix snooping for write transactions
eec616d1 arm/dts: Add node for ina220 on LS1021ATWR-Rev
3915d65 arm/defconfig: Add Atheros AT803X PHYs support
e364aa2 QE/HDLC: modify QE-HDLC for both ARM and POWERPC
bb21962 Test patch: Enable CAN SoC level loopback
a4c59bc arm/dts: Add nodes for flexcan devices present on LS1021A-Rev2 SoC
6e9c5a3 can: flexcan: Add support for non RX-FIFO mode
c466de8 can: flexcan: Remodel FlexCAN register r/w APIs for BE instances
306f67c can: flexcan: Add ls1021a flexcan device entry
7e71163d doc/bindings: Add 'endianess' optional-property for FlexCAN controller
1795472 Revert 'can: flexcan: Add ls1021a flexcan device entry'
863d717 Revert 'net: can: Remodel FlexCAN register read/write APIs for BE instances'
41cfacd Revert 'can: flexcan: Add support for non RX-FIFO mode and conditional ERRATA ERR005829 handling'
8d04086 mmc: sdhci: more efficient interrupt enable register handling
e08d8bf pci/layerscape: update MSI code for ls1021 rev2 MSI support
d217d96 mmc: sdhci-pltfm: enable interrupt mode to detect card
7549302 arm: ls1021a: enable sleep and deep sleep for rev 2.0 silicon
3aa9846 ls1021a: dts: Add eTSEC info for 2nd interrupt groups
5217966 Merge branch 'qoriq-sdk' into LS1-SDK-Rev2.0
02d571e ls102xa: nor: Adjust the partition for NOR flash according to the new mapping table
78fd893 arm: ls1021a: add deep sleep support on TWR-LS1021A-PB
b65882a Revert "gianfar: Disable Rx snooping for LS1"
138b929 Revert "gianfar: Remove tx snooping support from LS1"
7b56cb1 arm: ls1021a: add platform notifier for dma-coherent requirement
62a2834 ls102xa: dts: Remove big-endian-regs property for SAI
bebea77 Revert "ls102xa: audio: Workaround for SAI data transfer endian issue"
a449b22 ls102xa: nor: Adjust the partition for NOR flash

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agou-boot-qoriq: avoid changing building directory
Ting Liu [Sat, 9 Jan 2016 06:42:58 +0000 (14:42 +0800)]
u-boot-qoriq: avoid changing building directory

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agou-boot-qoriq: fix indent
Ting Liu [Sat, 9 Jan 2016 06:42:57 +0000 (14:42 +0800)]
u-boot-qoriq: fix indent

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agou-boot-qoriq: exit if UBOOT_CONFIG not supported
Ting Liu [Sat, 9 Jan 2016 06:42:56 +0000 (14:42 +0800)]
u-boot-qoriq: exit if UBOOT_CONFIG not supported

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agou-boot-qoirq: update to commit eb3d4fc
Ting Liu [Sat, 9 Jan 2016 06:42:55 +0000 (14:42 +0800)]
u-boot-qoirq: update to commit eb3d4fc

New commit imported:
eb3d4fc powerpc/mpc85xx: fix disable port for FMAN erratum A007273
63dfac1 powerpc/mpc85xx: restrict platform for FMAN erratum A007273
54e5fde powerpc/mpc85xx: Add workaround for FMAN erratum A007273
61ac6ba drivers:usb:fsl: Add affected SOCs for USB Erratum A007792
ced4086 fsl/ddr: updated ddr errata-A008378 for arm and power SoCs
17f724f fsl/errata: move fsl_errata.h to common directory
6acff65 arm: ls102x: add get_svr and IS_SVR_REV helper
0caf24c arm: ls102xa: Set fdt_high and initrd_high to the value of 0xffffffff
263a323 powerpc: e6500: Lock/unlock L2 cache instead of L1 as init_ram
f28fd70 powerpc: configs: Fix init_ram physical address for several boards
46be0a4 ls102xa: fdt: Disable IFC in SD boot for QSPI
f1ca68a ls102xa: etsec: Use proper settings for BE BDs
e0712fe mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_ definition
a04b8b3 mmc: fsl_esdhc: fix mmc read/write error on T4160/T4080
23a735b arm: ls1021a: Fix the patch check warnings for the previous commit
5a42d5d SECURE_BOOT: Correct reading of ITS bit
f6310eb arm: ls1021a: Add QSPI or IFC support in SD boot
ab2db1a arm: ls102xa: fix patch check issue.
7611d2c Merge pull request #40 in SDK/u-boot-devel from ~B29983/u-boot-devel-tyt:feature/QUBOOT-1181-the-u-boot-deepsleep-resume-time to master
d406c4f arm: ls102xa: enable all the snoop signal for masters.
1686b84 Merge pull request #38 in SDK/u-boot-devel from ~B46683/u-boot-devel:bugfix/QUBOOT-1173-ls1021atwr-sd-boot-don-t-support to master
0258a33 Merge pull request #37 in SDK/u-boot-devel from ~B18965/my-u-boot-devel:master to master
dfc49e9 arm: ls1021atwr: optimize the deep sleep latency
2023326 Merge pull request #34 in SDK/u-boot-devel from ~B40530/u-boot-devel:feature/QUBOOT-789-sd-boot-on-t4-rdb to master
3a8f547 Merge pull request #35 in SDK/u-boot-devel from ~B47093/u-boot-devel-sdhc:feature/QLINUX-3755-support-the-uhs-speed-mode-for to master
e4957df Merge pull request #31 in SDK/u-boot-devel from DNNPI/ls1-uboot:feature/LS1-for-SDK1.9 to master
774b080 configs: ls1021atwr: Enable ID EEPROM for SD boot
95a9abb arm: mmu: Add missing volatile for reading SCTLR register
c9a7868 mmc: fsl_esdhc: enable EVDD automatic control for SD/MMC legacy card
3fe5a18 Merge pull request #27 in SDK/u-boot-devel from ~B45475/u-boot-devel-fork:feature/QUBOOT-1057-support-qe-tdm-on-t1040rdbd4 to master
767a4ad powerpc/t1040qds: enable peripheral clock for eSDHC
0867fed powerpc/t1040qds: enable adapter card type identification support
26d6853 mmc: fsl_esdhc: enable dat[4:7] for eMMC4.5
acd4c74 powerpc/t4rdb: Add SD boot support for T4240RDB board
b773c94 configs: ls1021atwr: Disable DSPI2 with NOR boot
98bf337 mtd: sf: Add support AT26DF081A chip
91bdf34 dm: dts: ls1021a-twr: Enable DSPI2 on LS1021ATWR
7289cb9 configs: ls1021atwr: Enable DSPI for LS1021ATWR
870af21 t1040d4rdb: assign muxed pins to qe-tdm when set hwconfig qe-tdm
300674e powerpc/t1023rdb: change default core frequency to 1200MHz
45f88eb powerpc/t1023rdb: eMMC boot without external SD card
aee4875 board/t1023rdb: add support for T1023RDB RevC
2c86026 ls1021atwr: sdboot: change serdes 0x20 to 0x30
8d38d25 LS102XA:workaround:disable priorities within DDR
2621445 arm: ls1021a: allow OCRAM access permission as R/W in SPL
10bc2b0 crypto/fsl: fix "era" property value on LE platforms
6d5733d arm: ls102xa: enable snooping for CAAM transactions
d3e6f11 Revert "Enable snooping on transactions from CAAM block"
a5dc0f7 arm: ls1021a: Ensure LS1021 ARM Generic Timer CompareValue Set 64-bit
0669b57 LS102XA: Workaround: DDR require a register write
449ab6a ls102xa: Enable snoop and DVM message requests.
6ae8810 Revert "arm: ls102xa: workaround for cache coherency problem"
617f1fd Revert "sf: Add support for flag status register on Micron chips"
18bd7bb arm: ls102xa: Add LE mode support for audio IPs on Rev2.0 silicon
80a22d8 QE: modify the address of qe ucode
784f7f2 arm: ls1021atwr: program the regulator for deep sleep
8971e50 ls1021atwr: added deep sleep support in uboot
9f692ae ls102xa: etsec: Enable Tx Data and TxBD snooping
79da560 arm/ls102xa:Add support of conditional workaround implementation as per SoC ver
b6876d0 arm: ls102xa: Adjust the load address of U-Boot for NOR boot

Remove the useless Fix-the-depend-race-issue.patch.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agou-boot-qoriq: remove external-fsl reference
Ting Liu [Sat, 9 Jan 2016 06:42:54 +0000 (14:42 +0800)]
u-boot-qoriq: remove external-fsl reference

external-fsl should be standalone. Add the changes in its sperated layers.

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agousdpaa-apps: use in6_* macros from glibc instead of kernel
Ting Liu [Tue, 22 Dec 2015 16:07:48 +0000 (00:07 +0800)]
usdpaa-apps: use in6_* macros from glibc instead of kernel

Both glibc and the kernel have in6_* macros definition. Use the one from glibc.
Kernel headers will check for previous libc definitions by including
include/linux/libc-compat.h.

Fix the below build error:
|  [CC] xfrm_km.c                           (bin:srio_ipsec_offload)
| In file included from .../tmp/sysroots/b4860qds-64b/usr/include/linux/xfrm.h:4:0,
|                  from src/srio_ipsec_offload/xfrm_km.c:46:
| .../usr/include/netinet/in.h:99:5: error: expected identifier before numeric constant
|      IPPROTO_HOPOPTS = 0,   /* IPv6 Hop-by-Hop options.  */
|      ^
| In file included from .../tmp/sysroots/b4860qds-64b/usr/include/netinet/ip.h:24:0,
|                  from src/srio_ipsec_offload/xfrm_km.c:52:
| .../tmp/sysroots/b4860qds-64b/usr/include/netinet/in.h:209:8: error: redefinition of 'struct in6_addr'
|  struct in6_addr
|         ^
| In file included from .../tmp/sysroots/b4860qds-64b/usr/include/linux/xfrm.h:4:0,
|                  from src/srio_ipsec_offload/xfrm_km.c:46:
| .../tmp/sysroots/b4860qds-64b/usr/include/linux/in6.h:32:8: note: originally defined here
|  struct in6_addr {
|         ^

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agousdpaa-apps: fix the inline function definition with gcc 5.x
Ting Liu [Tue, 22 Dec 2015 06:08:57 +0000 (14:08 +0800)]
usdpaa-apps: fix the inline function definition with gcc 5.x

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoudev-rules-qoriq: remove useless automount.rules
Ting Liu [Tue, 22 Dec 2015 02:27:31 +0000 (10:27 +0800)]
udev-rules-qoriq: remove useless automount.rules

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoskmm-ep: fix the inline function definition with gcc 5.x
Zhenhua Luo [Wed, 23 Sep 2015 13:35:39 +0000 (21:35 +0800)]
skmm-ep: fix the inline function definition with gcc 5.x

There are different semantics for inline functions for gcc-5.x compared to
previous gcc. Fix the following build error.
| skmm.c:(.text.startup+0xfc): undefined reference to `va_to_pa'
| skmm.c:(.text.startup+0x10c): undefined reference to `va_to_pa'

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agou-boot-ls1: The finale u-boot binary is not named as u-boot.bin for sdcard/spi
Chunrong Guo [Fri, 11 Dec 2015 07:26:16 +0000 (01:26 -0600)]
u-boot-ls1: The finale u-boot binary is not named as u-boot.bin for sdcard/spi

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agobarebox: update to 2015.10
Alexandre Belloni [Mon, 30 Nov 2015 01:30:16 +0000 (02:30 +0100)]
barebox: update to 2015.10

2013.08 doesn't compile anymore because of the switch to gcc 5.2

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoxf86-video-imxfb-vivante: Stop using swaprep.h header
Otavio Salvador [Wed, 2 Dec 2015 13:54:16 +0000 (11:54 -0200)]
xf86-video-imxfb-vivante: Stop using swaprep.h header

The 'swaprep.h' is an internal Xorg header and is not being installed
anymore. The swap features are provided by the 'misc.h' header now.

Fixes [YOCTO: #8737]

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoxf86-video-imxfb-vivante: Stop using Git to write local version
Otavio Salvador [Wed, 2 Dec 2015 13:57:43 +0000 (11:57 -0200)]
xf86-video-imxfb-vivante: Stop using Git to write local version

The standard version does not use a Git repository so we should not
use Git to identify the commit of the build as it can end getting the
version from a wrong repository and can be misleading.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoxf86-video-imxfb-vivante: Move patches attribution to the recipe
Otavio Salvador [Wed, 2 Dec 2015 13:46:08 +0000 (11:46 -0200)]
xf86-video-imxfb-vivante: Move patches attribution to the recipe

The patches applied on top of the source code are version specific and
should not be listed in the '.inc' file.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoxf86-video-imxfb-vivante: Stop running 'make' in debug mode
Otavio Salvador [Wed, 2 Dec 2015 12:51:00 +0000 (10:51 -0200)]
xf86-video-imxfb-vivante: Stop running 'make' in debug mode

There is no need to run 'make' in debug mode, by default, as it
increases log size and build time for no good reason.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc-mx6: Disable Tux logo for default config
Otavio Salvador [Tue, 24 Nov 2015 18:27:58 +0000 (16:27 -0200)]
linux-fslc-mx6: Disable Tux logo for default config

The Tux logo should be disabled by default to allow a cleaner boot
process.

If a different configuration is needed of any specific machine, it can
be overriden using custom config.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc-mx6: Disable 'evbug' module on default config
Otavio Salvador [Tue, 24 Nov 2015 17:40:20 +0000 (15:40 -0200)]
linux-fslc-mx6: Disable 'evbug' module on default config

Disable evbug, so machines using the kernel recipe do not have it
loaded by default.

The evbug kernel module can be enabled if needed, per machine, using a
custom config.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc-mx6: Fix serial console use with SystemD
Otavio Salvador [Tue, 24 Nov 2015 17:01:59 +0000 (15:01 -0200)]
linux-fslc-mx6: Fix serial console use with SystemD

The SystemD requires the CONFIG_FHANDLE option to be enabled to
properly support the serial console getty initialization. This fixes
following error:

,----[ i.MX6Q SABRE Smart Device boot error ]
| [ TIME ] Timed out waiting for device dev-ttymxc0.device.
`----

The error has been catch while testing a customer image in a pure
SystemD distro, based on O.S. Systems Embedded Linux.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agogstreamer1.0-plugins-bad: Fix patch for GStreamer 1.6
Carlos Rafael Giani [Tue, 24 Nov 2015 11:33:42 +0000 (12:33 +0100)]
gstreamer1.0-plugins-bad: Fix patch for GStreamer 1.6

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agokernel-module-imx-gpu-viv: Add 'galcore' to module autoloading
Otavio Salvador [Mon, 23 Nov 2015 12:36:19 +0000 (10:36 -0200)]
kernel-module-imx-gpu-viv: Add 'galcore' to module autoloading

The module autoloading ensures 'galcore' to be probed as early as
possible during the boot. The order is important so the GPU can be
used as fast as possible, ensuring a reduced time until the initial
GPU-based application is loaded.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc (4.1): Update to the latest version e55a6a92
Fabio Estevam [Mon, 16 Nov 2015 11:58:49 +0000 (09:58 -0200)]
linux-fslc (4.1): Update to the latest version e55a6a92

This merges the 4.1.13 stable release fixes into the fork.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoRevert "linux-fslc: Upgrade to 4.3-based kernel"
Otavio Salvador [Tue, 10 Nov 2015 13:16:17 +0000 (11:16 -0200)]
Revert "linux-fslc: Upgrade to 4.3-based kernel"

This reverts commit 649f479f118567d62a5a57d690fb3fe3915f0ea7.

The 4.3 version of kernel cause build errors on lttng and cannot be
included until those are fix. We are reverting it now and will add it
back once OE-Core is fixed to support it.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc: Upgrade to 4.3-based kernel
Otavio Salvador [Mon, 9 Nov 2015 11:27:04 +0000 (09:27 -0200)]
linux-fslc: Upgrade to 4.3-based kernel

Besides the revision change, this synchronizes the defconfig used for
the i.MX and the Vybrid SoCs. The only SoCs using a specific defconfig
file are the MXS-based ones (i.MX23 and i.MX28) as the others are
consolidated on the single defconfig file.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agou-boot-fslc: Update revision to 1b6aee7
Otavio Salvador [Thu, 5 Nov 2015 21:49:27 +0000 (19:49 -0200)]
u-boot-fslc: Update revision to 1b6aee7

This includes following backported changes from 2016.01 development tree:

1b6aee7 mx7dsabresd: add secure boot support
54021ea imx: hab: add mx7 secure boot support
eea967b imx: hab: use read_fuse for secure boot settings
cca95ea arm: imx: add secure boot fuse details for imx7 SoC
5ef219e arm: imx: add secure boot fuse details for imx6 SoC
b2842cc imx: hab: add secure boot fuse details
31454f2 imx: hab: rework unified rom section for mx7
9ac3e4b imx: hab: use unified rom section for mx6sx and mx6ul
20235de imx: hab: rework secure boot support for imx6
8574461 imx: cpu: move common chip revision id's
a0c37ef imx: mx6sabresd: add i.MX6DQP Sabresd support
93bcc5f imx35, flea3: add FIT image support
10ca202 ts4800: add CONFIG_OF_LIBFDT
4198580 arm, imx6, aristainetos2: set gpr register after reset
e06ab75 arm, imx: add some gpr register defines
8af784c driver: misc: add MXC_OCOTP Kconfig entry
a022163 imx-common: timer: clean up code

Besides those, it also include:

4238786 cgtqmx6eval: Fix SPL support

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-base.inc: Add imx-vpu to MACHINE_ARCH_FILTER
Carlos Rafael Giani [Thu, 5 Nov 2015 09:32:16 +0000 (10:32 +0100)]
imx-base.inc: Add imx-vpu to MACHINE_ARCH_FILTER

imx-vpu is machine specific due to #define macros for the type of i.MX6
SoC (quad, duallite ..)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolibimxvpuapi: Add new recipe
Carlos Rafael Giani [Thu, 5 Nov 2015 09:27:54 +0000 (10:27 +0100)]
libimxvpuapi: Add new recipe

This is a library for using the i.MX6 VPU. It is an alternative to
libfslvpuwrap, hosted on Github, and has an API that features several
improvements over libfslvpuwrap, which include:

* User-defined context information associated with input frames, which is
  passed on to corresponding output frames (to be able to identify which
  input frame produced which output frame)
* Groundwork for future DMA-BUF/BMM/ION/CMA allocator integration, using
  file descriptors instead of physical addresses
* Indicators for when it is safe to try to decode frames, which is
  critical in multi-threaded playback cases
* Simplified, higher-level JPEG en/decoding API, based on the VPU MJPEG
  codec; useful for picture viewing without the extra boilerplate for
  VPU-based en/decoding

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agogst1.0-fsl-plugin: fix FSL codecs, parser and vpuwrap detection
Javier Viguera [Mon, 2 Nov 2015 18:12:53 +0000 (19:12 +0100)]
gst1.0-fsl-plugin: fix FSL codecs, parser and vpuwrap detection

Patch gst1.0-fsl-plugin's configure script to add a trailing space in the
FSL_MM_CORE_CFLAGS and FSL_MM_CORE_LIBS variables between different
pkg-config executions.

These variables are used later to pass parameters to the compiler and
as they are not built correctly, the 'configure' script fails to detect
some of the functionality:

Disabled features:
    plugin: imxmp3enc
    plugin: vpu_wrap
    plugin: aiur
    plugin: beep

This was working well in previous versions of Yocto, because pkg-config
until v0.28 was adding that trailing space:

http://cgit.freedesktop.org/pkg-config/commit/?id=f26a505826acec6b1e1af8d1efdf959913421c3a

but this is no longer true, so the trailing space has to be added in the
configure script.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoRemove DirectFB support for i.MX6
Otavio Salvador [Thu, 29 Oct 2015 11:22:55 +0000 (09:22 -0200)]
Remove DirectFB support for i.MX6

The DirectFB project is dead upstream for a while and the backend is
deprecated so it is better to drop it and avoid new users to depend on
it and instead to focus in the current technologies for new projects.

This commit removes everything related to the DirectFB support so if
someone wish to revert it locally it can be easily done.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Daiane Angolini <daiane.angolini@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc-mx6-rt: Add new recipe
Dominic Sacré [Thu, 29 Oct 2015 12:20:07 +0000 (13:20 +0100)]
linux-fslc-mx6-rt: Add new recipe

This recipe is based on the now-deleted linux-imx-rt recipe, using the
same set of patches.

The linux-fslc-mx6 kernel is currently at upstream version 3.14.54, for
which no realtime patch has been released, but patch 3.14.51-rt52
applies cleanly.

Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-qoriq: fix the kernel hang issue with gcc-5.2
Zhenhua Luo [Tue, 10 Nov 2015 05:53:48 +0000 (13:53 +0800)]
linux-qoriq: fix the kernel hang issue with gcc-5.2

Backport a patch to fix the kernel hang issue when the uImage is built
by gcc-5.2.

The details can be found in
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=5e95235

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
(backported from meta-fsl-ppc:95d9f9aba81ccdae53011ac8c6fbbc2605b9cedc)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoRemove MCC library
Stefan Agner [Wed, 28 Oct 2015 14:18:25 +0000 (12:18 -0200)]
Remove MCC library

As we moved all the other MCC related recipes (mqxboot and
kernel-module-mcc), we should do so too with libmcc.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-imx-rt: Remove 3.14.28 version as it does not work with GCC 5.2
Otavio Salvador [Wed, 28 Oct 2015 14:18:25 +0000 (12:18 -0200)]
linux-imx-rt: Remove 3.14.28 version as it does not work with GCC 5.2

The 3.14.28 has not been fixed to work with the GCC 5.2 making it
unusable. Remove this version until someone does the upgrade to the
newer releases.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-imx-mfgtool: Remove leftover from 3.14.38 QP upgrade
Otavio Salvador [Wed, 28 Oct 2015 14:14:08 +0000 (12:14 -0200)]
linux-imx-mfgtool: Remove leftover from 3.14.38 QP upgrade

The 33615de (linux-imx: Upgrade to 3.14.38-6QP_beta release) did not
remove the linux-imx-mfgtool-3.14.28/mx6/defconfig file, keeping it
unused. Remove it now.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agou-boot-fslc: Update to revision 23575d2
Otavio Salvador [Wed, 28 Oct 2015 13:04:12 +0000 (11:04 -0200)]
u-boot-fslc: Update to revision 23575d2

This includes the Congatec QMX6 SPL support which is targetting
inclusion for U-Boot 2016.01 release. The following patches are
included:

23575d2 cgtqmx6eval: Add DFU support
112dfb1 iomux-v3: Take MX6D in consideration for imx_iomux_v3_setup_pad()
bf2ca16 cgtqmx6eval: Add SPL support
3bce451 cgtqmx6eval: Add fastboot support
77b786a cgtqmx6eval: Use SPI NOR to store the environment
f6bc396 cgtqmx6eval: Add SPI NOR flash support
540baa3 spi: Add SPI NOR protection mechanism
6e057b9 spi: sf_ops: Add SPI protection mechanism from the kernel
3f150e4 powerpc: Remove __ilog2_u64 and ffs4 from bitops
2feb00c compat: Remove is_power_of_2() definition
254550e nios2: Use the generic bitops headers
7611cdc nds32: Use the generic bitops headers
f9bfea4 openrisc: Use the generic bitops headers
d2f21eb sparc: Use the generic bitops headers
fde093e sandbox: Use the generic bitops headers
ef582a7 sh: bitops: Use the generic bitops headers
d068eae blackfin: bitops: Use the generic bitops headers
37d32df m68k: bitops: Use the generic bitops headers
902775c4 x86: bitops: Use the generic bitops headers
6ab6bf2 ARM: bitops: Use the generic bitops headers
8324309 include: Add generic bitops headers
5054c77 include: Add log2 header from the kernel

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoRemove Vybrid mcc related recipes
Otavio Salvador [Tue, 27 Oct 2015 11:15:49 +0000 (09:15 -0200)]
Remove Vybrid mcc related recipes

The mqxboot and mcc Linux kernel module requires the Timesys kernel to
work. The kernel is not in use in meta-fsl-arm anymore and in long
term the Vybrid will be using the remoteproc mechanism to share
resources across the different CPU, inside of the SoC.

As consequence of the update for the Linux 4.1 kernel, those recipes
ought to move for meta-fsl-arm-extra where 3rd party boards can keep
using them.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx7dsabresd: fix typo of mfgtool config
Tzu-Jung Lee [Fri, 23 Oct 2015 21:19:38 +0000 (21:19 +0000)]
imx7dsabresd: fix typo of mfgtool config

Signed-off-by: Tzu-Jung Lee <roylee17@currantlabs.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc (4.1): Update to latest version fa868c9e
Fabio Estevam [Sun, 25 Oct 2015 22:07:01 +0000 (20:07 -0200)]
linux-fslc (4.1): Update to latest version fa868c9e

Commit fa868c9e ("dts: imx6: fix sd card gpio polarity specified in
device tree") missed to be applied into 4.1.11 causing esdhc regressions
on mx6, so let's apply it so that we can have SD card working with
4.1.11.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-timesys: Remove unused kernel
Otavio Salvador [Sat, 24 Oct 2015 20:42:26 +0000 (18:42 -0200)]
linux-timesys: Remove unused kernel

The Vybrid reference board (twr-vf65gs10) now uses the linux-fslc
(4.1) kernel. This makes this kernel recipe unused. Remove it as it
has known security flaws, toolchain problems and is quite old.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agotwr-vf65gs10: move to Linux 4.1 based linux-fslc tree
Stefan Agner [Sat, 24 Oct 2015 05:49:34 +0000 (22:49 -0700)]
twr-vf65gs10: move to Linux 4.1 based linux-fslc tree

Change the default Kernel to the linux-fslc 4.1 kernel.

What seems to work:
- UART
- CPU/Memory (obviously) and L2 Cache
- ARM global timer as clock source
- Pinctrl/GPIO support
- SD-Card
- USB Host (according to bootlog, not tested)
- SoC internal RTC (SNVS RTC)
- Watchdog

Not tested, but should be working:
- Audio using SGTL5000 connected via SAI (hardware not available)
- DCU Framebuffer device (hardware not available)
- Ethernet PHYs (not sure, might be a hardware issue)

Known to be missing:
- Spansion Flash S25FL128S connected via QuadSPI
- MCC v1 and v2
- Touchscreen with TWR-LCD-RGB (according to Tony)

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc (4.1): Add defconfig for Vybrid SoCs
Stefan Agner [Sat, 24 Oct 2015 05:49:33 +0000 (22:49 -0700)]
linux-fslc (4.1): Add defconfig for Vybrid SoCs

Add an optimized defconfig for Vybrid which includes NFC (NAND) and
DCU (fbdev) support for Vybrid.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc (4.1): Update to latest version 622e3d41
Stefan Agner [Sat, 24 Oct 2015 05:49:32 +0000 (22:49 -0700)]
linux-fslc (4.1): Update to latest version 622e3d41

This updates linux-fslc to the latest version which includes
the Vybrid related patches.

622e3d4 video: fsl-dcu-fb: fix compile issue without PM_RUNTIME
b71a77f video: fsl-dcu-fb: fix pixel clock polarity
55a3f93 video: fsl-dcu-fb: add suspend/resume support
526c502 video: fsl-dcu-fb: fix signal polarity defines
3b5d7a3 ARM: dts: vf610-colibri: enable DCU framebuffer
0614d77 video: fsl-dcu-fb: support signal polarity configuration
202f53d video: fsl-dcu-fb: use native-display timing
1f632a8 video: fsl-dcu-fb: use num_timings to iterate timings
5801959 Documentation: DT: Add DCU framebuffer driver
5afe56f fb: Add DCU framebuffer driver for Vybrid VF610 platform
fdad0f6 ARM: clk: vf610: Add DCU and TCON clock support
0cdb0dc ARM: dts: vf610-twr: Enable DCU and TCON devices
ca0333a ARM: dts: vf610: Add DCU and TCON nodes
463b5a3 ARM: dts: vf-colibri: enable NAND flash controller
e439239 ARM: dts: vf610twr: add NAND flash controller peripherial
031328c mtd: nand: vf610_nfc: include missing pincrl/consumer.h
5812299 mtd: nand: vf610_nfc: add device tree bindings
48ea668 mtd: nand: vf610_nfc: add hardware BCH-ECC support
ce28974 mtd: nand: vf610_nfc: Freescale NFC for VF610, MPC5125 and others
4fc9a49 mtd: nand: add common DT init code

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc (4.1): Update to revision 14b3c25b
Fabio Estevam [Sat, 24 Oct 2015 20:42:48 +0000 (18:42 -0200)]
linux-fslc (4.1): Update to revision 14b3c25b

This merges the 4.1.11 stable release fixes into the fork.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoefl: fix build with current master meta-oe/oe-core
Andreas Müller [Thu, 22 Oct 2015 19:11:12 +0000 (21:11 +0200)]
efl: fix build with current master meta-oe/oe-core

fixes:

| In file included from /home/a.mueller/tmp/oe-core-glibc/sysroots/zeravarimx6q/usr/include/EGL/eglplatform.h:38:0,
|                  from /home/a.mueller/tmp/oe-core-glibc/sysroots/zeravarimx6q/usr/include/EGL/egl.h:39,
|                  from ../src/modules/evas/engines/gl_common/evas_gl_api_ext.h:7,
|                  from ../src/modules/evas/engines/gl_common/evas_gl_core_private.h:5,
|                  from modules/evas/engines/gl_generic/evas_engine.c:2:
| /home/a.mueller/tmp/oe-core-glibc/sysroots/zeravarimx6q/usr/include/EGL/eglvivante.h:266:2: error: #error "Platform not recognized"
|  #error "Platform not recognized"
|   ^

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
9 years agoimx6ulevk: Configure machine to use u-boot SPL
Daiane Angolini [Thu, 22 Oct 2015 16:10:22 +0000 (14:10 -0200)]
imx6ulevk: Configure machine to use u-boot SPL

At first, this machine was supported only by u-boot-imx U-Boot provider, however
as soon as u-boot-fslc included this support, the U-Boot provider was changed.

During the change of default U-Boot provider, the SPL configuration end up being
missed.

The needed SPL configuration is set up in this patch.

Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-base.inc: add default tune for Vybrid
Stefan Agner [Thu, 22 Oct 2015 06:48:49 +0000 (23:48 -0700)]
imx-base.inc: add default tune for Vybrid

All Vybrid SoC's use the Cortex-A5 CPU. Add an appropriate default
tune for the vf SoC.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimage_types_fsl.bbclass: Fix image generation for i.MX 6UltraLite
Felipe Provenzano [Wed, 21 Oct 2015 20:22:23 +0000 (18:22 -0200)]
image_types_fsl.bbclass: Fix image generation for i.MX 6UltraLite

When the i.MX 6UltraLite (mx6ul) was separated from the SoC family mx6
(commit 24396b28f0137464cd82b9a19f705c1db180ead2) it started to create
invalid sdcard images.

This is because of SDCARD_GENERATION_COMMAND no more being triggered.

The solution in this moment is add a mx6ul override for the
SDCARD_GENERATION_COMMAND definition.

Signed-off-by: Felipe Provenzano <felipeprovenzano@maxtrack.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agou-boot-fslc: Update to revision a4338ecf
Otavio Salvador [Wed, 21 Oct 2015 01:19:44 +0000 (23:19 -0200)]
u-boot-fslc: Update to revision a4338ecf

This merges the v2015.10 final changes onto the FSLC fork, bringing
the fixes done on top of the rc5 release.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoRemove unused patch files
Otavio Salvador [Tue, 20 Oct 2015 11:47:25 +0000 (09:47 -0200)]
Remove unused patch files

Those patch files were left orphan when upgrading the linux-imx and
u-boot-imx recipes, becoming unused. The removal of them cause no harm
and helps to keep the metadata clean.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimage_types_fsl.bbclass: Use FAT 32 for images larger than 512MB
Tzu-Jung Lee [Fri, 16 Oct 2015 18:12:00 +0000 (18:12 +0000)]
image_types_fsl.bbclass: Use FAT 32 for images larger than 512MB

Refers to the following commit of poky for more detail.

commit 722430a488f39bf583e4a557a254fb84fae4d0a7
Author: Darren Hart <dvhart@linux.intel.com>
Date:   Wed Dec 12 14:39:15 2012 -0800

    bootimg: Use FAT 32 for images larger than 512MB

        Fixes [YOCTO #2138]

Signed-off-by: Tzu-Jung Lee <roylee17@currantlabs.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agou-boot-fslc: Update to 982a6474 revision
Otavio Salvador [Thu, 15 Oct 2015 18:18:28 +0000 (15:18 -0300)]
u-boot-fslc: Update to 982a6474 revision

Update the U-Boot fork to a 2015.10-rc5 based version. This brings
several fixes for i.MX and Vybrid based systems. Mainly:

cf04ad3 arm: vf610twr: improve memory layout
d45fd01 colibri_vf: Fix bstlen field
e24bb2b mtd: nand: vf610_nfc: resync with upstream Linux version
f861f51 ls102xa: Fix reset hang
f532727 imx_watchdog: Add a header file for watchdog registers
040ef8f pcm052: fix MTD partitioning
61903b7 imximage: fix commands other than write_data
835c30e imximage: header.length of 4 is valid

Change-Id: Ifdb607d9a94ef594f3fe37d2b6388dc9a8268106
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimage_types_fsl.bbclass: Fail if a Device Tree file is missing
Otavio Salvador [Wed, 14 Oct 2015 18:26:53 +0000 (15:26 -0300)]
image_types_fsl.bbclass: Fail if a Device Tree file is missing

When generating the rootfs we need to include all the referenced
Device Tree files. The code were gracefully checking if the file
existed before building the image however the expected behavior is to
fail.

As consequence of this change, if someone is using a very old kernel
(no Device Tree based) and tries to generate an image, it will fail
until the machine definition is changed to not list Device Tree files
for installation.

Currently all machines supported by meta-fsl-arm BSP are consistent
for the default kernel in use however custom BSP may need to be
changed accordingly.

Change-Id: I548c65c61dfefe24154a455d097032b1598b14d3
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimage_types_fsl.bbclass: Refactor boot image duplicated code
Otavio Salvador [Thu, 15 Oct 2015 18:03:31 +0000 (15:03 -0300)]
image_types_fsl.bbclass: Refactor boot image duplicated code

The code which copies the boot scripts and Device Tree files is
duplicated across the different image types. This patch reworks this
code to avoid this duplication.

Change-Id: Ib9405067a5419e1b295dfac9e3d3bd9b896d424e
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc (4.1): Add Vybrid SoC to compatible machines
Stefan Agner [Thu, 15 Oct 2015 05:28:52 +0000 (22:28 -0700)]
linux-fslc (4.1): Add Vybrid SoC to compatible machines

Upstream Linux 4.1 supports the Vybrid SoC quite well, so enable
linux-fslc also for Vybrid SoC's.

Change-Id: I6745b67f4cc4b12ccc6f05754af9241e60731c6a
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-base.inc: Set a default provider for u-boot-mxsboot-native
Otavio Salvador [Wed, 14 Oct 2015 17:33:07 +0000 (14:33 -0300)]
imx-base.inc: Set a default provider for u-boot-mxsboot-native

The O.S. Systems Embedded Linux provides an alternative version of
U-Boot and, for completeness, an alternative recipe for
u-boot-mxsboot-native.

The provider, in imx-base.inc, had no default thus raising a
warning. This turns the u-boot-fslc-mxsboot-native as the default
provider but allows custom distributions to override it.

Change-Id: I46799f9ec744a074d95c383561cf0cbddb26e151
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoopencv: Use the 2.4 release only
Otavio Salvador [Wed, 14 Oct 2015 14:36:04 +0000 (11:36 -0300)]
opencv: Use the 2.4 release only

The opencv 3.0 is not tested and does not have the i.MX6 specific
patch ported so we disable it for the i.MX6 SoC from Quad, DualLite,
SoloX and SoloLite families. The 2.4 is used instead.

This fixes following warning:

,----
| NOTE: multiple providers are available for runtime opencv-samples (opencv-samples, opencv)
| NOTE: consider defining a PREFERRED_PROVIDER entry to match opencv-samples
`----

Change-Id: I2f897cdd31dcee9046ee7d28ef4dcadb154ae88c
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agomesa-gl: Blacklist the recipe for i.MX6 SoCs with GPU
Otavio Salvador [Wed, 14 Oct 2015 14:26:01 +0000 (11:26 -0300)]
mesa-gl: Blacklist the recipe for i.MX6 SoCs with GPU

The mesa-gl is not in sure for the i.MX6 SoC from Quad, DualLite,
SoloX and SoloLite families. The full featured, but trimmed, mesa is
used instead.

This fixes following warning:

,----
| NOTE: multiple providers are available for runtime libgl-mesa-dev (mesa, mesa-gl)
| NOTE: consider defining a PREFERRED_PROVIDER entry to match libgl-mesa-dev
| NOTE: multiple providers are available for runtime mesa-driver-swrast (mesa, mesa-gl)
| NOTE: consider defining a PREFERRED_PROVIDER entry to match mesa-driver-swrast
`----

Change-Id: I082b8f7a739e4ea3cfe5f1760c7163d118e9883c
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-qoriq: fix gcc 5.2 build issues of ls1021atwr
Zhenhua Luo [Fri, 16 Oct 2015 05:43:15 +0000 (13:43 +0800)]
linux-qoriq: fix gcc 5.2 build issues of ls1021atwr

Cherry picked patches from future kernel versions to fix gcc5.2 build
errors

(Port from meta-fsl-arm rev: d4da62e1972d78a0ebfa51e6bad232732144e4b2)

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
9 years agocryptodev-qoriq: Fix runtime providers so 'cryptodev' is not taken as provider
Zhenhua Luo [Tue, 13 Oct 2015 06:15:55 +0000 (14:15 +0800)]
cryptodev-qoriq: Fix runtime providers so 'cryptodev' is not taken as provider

QorIQ targets should use FSL custom cryprodev instead of the one provided by
poky, fix the runtime providers to ensure 'cryptodev-qoriq' is taken as
provider.

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot4240qds.conf: add missing quotation mark
Zhenhua Luo [Mon, 12 Oct 2015 13:06:31 +0000 (21:06 +0800)]
t4240qds.conf: add missing quotation mark

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc-mx6: Update revision to 964e5a3 revision
Otavio Salvador [Tue, 29 Sep 2015 21:22:22 +0000 (18:22 -0300)]
linux-fslc-mx6: Update revision to 964e5a3 revision

The 964e5a3 revision includes the 3.14.54 stable release fixes plus
following changes contributed by Gateworks:

7292dc7 ASoC: add tda1997x codec support
aa4ee3d ipu3: keep buffer offset aligned
05608b5 ipu3: fix stripe calculation
30c6d90 thermal: imx: allow crit_delta to be passed in via kernel param
334fc35 arm: dts: add handles to anatop regulators
c7a4d85 fec: Russell Kings corruption fix
0c2c11f net: fec: fix the warning found by dma debug
b5b53b5 pci: imx6: Add delay after LTSSM transition
6dba6b0 fec_main: add mb() before setting status
05ab2a6 net: fec: fix NULL pointer dereference in fec_enet_timeout_work
07465db drivers: video: mxc: Add support for interlace on hdmi out
3eca3ca imx: thermal: use CPU temperature grade info for thresholds
172ad49 media: pci: tw6869: Implement ENUM_FRAMESIZES ioctl
a7d429e media: pci: tw6869: add device registered dev info
957f3fa media: pci: tw6869: initial add
cb61124 ARM: dts: imx: fix invalid #address-cells value
ea53bf7f imx:busfreq: disable busfreq driver by default
e3e114d video: mxc: ldb: use native mode for display timings
fa6b13a net: igb: register mii_bus for SerDes w/ external phy
09359b6 net: igb: add phy read/write functions that accept phy addr
d6daeac net: igb: add i210/i211 support for phy read/write
00b2ceb video: mxc: add adv739x TV encoder
3117a93 mxc_capture: add tda1997x HDMI receiver video support
9348099 imx: add imx tda1997x i2s DAI support
b81d263 mfd: add tda1997x HDMI receiver support
dba225f mxc_capture: check for init_camera_struct failure
09f7c1f mxc_capture: add device registration info
1db12fc mxc_hdmi: present sysfs edid as binary data instead of ascii
bd0601d mxc_hdmi: enable overflow interrupt after initialization complete
d6cc9e6 mxc_ipuv3: show device name for overlay fb
a7f44be mxc_ipuv3: show ipu_id/disp_id of registered device
e9ea090 regulator: Add LTC3676 support
3e12a168 regulator: core: Fix the init of DT defined fixed regulators
154b8be hwmon: mma8451: add fxos8700 magnetometer support
e19d671 hwmon: mma8451: add fxos8700 accel support
760c31c cpufreq: imx: add a 25mV tollerance to the operating point voltages
ef2eda1 cpufreq: imx: show soc voltage when debugging
b205762d cpufreq: imx: init mutex before it can be used
04bc9ed input: edt-ft5x06 - add device-tree config for screen res and inversion
1ca89b6 Input: edt-ft5x06 - fix an i2c write for M09 support
dc5f6c9 Input: edt-ft5x06 - add a missing condition
f2854dd Input: edt-ft5x06 - add support for M09 firmware version
390394c Input: edt-ft5x06 - ignore touchdown events
6b60fb3 Input: edt-ft5x06 - adjust delays to conform datasheet
74bceb0 Input: edt-ft5x06 - add DT support
481da81 input: goodix: add invert and rotate support via device-tree
6297f18 input: goodix: add support for performing init sqequence
4746ef3 input: goodix: add device-tree support

For compatibility with the Vivante kernel module build, the following
commit has be also applied:

964e5a3 FSLC: Add busfreq-imx.h header for forward compatibility

Change-Id: I92b566943c7245751b484302f2320b42ec7d761c
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>