[RTEMS Project] #4773: Can't build ATSAM BSP
RTEMS trac
trac at rtems.org
Mon Dec 12 22:05:48 UTC 2022
#4773: Can't build ATSAM BSP
----------------------------+--------------------------------------
Reporter: Kyle Williams | Owner: (none)
Type: task | Status: new
Priority: normal | Milestone:
Component: bsps | Version: 6
Severity: normal | Keywords: atsam, bsps, quick start
Blocked By: | Blocking:
----------------------------+--------------------------------------
I have been trying to build the BSP for the ATSAM architecture following
the [https://docs.rtems.org/branches/master/user/start/bsp-build.html
Quick Start Guide] and the RSB BSP Build. However, the build keeps
failing.
RSB seems to be set up properly:
{{{
$ ../source-builder/sb-check
RTEMS Source Builder - Check, 6 (65f83cf973d6)
Environment is ok
}}}
And I can see the bset:
{{{
$ ../source-builder/sb-set-builder --list-bsets
RTEMS Source Builder - Set Builder, 6 (65f83cf973d6)
Examining: config
Examining: ../source-builder/config
Examining: ../bare/config
Examining: config
...
7/rtems-x86_64.bset
bsps/atsamv.bset
bsps/beagleboneblack.bset
...
}}}
This is the command I'm trying to use:
{{{
$ ../source-builder/sb-set-builder --prefix=$HOME/qs/rtems/6 --target=arm-
rtems6 --with-rtems-bsp=atsamv --with-rtems-tests=yes 6/rtems-kernel
RTEMS Source Builder - Set Builder, 6 (65f83cf973d6)
Build Set: 6/rtems-kernel
config: tools/rtems-kernel-6.cfg
package: rtems-kernel-bsps-1
building: rtems-kernel-bsps-1
error: building rtems-kernel-bsps-1
Build FAILED
See error report: rsb-report-rtems-kernel-bsps-1.txt
error: building rtems-kernel-bsps-1
Build Set: Time 0:00:00.301361
Build FAILED
}}}
I have also tried:
{{{
--with-rtems-bsp=atsam
}}}
and:
{{{
--with-rtems-bsp=arm
}}}
This is the error from the log file mentioned:
{{{
building: rtems-kernel-bsps-1
run: /bin/sh -ex /home/kyle/qs/src/rsb/rtems/build/rtems-kernel-bsps-1
/do-build
+ export SB_ORIG_PATH=/home/kyle/.vscode-
server/bin/5235c6bb189b60b01b1f49062f4ffa42384f8c91/bin/remote-
cli:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Program
Files (x86)/NVIDIA
Corporation/PhysX/Common:/mnt/c/windows/system32:/mnt/c/windows:/mnt/c/windows/System32/Wbem:/mnt/c/windows/System32/WindowsPowerShell/v1.0/:/mnt/c/windows/System32/OpenSSH/:/mnt/c/Program
Files (x86)/Windows Kits/8.1/Windows Performance Toolkit/:/mnt/c/Program
Files/Microchip/xc32/v4.20/bin:/mnt/c/Program
Files/Docker/Docker/resources/bin:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program
Files/Microsoft VS Code/bin:/mnt/c/Program Files/Git/cmd:/mnt/c/Program
Files/TortoiseSVN/bin:/mnt/c/Program Files/nodejs/:/mnt/c/Program
Files/gs/gs9.56.1/bin:/mnt/c/Users/kyle.williams/AppData/Local/Microsoft/WindowsApps:/mnt/c/tools/neovim
/nvim-win64/bin:/mnt/c/Users/kyle.williams/AppData/Roaming/npm:/snap/bin
/home/kyle/qs/src/rsb/rtems/build/rtems-kernel-bsps-1/do-build: 4: export:
(x86)/NVIDIA: bad variable name
shell cmd failed: /bin/sh -ex /home/kyle/qs/src/rsb/rtems/build/rtems-
kernel-bsps-1/do-build
error: building rtems-kernel-bsps-1
}}}
What am I doing wrong here? And where in the manual is this explained?
--
Ticket URL: <http://devel.rtems.org/ticket/4773>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list