Fraser, how much do you know about linux? below is some basic commands to help you navigate with examples
hardware setup. note: attach micro USB cable otherwise board powers down
solder 3 wires to Tx,Rx & Gnd (see my previous document for locations) using a TTL to USB convertor
https://shop.clickandbuild.com/cnb/shop/ftdichip?productID=53&op=catalogue-product_info-null&prodCategoryID=296. then using putty
http://www.putty.org to connect to the serial port of the TTL cable using settings 115200, 8n1.
so now when you power-up the Flir one you should see the boot sequence ending with a prompt
'Welcome to Rosebud (Operational)
(none) login:'
RomBOOT
Start AT91Bootstrap version svn-r5344 ...
Init HALF drive strength DDR... BOARD_ConfigureDdram()
DDRSDRC->DDRSDRC_LPR: 0x12101
Done!
Downloading image...
Trying to load uboot...
nandflash_hw_init()
reset_nandflash()
AT91F_NandReadID()
ManufacturerID: 0x2c DeviceID: 0xa1
chip id: 0x2ca1
Copy 0x50000 bytes from 0x40000 to 0x23f00000
nandflash_cfg_8bits_dbw_init()
switch(sNandInfo.uDataNbBytes) 2048:
read_nandflash: while (1)
read_nandflash: while (1)
read_nandflash: while (1)
read_nandflash(): return 0;
Done!
Returning jump to 0x0x23f00000
U-Boot 2010.06-svn5344 (Aug 03 2015 - 13:27:27)
DRAM: 64 MiB
NAND: nand->ecc.bytes 28
nand->ecc.steps 1
nand->ecc.layout = pmecc_oobinfo_2048
host->mm 13
host->nn 8191
host->tt 4
host->sector_size 512
host->sector_number 4
host->ecc_bytes_per_sector 7
host->alpha_to 0x10C000
host->index_of 0x108000
128 MiB
*** Warning - bad CRC or NAND, using default environment
In: serial
Out: serial
Err: serial
Net: macb0, macb1
eth_enable not set, skipping macb init.
eth_enable not set, skipping macb init.
Watchdog enabled.
Hit CTRL-C to stop autoboot: 0
Data (writethrough) Cache is ON
boot operational
Loading from nand0, offset 0xe00000
Image Name: Linux-2.6.39+
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3358884 Bytes = 3.2 MiB
Load Address: 20008000
Entry Point: 20008000
Bit flip in data area, byte_pos: 772, bit_pos: 5, 0xbc -> 0x9c
Bit flip in data area, byte_pos: 192, bit_pos: 4, 0x72 -> 0x62
Bit flip in data area, byte_pos: 1503, bit_pos: 4, 0x72 -> 0x62
Bit flip in data area, byte_pos: 826, bit_pos: 0, 0x27 -> 0x26
Bit flip in data area, byte_pos: 937, bit_pos: 2, 0xbe -> 0xba
Bit flip in data area, byte_pos: 104, bit_pos: 3, 0xfc -> 0xf4
Bit flip in data area, byte_pos: 1636, bit_pos: 7, 0xc3 -> 0x43
Automatic boot of image at addr 0x22000000 ...
## Booting kernel from Legacy Image at 22000000 ...
Image Name: Linux-2.6.39+
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3358884 Bytes = 3.2 MiB
Load Address: 20008000
Entry Point: 20008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 0.025000] AT91: CM rev B and higher
[ 0.037000] AT91: EK rev B and higher
Starting watchdog...done
mounting jffs2 READ-ONLY...done
start battery charge control
Starting battery_charge: OK
done
Formatting /tmp/versions: OK
[ 1.666000] lepton_init
[ 1.672000] lepton_probe: using 16-bit SPI width
Welcome to Rosebud (Operational)
(none) login:
now enter the username and password to gain access
Welcome to Rosebud (Operational)
(none) login: root
Password:
login[313]: root login on ‘ttyS0‘
-sh: id: not found
sh: bad number
-sh: id: not found
-sh: /bin/hostname: not found
-sh: alias: not found
-sh: alias: not found
-sh: alias: not found
-sh: alias: not found
-sh: alias: not found
-sh: alias: not found
-sh: alias: not found
-sh: alias: not found
-sh: alias: not found
$
you now have a root prompt.
type 'ls' to show what's in your directory
type 'pwd' to show where you are
$ ls
RBTest.sh shared_files
$
$ pwd
/root
$
you are in directory '/root'
now 'cd' to change directory, example 'cd shared_files/'
then 'ls' to show contents
$ cd shared_files/
$ ls
CameraFiles.zip lepton_info.txt version_dv.txt
batteryvoltages.txt manufacturing_data.txt version_op.txt
connector_type version.txt version_up.txt
$
to view the contents of regular files use 'cat' for example 'cat batteryvoltages.txt'
$ cat batteryvoltages.txt
764
762
765
762
765
$
use 'cd ..' to move up a directory level
$ pwd
/root/shared_files
$ cd ..
$ pwd
/root
$
using the above commands you can now navigate by changing directories, view the contents of that directory and view file contents.
so now on to more interesting locations the root of the linux system 'cd /' and perform 'ls'
$ cd /
$ ls
bin home linuxrc proc sys var
dev init mnt root tmp version.txt
etc lib opt sbin usr
$
this is the root of the system
this may help as a general guide to explain folder contents
http://www.thegeekstuff.com/2010/09/linux-file-system-structure/location of log files '/var/log/'
location of config files '/etc/'
other helpful commands:
type 'reboot' to reboot the Flir one processor
type 'poweroff'' to powerdown and disconnect