aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-04-19qemu_qoriq: import ptest patches from pokyTing Liu
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>
2016-04-19qemu-qoriq: empty not supported PACKAGECKGTing Liu
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>
2016-04-19qemu-qoriq: update to commit 8362a29Ting Liu
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>
2016-04-19qemu-qoriq: enable back libusb through PACKAGECONFIGLaurentiu Tudor
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>
2016-04-19pkc-host: set COMPATIBLE_MACHINE as qoriq-ppcTing Liu
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>
2016-04-19pkc-host: do not install cliCristian Stoica
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>
2016-04-19pkc-host: update to commit 26df0a3Ting Liu
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>
2016-04-19kernel-module-pkc-host: rename back to pkc-hostTing Liu
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>
2016-04-19pkc-firmware: update to commmit 32804a0Ting Liu
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>
2016-04-19rcw: update COMPATIBLE_MACHINE as qoriqTing Liu
Signed-off-by: Ting Liu <ting.liu@nxp.com>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19rcw: update to commit 521008fTing Liu
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>
2016-04-19rcw: swap qspi binary in do_install_appendTing Liu
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>
2016-04-19apptrk: update to commit 4216af3Ting Liu
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>
2016-04-19skmm-host: update to commit 41a448dTing Liu
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>
2016-04-19kernel-module-skmm-host: rename back to skmm-hostTing Liu
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>
2016-04-19skmm-ep: add ARCH in EXTRA_OEMAKETing Liu
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>
2016-04-19ceetm: install ceetm.ko into /lib/modules/Ting Liu
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>
2016-04-19ceetm: remove useless do_configure_preappendTing Liu
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>
2016-04-19ceetm: update to commit 2c79d0bTing Liu
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>
2016-04-19kernel-module-ceetm: rename back to ceetmTing Liu
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>
2016-04-19ceetm: update COMPATIBLE_MACHINE for t104xTing Liu
Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19ar: update COMPATIBLE_MACHINE for t104xTing Liu
Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19t1042d4rdb-64b: build usdpaa/usdpaa-shared-interfaces dtbTing Liu
Signed-off-by: Ting Liu <ting.liu@nxp.com>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19t1042d4rdb: build usdpaa/usdpaa-shared-interfaces dtbTing Liu
Signed-off-by: Ting Liu <ting.liu@nxp.com>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19t1040d4rdb-64b: build usdpaa/usdpaa-shared-interfaces dtbTing Liu
Signed-off-by: Ting Liu <ting.liu@nxp.com>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19t1040d4rdb: build usdpaa/usdpaa-shared-interfaces dtbTing Liu
Signed-off-by: Ting Liu <ting.liu@nxp.com>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19ls1021atwr: support QSPI and IFC in SD bootTing Liu
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>
2016-04-19t4160qds: build secure-boot u-bootTing Liu
Signed-off-by: Ting Liu <ting.liu@nxp.com>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19b4860qds-64b: remove UBOOT_MACHINES settingTing Liu
Signed-off-by: Ting Liu <ting.liu@nxp.com>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19t1023rdb-64b: build nor u-bootTing Liu
Signed-off-by: Ting Liu <ting.liu@nxp.com>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19t1023rdb: build nor u-bootTing Liu
Signed-off-by: Ting Liu <ting.liu@nxp.com>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-qoriq: support kernel delta defconfig managed in recipe folderZhenhua Luo
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-qoriq: update LOCALVERSIONTing Liu
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>
2016-04-19linux-qoriq: save the merged .config as ${WORKDIR}/defconfigTing Liu
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>
2016-04-19linux-qoriq: update to commit 43cecdaTing Liu
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>
2016-04-19u-boot-qoriq: avoid changing building directoryTing Liu
Signed-off-by: Ting Liu <ting.liu@nxp.com>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19u-boot-qoriq: fix indentTing Liu
Signed-off-by: Ting Liu <ting.liu@nxp.com>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19u-boot-qoriq: exit if UBOOT_CONFIG not supportedTing Liu
Signed-off-by: Ting Liu <ting.liu@nxp.com>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19u-boot-qoirq: update to commit eb3d4fcTing Liu
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>
2016-04-19u-boot-qoriq: remove external-fsl referenceTing Liu
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>
2016-04-19usdpaa-apps: use in6_* macros from glibc instead of kernelTing Liu
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>
2016-04-19usdpaa-apps: fix the inline function definition with gcc 5.xTing Liu
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>
2016-04-19udev-rules-qoriq: remove useless automount.rulesTing Liu
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>
2016-04-19skmm-ep: fix the inline function definition with gcc 5.xZhenhua Luo
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>
2016-04-19u-boot-ls1: The finale u-boot binary is not named as u-boot.bin for sdcard/spiChunrong Guo
Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19barebox: update to 2015.10Alexandre Belloni
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>
2016-04-19xf86-video-imxfb-vivante: Stop using swaprep.h headerOtavio Salvador
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>
2016-04-19xf86-video-imxfb-vivante: Stop using Git to write local versionOtavio Salvador
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>
2016-04-19xf86-video-imxfb-vivante: Move patches attribution to the recipeOtavio Salvador
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>
2016-04-19xf86-video-imxfb-vivante: Stop running 'make' in debug modeOtavio Salvador
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>