RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
$ repo sync -j4 --no-clone-bundle ( common for both Emulator and Raspberry Pi )
Note |
---|
|
For Emulator:
$ source meta-cmf-bsp-emulator/setup-environment
...
- ${HOME}/RaspberryPi/build-raspberrypi-rdk-broadband/tmp/deploy/images/raspberrypi-rdk-broadbandbroadband/rdkb-generic-broadband-image-raspberrypi-rdk-broadband.rpi-sdimg
Example:
.../build-raspberrypi-rdk-broadband/tmp/deploy/images/raspberrypi-rdk-broadband/rdkb-generic-broadband-image_default_20200206062343.rootfs.rpi-sdimg
...
Pictorial representation of changes in memfd.c file:
Gliffy Diagramdrawio size 1200diagramName name ERR1_Emu.drawio size 1200 revision 1 pagePin 7
Patch file for changes in memfd.c attached below:
...
draw.io Diagram | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Pictorial representation of changes in ucresolv_1.0.bb file:
draw.io Diagram diagramName Gliffy Diagram size 1200 name ERR2_Emu.drawio size 1200 revision 1 pagePin 10
Patch file for changes in ucresolv_1.0.bb attached below:
Pictorial representation of Path for changes in ucresolv_1.0.bb file:
draw.io Diagram border true diagramName __mbstate_t.h simpleViewer false widthlinks auto tbstyle top lbox true diagramWidth 426 revision 1
...
Pictorial representation of changes in create_inode.c file:
Gliffy Diagramdrawio sizediagramName 1200 name ERR3_Emu.drawio size 1200 revision 1 pagePin 3
Patch file for changes in create_inode.c attached below:
...
draw.io Diagram border true diagramName Create_inode.c simpleViewer false width links auto tbstyle top lbox true diagramWidth 121 revision 1
...
Pictorial representation of changes in memfd.c file:
Gliffy Diagramdrawio sizediagramName 1200 name ERR1_Emu.drawio size 1200 revision 1 pagePin 7
Patch file for changes in memfd.c attached below:
...
draw.io Diagram border true diagramName __mbstate_t.h Rpi simpleViewer false width links auto tbstyle top lbox true diagramWidth 121 revision 1
...
Patch file for changes in ucresolv_1.0.bb attached below:
Gliffy Diagramdrawio sizediagramName 1200 name ERR2_Emu.drawio size 1200 revision 1 pagePin 10
Pictorial representation of Path for changes in ucresolv_1.0.bb file:
draw.io Diagram border true diagramName Ucresolve simpleViewer false widthlinks auto tbstyle top lbox true diagramWidth 401 revision 1
...
Pictorial representation of changes in create_inode.c file:
Gliffy Diagramdrawio sizediagramName 1200 name ERR3_Emu.drawio size 1200 revision 1 pagePin 3
Patch file for changes in create_inode.c attached below:
...
draw.io Diagram border true diagramName Create_inode.c simpleViewer false width links auto tbstyle top lbox true diagramWidth 121 revision 1
<If applicable, describe any special circumstances, actions, exceptions, etc., that should be considered for troubleshooting.>
Error
/home/amrita/Desktop/Emu_Feb3/build-raspberrypi3-64-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/rules.mak:59: recipe for target 'util/memfd.o' failed
| make: *** [util/memfd.o] Error 1
| make: *** Waiting for unfinished jobs....
| /home/amrita/Desktop/Emu_Feb3/build-raspberrypi3-64-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/util/path.c: In function ‘follow_path’:
| /home/amrita/Desktop/Emu_Feb3/build-raspberrypi3-64-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/util/path.c:126:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
| if (!cursor->populated_entries)
| ^~
| /home/amrita/Desktop/Emu_Feb3/build-raspberrypi3-64-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/util/path.c:128:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
| cursor = *source;
| ^~~~~~
| WARNING: /home/amrita/Desktop/Emu_Feb3/build-raspberrypi3-64-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/temp/run.do_compile.8435:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /home/amrita/Desktop/Emu_Feb3/build-raspberrypi3-64-rdk-broadband/tmp/work/x86_64-linux/qemu-native/2.7.0-r1/temp/log.do_compile.8435)
ERROR: Task (virtual:native:/home/amrita/Desktop/Emu_Feb3/openembedded-core/meta/recipes-devtools/qemu/qemu_2.7.0.bb:do_compile) failed with exit code '1'
Solution:
Removed 1. #ifdef CONFIG_MEMFD 2. #include <sys/memfd.h> 3. #elif defined CONFIG_LINUX and added 1.#include <sys/mman.h> 2.#if defined CONFIG_LINUX && !defined CONFIG_MEMFD in /x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/util/memfd.c
Pictorial representation of changes in memfd.c file:
draw.io Diagram diagramName ERR4.drawio size 1200 revision 1
Patch file for changes in memfd.c attached below:
Path for changes in memfd.c file:
draw.io Diagram border true diagramName Mem simpleViewer false links auto tbstyle top lbox true diagramWidth 241 revision 1
Contact | Organization | Phone | Role | |
Rajkumar Narayanan | L&T Technology Services | Nill | rajkumar.narayanan@ltts.com | Program Manager |
Contact | Organization | Phone | Role | |
<Contact Name> | <Organization> | <Phone> | <Email> | <Role> |