u-boot instead of barebox in imx6-phyBOARD mira - arm

I am trying to load u-boot in imx6-phyBOARD mira which is having Barebox as bootloader. I have generated a custom u-boot image referring imx porting guide. Now when I try to run u-boot.imx/u-boot.bin using 'bootm' command then it is getting stuck.
What could be the probable reason?
Is there any other method rather than 'bootm' to load u-boot from barebox?
Can I get some guidance and tips to make this successful?
Thankyou.

Related

net/rime.h error using Cooja, how can I install it but not just download it?

I am trying to do a simple simulation in Cooja (literally the example on the Contiki website here).
However I have an error message linked to my #include "net/rime.h", Cooja outputs the following message while compiling:
fatal error: net/rime.h: No such file or directory
I thought that it came with Contiki when I've installed contiki-ng following the procedure on the official website. My quick fix was to download the file from the github repository and store it in my active directory. However I find it quite ugly, is there a way to install this library ? Because I haven't found a way yet.
Thanks a lot.
It's a question close to this one.
Which kind of method are you using to start Cooja? Directly on the SO? Over Docker?
I recommend you de Docker way, and remember to apply the command
git submodule update --init --recursive
after cloning the git repository.
Also, if you are using Docker, check if the binding of the Contiki folders between de Host and the Container are correctly made.

Alsa tools not found on buildroot

I am trying to set a buildroot install to build an mp3 player and the issue I am encountering right now is that aplay that I have enabled in menuconfig is not available on my card flashed.
I am using buildroot-2020.02.8.
When looking for them in my BR folder I can find :
./build/alsa-utils-1.2.1/aplay
./build/alsa-utils-1.2.1/aplay/aplay
but nothing appears in the target. In my defconfig I have :
BR2_PACKAGE_ALSA_UTILS=y
BR2_PACKAGE_ALSA_UTILS_ALSACONF=y
BR2_PACKAGE_ALSA_UTILS_ACONNECT=y
BR2_PACKAGE_ALSA_UTILS_ALSALOOP=y
BR2_PACKAGE_ALSA_UTILS_ALSAUCM=y
BR2_PACKAGE_ALSA_UTILS_ALSATPLG=y
BR2_PACKAGE_ALSA_UTILS_AMIDI=y
BR2_PACKAGE_ALSA_UTILS_AMIXER=y
BR2_PACKAGE_ALSA_UTILS_APLAY=y
BR2_PACKAGE_ALSA_UTILS_APLAYMIDI=y
BR2_PACKAGE_ALSA_UTILS_ARECORDMIDI=y
BR2_PACKAGE_ALSA_UTILS_ASEQDUMP=y
BR2_PACKAGE_ALSA_UTILS_ASEQNET=y
BR2_PACKAGE_ALSA_UTILS_BAT=y
BR2_PACKAGE_ALSA_UTILS_IECSET=y
BR2_PACKAGE_ALSA_UTILS_SPEAKER_TEST=y
But in the target folder I can't find any mention of these tools. And when the card is flashed, trying to run any of these as root return "not found".
Any advice on what I sould do to try to get them?
edit: added the buildroot version used.
Thanks to this thread I have found a solution. It seems that is was because I had first tried to install only alsamixer (which was working), then later other alsa tools. The first configuration was kept in memory and not changed.
I have been able to fix the issue by running :
make alsa-utils-dirclean

Unable to load dynamic library php_sqlsrv_73_nts_x86.dll is not a valid Win32 application

So I install php_sqlsrv_73_nts_x86.dll and php_pdo_sqlsrv_73_nts_x86.dll into my ext folder and add the following line to my php.ini:
extension=php_sqlsrv_73_nts_x86.dll
extension=php_pdo_sqlsrv_73_nts_x86.dll
I get this warning on every php script I run:
Unable to load dynamic library 'php_sqlsrv_73_nts_x86' (tried: C:\xampp\php\ext\php_sqlsrv_73_nts_x86 (%1 is not a valid Win32 application.)
PHP Startup: Unable to load dynamic library 'php_pdo_sqlsrv_73_nts_x86' (tried: C:\xampp\php\ext\php_pdo_sqlsrv_73_nts_x86 (%1 is not a valid Win32 application.)
What am I doing wrong?
Some additional info;
PHP Version = 7.3.2,
System = Windows 10,
Architecture = x86,
And I have referred to this Unable to load dynamic library php_sqlsrv_7_nts.dll is not a valid Win32 application but it didnt help me
Edit 1, I have tried removing the _x86 tag in my extension as well, but that did not help me at all.
So after tinkering with this for a few hours, I found out that by reinstalling a 64bit XAMPP and using php_sqlsrv_73_nts_x64.dll and php_pdo_sqlsrv_73_nts_x64.dll worked for me. Im not sure as to why, but I guess that's a solution for now.
i use like you and i also have errors
but when use ts version like :
php_sqlsrv_73_ts_x64.dll and php_pdo_sqlsrv_73_ts_x64.dl
and i have not any error.

What does Bad EIP value error means?

I've been writing some kernel module recently. For some modules everytime i insert them or remove them a huge kernel trace is shown on screen. The errors are somewhat like
ERROR: Bad EIP value.
or
ModuleName is tainted.
What does this imply. Any help is appreciated.
The Extended Instruction Pointer exists in x86 processors, but is somehow related to a missing WiFi driver, it seems:
Yesterday I could not reach this site and read your reactions, so I
experimented with several Linux versions: Xubuntu, Slacko-Puppy 5,4
Firefox ,Puppy Akita Beta and LinuxMintMaya. And with all the same
result, i.e. no result,
But in the last install - LinuxMintMaya - I discovered the problem,
which is be found here: http://www.linuxmint.com/rel_maya.php It
tells:
Boot hangs on systems using b43 wireless cards
So after entering this command
Code: sudo apt-get install firmware-b43-installer
LinuxMintMaya works.
To boot, the Mint page says:
An upstream issue in the kernel prevents Linux Mint 13 from booting on
computers with b43 wireless cards. If you're in this situation, try
the following:
To boot the live DVD, choose the "Compatibility mode" or add the
following kernel argument to the boot options: b43.blacklist=yes
Install Linux Mint on the hard drive If not present already, in Grub,
modify the boot options to add: b43.blacklist=yes Install the b43
firmware on the system

Meteor.js on Samsung ARMv71 Chromebook Series 3?

While there's no official support for Meteor.js on ARM architectures, I'm disappointed that my (new and lovely) Chromebook can't run Meteor within Unity (ubuntu 12.04 LTS) chroot via crouton - http://goo.gl/ilSFSz
I've tried the suggestions for the Raspberry Pi ARM here - https://github.com/meteor/meteor/issues/442 - and for the most part, I'm using node v0.8.24 outlined here - https://github.com/meteor/meteor/blob/devel/scripts/generate-dev-bundle.sh - and the latest error I received was a Assertion Error: Unsupported architecture when building mongodb here, line 298 in ../mongo/src/third_party/v8/SConscript:
processor = env[PROCESSOR_ARCHITECTURE]
And ARMv71 isn't listed, so I wondered if anyone has found a way to get Meteor.js to run natively on their armv71 chromebook? I would prefer not to use cloud9 or nitrous.io, or amazon ec2 to do meteor development on the Chromebook. Thanks in advance.
If you know sh or bash you could try modifying the meteor install script for the ARM architecture.
As I know from other users, our meteor universal arm fork should work for you.
https://github.com/4commerce-technologies-AG/meteor
Cheers
Tom

Resources