aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-09-22zephyr-kernel: update URLsmortyJon Mason
URLs no longer point to a valid location. Update to the current location. Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2017-04-03siteinfo-zephyr.bbclass: refactor siteinfoJuro Bystricky
Move all SITEINFO_EXTRA_DATAFUNCS and PACKAGEQA_EXTRA_MACHDEFFUNCS from various tune files (tune-arc.inc, tune-iamcu.inc, tune-nios2.inc) into a a new siteinfo-zephyr.bbclass file. Although the original code did not result in any obvious errors, in fact it did cause some multiconfig problems. [YOCTO#11166] Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-04-03zephyr-flash-dfu.bbclass: fixed error messageJuro Bystricky
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-03-11README.txt: updatedJuro Bystricky
Added link to: https://wiki.yoctoproject.org/wiki/TipsAndTricks/BuildingZephyrImages Corrected a few places. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-03-11zephyr-kernel-common.inc: modify ZEPHYR_MAKE_ARGSJuro Bystricky
Pass ARCH as well. Remove V=1, if needed can be added in a specific recipe. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-03-11MACHINE*: specify ARCH for each MACHINEJuro Bystricky
Some Makefiles may need to have ARCH set. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-03-11gcc (ARC): upgrade to 6.3.0Juro Bystricky
Upgrade needed to avoid some compiler bugs with -Os. https://jira.zephyrproject.org/browse/ZEP-1882 Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-03-08zephyr-kernel-test.inc: remove some testsJuro Bystricky
Removed tests not present in Zephyr 1.7. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-03-08zephyr-peripheral-esp.bb: GATT/ESP BLE sample codeJuro Bystricky
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-03-08zephyr-kernel-ser_1.7.bb: pack Zephyr 1.7 sourcesJuro Bystricky
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-03-08zephyr-kernel.inc: also support Zephyr 1.7.0Juro Bystricky
Build kernel tests suite and kernel samples based on PREFERRED_VERSION_zephyr-kernel Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-03-06zephyr-hci-uart.bb: Zephyr BLE stackJuro Bystricky
Builds an image for Arduino 101 board needed to be flashed for its nRF51 Bluetooth LE controller. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-03-06arduino-101-ble: new MACHINEJuro Bystricky
Support for Arduino BLE ARM core. The core is based on Cortex-M0, so a corresponding tune/toolchain is required as well. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-03-06zephyr-ipm.bb: Zephyr sample for IPMJuro Bystricky
The recipe to build IPM sample demonstrating messaging between ARC core and IAMCU core on Arduino 101. The recipe can build two different images, based on BOARD. Useful to demonstrate multiconfig. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-03-06zephyr-flash-dfu.bbclass: add reset & retries supportJuro Bystricky
Arduino-101 needs to be reset in order to enter "flash mode". The flash window is about 5 seconds. If the flashing fails, prompt the user to press reset. After the device is flashed, it remains in the "flash mode" until it is reset again, so it needs to enter the flash mode via reset only once even if we flash images for multiple cores. So we only prompt for reset once. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-02-12arduino-101: Support for flashing via USBJuro Bystricky
Implement a class allowing flashing Arduino-101 using dfu-util. User needs to have dfu-utils installed on the host machine. All three cores supported (x86, ARM, ARC). Sample usage: $ MACHINE=arduino-101 bitbake xxx $ MACHINE=arduino-101 bitbake xxx -c flash_usb Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-02-04testimage: performace improvementsJuro Bystricky
Refactored processing of QEMU logs. The original code read QEMU logs every 30 seconds, which resulted in each test taking at least 30 seconds to finish. In reality, most tests take only a few seconds. Although the tests run in parallel, on systems with only a few CPUs this can make a very noticable difference. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-02-04zephyr-qemuboot.bbclassJuro Bystricky
A bbclass used to generate qemuboot.conf and various symbolic links needed to properly run "runqemu". Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-02-04qemu-*.conf: support for qemubootJuro Bystricky
Add support to run qemus using runqemu. All qemu machines will inherit the bbclass "zephyr-qemuboot", which is responsible to set up everything that is needed in order to use "runqemu". Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-02-04zephyrtest.bbclass: refactorJuro Bystricky
Only keep code/variables related to individual test/package names. Moved ZEPHYR_TEST_SRCDIR into zephyr-kernel.inc as it is zephyr kernel version specific. Moved ZEPHYR_MAKE_OUTPUT into zephyr-kernel-common.inc as it is as it is not zephyr test specific but applicable to all zephyr images. Additional minor cleanup. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-30zephyr-kernel-test-all: implement cleanJuro Bystricky
support for: $ bitbake zephyr-kernel-test-all -c clean Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-30zephyr-getchar: minor cleanupJuro Bystricky
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-30zephyr-philosophers: use common naming conventionsJuro Bystricky
Derive the name of the resulting image based on PN. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-30zephyr-kernel-common.inc: also build qemus if neededJuro Bystricky
Also build qemus if a recipe is built for a MACHINE=qemuXXX. Allow inheriting classes based on recipe context. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-24README.txt: Updated for qemu-nios2Juro Bystricky
Also replaced all "qemux86" with "qemu-x86" Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-23zephyr-kernel-test.inc: exclude tests not suitable for Nios2Juro Bystricky
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-23qemuzephyrrunner.py: support for qemu-nios2Juro Bystricky
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-23qemu-nios2: New MACHINEJuro Bystricky
Added support for Zephyr qemu-nios2 BOARD. Nios2 CPU is not supported natively by upstream QEMU, so a Nios2 specific patch needs to be applied. [YOCTO#10660] Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-19meta-zephyr: newlib supportJuro Bystricky
This patch adds newlib libraries for cortex-m3, x86, IAMCU and ARC toolchains. [YOCTO#10662] Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-18zephyr.bbclass: support for image configurationJuro Bystricky
New class to support commands such as: $ MACHINE=xxx bitbake yyy -c menuconfig $ MACHINE=xxx bitbake yyy -c devshell Kernel options are typically configured via menuconfig. The file "prj.conf" must be edited manually, hence the need for devshell. Once in devshell, user can use their favorite editor to edit the file. For proper operation, these two variables need to be set in recipes: ZEPHYR_SRC_DIR : path to the source, typically place with prj.conf ZEPHYR_BASE: Zephyr kernel tree location [YOCTO#10657] Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-18gcc (ARC): removed unneeded patchesJuro Bystricky
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-18qemu-x86.conf: New MACHINEJuro Bystricky
MACHINE definition for Zephyr BOARD qemu_x86 Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-18qemu-cortex-m3.conf: updated NAME/DESCRIPTIONJuro Bystricky
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-10zephyr-philosophers: also deploy binary imageJuro Bystricky
Deploy both binary and ELF images in order to make it easier to flash the image on an actual board, such as Arduino-101. (Some flashing tools require binary image) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-10arduino-101-sss: New MACHINEJuro Bystricky
Added support for Zephyr arduino_101_sss board (ARC core). The support requires ARC toolchain. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-10meta-zephyr: Support for ARC toolchainJuro Bystricky
Added support for ARC toolchains: binutils, gcc, libgcc. These are not upstreamed, but taken from Symantec ARC repos. [YOCTO#10659] Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-10arduino-101: New MACHINEJuro Bystricky
Support for Arduino-101 board, Intel MCU CPU. This board needs IAMCU cross-compiler. [YOCTO#10658] Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-10meta-zephyr: Select BOARD via MACHINEJuro Bystricky
The meaning of BOARD in Zephyr environment is equivalent to MACHINE in Yocto environment. Specifying MACHINE will implicitly determine cross-compiler toolchain as well. There is 1:1 correspondence between Zephyr BOARD and Yocto MACHINE so a lookup table BOARD:MACHINE may be needed in the future, presently all that is required is to convert "-" to "_". (Dash to undersocre) This means that in order to support a new Zephyr board, we simply need to create a corresponding MACHINE.conf file. [YOCTO#10894] Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-10zephyr-kernel: refactor common codeJuro Bystricky
Several changes to simplify recipes by refactoring common code. The code common to all Zephyr builds is now in the file "zephyr-kernel-common.inc". Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-10qemu-cortex-m3: new MACHINEJuro Bystricky
Various changes to properly handle QEMU for Cortex M3. This was solved by creating a new MACHINE qemu-cortex-m3. Specifying MACHINE=qemu-cortex-m3 will select proper tuning for the cross-compiler. Typical usage: $ MACHINE=qemu-cortex-m3 bitbake zephyr-philosophers Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-04COPYING.MIT: Default licenseJuro Bystricky
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-04zephyr-getchar_git: sample programJuro Bystricky
Sample program for out-of-tree Zephyr images development. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-04zephyr-kernel-src: pack Zephyr sourceJuro Bystricky
This recipe obtains the Zephyr source code tree. The idea is to use this tree for out-of-tree Zepyhyr images via DEPENDS += "zephyr-kernel-src" Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-04zephyr-philosophers: use ZEPHYR_GCC_VARIANT="yocto"Juro Bystricky
Setting ZEPHYR_GCC_VARIANT="yocto" will result in images being built by our own Makefile: Makefile.toolchain.yocto The Makefile already contains LIB_INCLUDE_DIR definition, so it can be removed from this recipe. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-04zephyr-image.inc: use ZEPHYR_GCC_VARIANT="yocto"Juro Bystricky
Setting ZEPHYR_GCC_VARIANT="yocto" will result in images being built by our own Makefile: Makefile.toolchain.yocto The Makefile already contains LIB_INCLUDE_DIR definition, so it can be removed from this file. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-04zephyr-kernel.inc: use own MakefileJuro Bystricky
Zephyr RTOS uses the environmental variable ZEPHYR_GCC_VARIANT to determine which Makefile to use to build images. This allows different Makefiles for different toolchains, so the toolchains can co-exist. Rather than patching the included Makefile.toolchain.zephyr, we use our own file Makefile.toolchain.yocto. This Makefile will be used as long as Zephyr recipes set: export ZEPHYR_GCC_VARIANT="yocto" (Also removed some BOARD definitions) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-04zephyr-conf: various changesJuro Bystricky
Removed the need for "poky.conf", as a consequence some variables previously defined via poky.conf needed to be re-defined: TARGET_VENDOR, TCLIBCAPPEND Moved here default BOARD definitions. Defined DISTRO_VERSION. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-04README.txt: initial versionJuro Bystricky
[YOCTO#10655] Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-04zephyr-philosophers: cleanupJuro Bystricky
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-01-04zephyr-image.inc: cleanupJuro Bystricky
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
='v6.6/standard/base'>v6.6/standard/base Linux Embedded Kernel - tracks the next mainline releaseGrokmirror user
aboutsummaryrefslogtreecommitdiffstats
path: root/arch/riscv/kernel/traps_misaligned.c
blob: c2ed4e689bf96d5d31a081ce4ab04483599dac8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647