Linux boote!!!

Nous avons reçu et soudé le circuit.

2014-06-15-120902

Dans un premier temps, nous avons réussi à lancer u-boot sur le circuit, ce qui nous a déjà ravis, car nous avions enfin accès à une console, même si ce n’était pas encore une console linux. Par contre, le circuit semblait très instable. En effet u-boot ne bootait qu’une fois sur quinze :

HTLC
HTLC
HTLCLCU-Boot 2014.01 (Mar 07 2014 – 13:42:07)CPU: Freescale i.MX23 rev1.4 at 454 MHz
BOOT: SSP SD/MMC #0
DRAM: 64 MiB
MMC: MXS MMC: 0HTLCL0x80501002
HTLCL0x80501002
HTLCL0x80501002
HTLCL0x80501002
HTLCLCU-Boot 2014.01 (Mar 07 2014 – 13:42:07)CPU: Freescale i.MX23 rev1.4 at 454 MHz
BOOT: SSP SD/MMC #0
DRAM: 64 MiB
HTLCLCU-Boot 2014.01 (Mar 07 2014 – 13:42:07)CPU: Freescale i.MX23 rev1.4 at 454 MHz
BOOT: SSP SD/MMC #0
DRAM: 64 MiB
MMC: MXS MMC: 0
*** Warning – bad CRC, using default environmentIn: serial
Out: serial
Err: serial
Net: Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot: 0
mmc0 is current device
** No partition table – mmc 0 **
** No partition table – mmc 0 **
Booting from net …
(Re)start USB…
USB0: USB EHCI 1.00
scanning bus 0 for devices… 1 USB Device(s) found
scanning usb for storage devices… 0 Storage Device(s) found
scanning usb for ethernet devices… 0 Ethernet Device(s) found
No ethernet found.
Wrong Image Format for bootm command
ERROR: can t get kernel image!
=> help
? – alias for help
base – print or set address offset
bdinfo – print Board Info structure
boot – boot default, i.e., run bootcmd
bootd – boot default, i.e., run bootcmd
bootm – boot application image from memory
bootp – boot image via network using BOOTP/TFTP protocol
clocks – display clocks
cmp – memory compare
coninfo – print console devices and information
cp – memory copy
crc32 – checksum calculation
dcache – enable or disable data cache
dhcp – boot image via network using DHCP/TFTP protocol
echo – echo args to console
editenv – edit environment variable
env – environment handling commands
exit – exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls – list files in a directory (default /)
false – do nothing, unsuccessfully
fatinfo – print information about filesystem
fatload – load binary file from a dos filesystem
fatls – list files in a directory (default /)
fdt – flattened device tree utility commands
go – start application at address addr
gpio – input/set/clear/toggle gpio pins
help – print command description/usage
icache – enable or disable instruction cache
iminfo – print header information for application image
imxtract- extract a part of a multi-image
itest – return true/false on integer compare
led – [0|all] [on|off|toggle]
loadb – load binary file over serial line (kermit mode)
loads – load S-Record file over serial line
loadx – load binary file over serial line (xmodem mode)
loady – load binary file over serial line (ymodem mode)
loop – infinite loop on address range
md – memory display
mm – memory modify (auto-incrementing address)
mmc – MMC sub system
mmcinfo – display MMC info
mw – memory write (fill)
nfs – boot image via network using NFS protocol
nm – memory modify (constant address)
printenv- print environment variables
reset – Perform RESET of the CPU
run – run commands in an environment variable
saveenv – save environment variables to persistent storage
setenv – set environment variables
showvar – print local hushshell variables
sleep – delay execution for some time
source – run script from memory
test – minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
true – do nothing, successfully
usb – USB sub-system
usbboot – boot from USB device
version – print monitor, compiler and linker version
=> pierre
Unknown command pierre – try help
=>

 

Nous avons passé des heures et des heures à dessouder et à ressouder des composants. Nous avons également essayé de booter par USB via mxsldr pour voir ce qu’il se passait. Cela nous a amené à corriger une faiblesse dans mxsldr, qui est désormais présente sur le git officiel.

Continuer la lecture