unknown command 'boota' try 'help' - error while booting u-boot image - u-boot

I am a beginner in u-boot. I am trying to boot Sabre SD imx6Quad board. I build u-boot source code to get u-boot-imx6qp.imx. Then I flashed the required images using MFGTools and tried booting the board from SD Card. I am getting this error:
Unknown Command 'boota' try 'help'.

Related

google coral dev board wont boot from usb otg

I am trying to use serial download with the google coral dev board with uuu, imx_usb_loader, or similar. I have a working uboot, but it does not appear to have the necessary usb functionality built into the spl because I get this error.
U-Boot SPL 2022.04 (Sep 01 2022 - 02:38:53 -0500)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3200MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
SPL: Unsupported Boot Device 12
SPL: failed to boot from all boot devices (err=-6)
### ERROR ### Please RESET the board ###
I have the following added to my uboot config.
CONFIG_CMD_FASTBOOT=y
CONFIG_USB_FUNCTION_FASTBOOT=y
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_DOWNLOAD=y
CONFIG_USB_GADGET_MANUFACTURER="FSL"
CONFIG_USB_GADGET_VENDOR_NUM=0x0525
CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
CONFIG_USB_DWC3=y
CONFIG_FSL_FASTBOOT=y
CONFIG_FASTBOOT=y
CONFIG_FASTBOOT_BUF_ADDR=0x40480000
CONFIG_FASTBOOT_BUF_SIZE=0x40000000
CONFIG_FASTBOOT_FLASH=y
CONFIG_FASTBOOT_FLASH_MMC_DEV=0
CONFIG_EFI_PARTITION=y
#CONFIG_ANDROID_BOOT_IMAGE=y
# SPL enalbe
CONFIG_SPL_USB_HOST_SUPPORT=y
CONFIG_SPL_USB_GADGET_SUPPORT=y
CONFIG_SPL_USB_SDP_SUPPORT=y
CONFIG_SDP_LOADADDR=0x40400000
CONFIG_SPL_SHOW_ERRORS=y
I have attempted to add spl_board_boot_device() to my common/spl/spl.c to no avail. I have also tried a great many other config options. Also no change, but somtimes there are compile errors... And I have made sure that the usb entries in the uboot dtsi are marked as "okay". I am not sure where to go from here. I am mainly using imx-uboot 2022.04 and mainline 2022.07

Raspberry Pi - ALSA error when trying to record sound through an audio card and playback

Hello,
I am working on trying to play audio out of a raspberry pi zero W(ssh connection), and I bought an audio card, which led me to this Wiki tutorial to set it up.
[Wiki Page]
https://wiki.seeedstudio.com/ReSpeaker_2_Mics_Pi_HAT/
GitHub Repo
After I install all the repos and sudo upgrade, I try to test it out by completing step 3:
However, when I enter the command into the terminal, I get this error:
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
arecord: main:828: audio open error: No such file or directory
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
aplay: main:828: audio open error: No such file or directory
Please can someone help - I will be online to provide any extra information.
Thank you

u-boot instead of barebox in imx6-phyBOARD mira

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.

libvlc: Error loading script http.lua

I downloaded vlc-2.2.1 source code and compiled it after a long struggle. Now, when I run it as ./vlc from the source directory, it shows the following error and vlc window does not show up.
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[08258920] [http] lua interface error: Error loading script /home/ezio/vlcLib/vlc-2.2.1/share/lua/intf/http.luac: /home/ezio/vlcLib/vlc-2.2.1/share/lua/intf/http.luac: bad header in precompiled chunk
[081a2b18] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[082338b0] [cli] lua interface error: Error loading script /home/ezio/vlcLib/vlc-2.2.1/share/lua/intf/cli.luac: /home/ezio/vlcLib/vlc-2.2.1/share/lua/intf/cli.luac: bad header in precompiled chunk
I needed the web interface functionality of vlc. So, I configured ~/.config/vlc/vlcrc as
#### Extra interface modules (string)
extraintf=http
How can I fix this error ?
NOTE:
I have vlc 2.1.6 installed in my computer,
it works fine
VLC media player 2.1.6 Rincewind (revision 2.1.6-0-gea01d28)
[0x8fd3718] [http] lua interface: Lua HTTP interface
[0x8fc3910] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
"sni-qt/29618" WARN 13:36:25.965 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE

Porting eCos to i386

I am trying to port eCos on an i386 PC.
I have downloaded prebuilt redboot.bin from
http://ecos.sourceware.org/ecos/boards/redbootbins/x86pc/
I boot it onto usb disk, using
dd conv=sync if/redboot.bin of=/dev/sdb1
After booting target from usb, I get "IA2!" string on the target monitor always, and on serial port on 38400 8n1 configurations, I receive nothing.
I tried using i386-elf-gdb, but it is not able to connect to the target and starts printing "Ignoring error packet, Continuing..."
I also tried to build redboot using configtool for i386, but it is only able to build library, when I try Tests, It gives ERROR: multiple definition of cyg_start()
I am very new to eCos, and I don't know what I am doing wrong!!.
Ok, I figured out how to boot Redboot on a target i386 pc with RealteK RTL8139 ehternet card.
install grub on usb stick,
mkdir /mnt/USB && mount /dev/sdx1 /mnt/USB
grub-install --force --no-floppy --boot-directory=/mnt/USB/boot /dev/sdx
Build Redboot using ecosconfig, make sure the number of pci bus are less than 8 or more, if more, then need to increase the pci bus range from from 8 inside pci.h, I had my realtek ethernet card on bus 10 dev 10, I had to increase the bus to 11, so that redboot finds realtek card on bootup.
ecosconfig new pc redboot
configtool ecos.ecc
add common ethernet support
Build Library
copy redboot.elf on usb.
on grub startup menu,
insmod multiboot
multiboot /redboot.elf
boot
Thats it, redboot will use BOOTP and provide IP Address, then I can test redboot commands like ip_address, reset, ping, version etc.

Resources