Can I switch the beagleboard / pandaboard firmwares?
显示 更早的评论
Is the firmware that gets downloaded with the targetinstaller any different from the stock linux arm image? (armel / armhf)
Can I download newer images and get simulink control my boards?
6 个评论
Murat Belge
2012-11-5
The firmware that gets downloaded for BeagleBoard and PandaBoard are both flavors of Ubuntu 11.10. While assembling these Linux images, we installed a number of Linux packages for MathWorks tools to work properly. You can in theory be able to do the same. Following packages / utilities are needed:
1. SSH server 2. GCC / MAKE native build tools 3. ALSA development libraries and ALSA utilities (required for audio blocks) 4. SDL 1.2 development library (required for video display block) 5. V4L2 module
Here is the Linux command line for BeagleBoard installation of these packages (on top of Ubuntu 11.10 console image from http://elinux.org/BeagleBoardUbuntu)
# sudo apt-get install xfce4 gdm xubuntu-artwork xserver-xorg-video-omap3
network-manager openssh-server openssh-client sshpass ntpdate kwrite libsdl1.2-dev konsole mplayer espeak build-essential
Note however that some features such as speak IP address (i.e. BeagleBoard / PandaBoard speaks its IP address when you press a GPIO button) will not work (this is a simple daemon that was developed in house). We also modified some settings in the Linux image. The most notable of these are:
1. Turn off reverse DNS lookup in SSH (add "UseDNS no" to /etc/ssh/sshd_config)
2. Turn off console logging in PandaBoard image
Murat Belge
2012-11-5
Note however that we only test the stock Linux images available via targetinstaller and hence may not be able to help you if you encounter an issue with your custom firmware.
Walter Roberson
2012-11-5
Murat, I think your comments are worth making into an Answer.
Mark
2013-1-17
I attempted to follow the install instructions for 12.04. I successfully compiled the mathworks generated code, however, it does not seem to perform the update function of my model. Model initialization completes fine. I checked this by editing the generated c files and putting in debugging printf statements. Any suggestions?
Rolfe Dlugy-Hegwer
2013-2-12
Mark, what do you mean by the update function? Are you talking about External mode, which lets you use the model on your host computer to update parameter values in the executable running on the BeagleBoard hardware?
Mark
2013-2-28
Rolfe, I created a test model called "beagleboardTest" and this is the function that does not get called:
/* Model update function */
void beagleboardTest_update(void)
{...}
The model is a simple model with a sine wave generator block feeding to a UDP block.
-Mark
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Image Acquisition in Simulink 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!