LinuxBoard3.4
Jump to navigation
Jump to search
Software[edit | edit source]
also see VRReader LinuxBoard3.2 LinuxBoard3.3
U-boot AM3517[edit | edit source]
- substitute the u-boot-vrreader... file with the latest u-boot file
- substitute 1c0000 with the size of u-boot
bootp mw.b 0x80000000 0xff 0x1c0000 tftp 0x80000000 u-boot-vrreader-am35.bin nand erase 0x80000 1c0000 nand write 0x80000000 0x80000 1c0000 reset
U-boot OM3730[edit | edit source]
- substitute the u-boot-vrreader... file with the latest u-boot file
- substitute 1c0000 with the size of u-boot
bootp mw.b 0x80000000 0xff 0x1c0000 tftp 0x80000000 u-boot-vrreader-om37.bin
or
tftp 0x80000000 u-boot-vrreader-om37-2009.11+r67+gitrAUTOINC-r67.bin
nand erase 0x80000 1c0000 nand write 0x80000000 0x80000 1c0000 reset
Kernel / FS Loading[edit | edit source]
- make sure kernel size is < 0x300000 or change script below!
- make sure ETHADDR is set correctly!
setenv ethaddr 00:50:c2:7c:57:00 setenv get_kernel nand read.i 0x80000000 0x280000 0x300000 setenv bootargs_fs mem=256M console=ttyO2,115200n8 noinitrd root=/dev/mtdblock4 rw rootfstype=jffs2 eth=$ethaddr setenv boot_fs run get_kernel\; setenv bootargs \$bootargs_fs\; bootm 0x80000000 setenv bootcmd run boot_fs setenv bootdelay 1 save
<reset>
bootp mw.b 0x80000000 0xFF 0x500000 tftp 0x80000000 uImage-vrreader-am35.bin nand erase 0x280000 0x500000 nand write 0x80000000 0x280000 0x300000 ; filesystem ; DO NOT USE - this doesn't work... JFFS2 starts getting corrupted... ;nand erase 0x780000 0xF880000 ;mw.i 0x82000000 0xFFFFFFFF 0xF880000 ;tftp 0x82000000 venture-image-rehrig-vrreader-am35.jffs2 ;nandecc hw ;nand write 0x82000000 0x780000 0x2000000 ;
... boot into NFS again
bootp tftp 0x80000000 uImage-vrreader-am35.bin setenv bootargs console=ttyO2,115200n8 root=/dev/nfs rw ip=dhcp nfsroot=192.168.19.128:/srv/nfs/image ethaddr=00:50:c2:7c:5f:fc consoleblank=0 omapfb.mode=lcd:1024x768@60 bootm 0x80000000
at Linux command prompt...
flash_erase -j /dev/mtd4 0 0
mknod /dev/mtdblock4 b 31 4
scp venture@embedded-prod:/home/yocto/poky/build/tmp/deploy/images/venture-image-rehrig-vrreader-am35.tar.bz2 /tmp/
mkdir /tmp/flash
mount -t jffs2 /dev/mtdblock4 /tmp/flash/
cd /tmp/flash
tar xjvf /tmp/venture-image-rehrig-vrreader-am35.tar.bz2
echo vr-00XXXX > etc/hostname
echo 127.0.0.1 cat etc/hostname >> etc/hosts
sync
reboot
... first run
echo root:rfid4ever_vr | chpasswd -m echo vr-7c5700 > /etc/hostname (if not done above) hostnamecat /etc/hostname(if not done above) echo 127.0.0.1cat /etc/hostname>> /etc/hosts (if not done above)
Android[edit | edit source]
see Android
Pinouts[edit | edit source]
| Pin | Net Name | AM35 Name | AM35 GPIO | OM37 Name | OM37 GPIO |
| 17 | ENBKL | dss_data17 | 87 | dss_data17 | 87 |
| 18 | CTL_RF | cam_d5 | 104 | cam_d5 | 104 |
| 27 | USB_EN_PWR2 | mmc1_dat4 | 126 | gpio_126 | 126 |
| 29 | TR3 | uart3_cts | 163 | uart3_cts | 163 |
| 30 | PC_EN | mmc1_dat7 | 129 | gpio_129 | 129 |
| 31 | TR4 | uart3_rts | 164 | uart3_rts | 164 |
| 44 | CAN_INT | cam_d6 | 105 | cam_d6 | 105 |
| 45 | IO_LED_G | dss_data16 | 86 | dss_data16 | 86 |
| 49 | PERST# | sys_clkout1 | 10 | sys_clkout1 | 10 |
| 50 | IO_LED_A | cam_d4 | 103 | cam_d4 | 103 |
| 52 | USB_EN_PWR3 | lb_ncs1 | 52* | lb_ncs4 | 55* |
| 53 | TR1 | cam_d7 | 106 | cam_d7 | 106 |
| 55 | TR2 | cam_d3 | 102 | cam_d3 | 102 |
| 56 | IO_LED_R | cam_d2 | 101 | cam_d2 | 101 |
| 57 | EXT_R | cam_wen | 98* | cam_wen | 167* |
| 59 | EXT_A | cam_pclk | 94* | cam_pclk | 97* |
| 65 | EXT_B1 | uart2_cts* | 144* | mcbsp3_dx* | 140* |
| 66 | EXT_B2 | dss_d0* | 70* | mcspi2_cs0* | 181* |
| 67 | EXT_AUX1 | uart2_rts | 145* | mcbsp3_dr* | 141* |
| 68 | EXT_AUX2 | dss_d1* | 71* | cam_d11* | 110* |
| 70 | EXT_AUX3 | dss_data8* | 78* | cam_d10* | 109* |
| 76 | GPS_PPS | cam_vs | 97* | cam_vs | 95* |
| 78 | EXT_G | cam_hs | 96* | cam_hs | 94* |
| 82 | HDQ | hdq | 170 | hdq | 170 |
| 85 | Reader_IRQ | lb_wait3 | 65 | lb_wait3 | 65 |
| 86 | RD_IO2 | uart1_rts | 149 | uart1_rts | 149 |
| 88 | Reader_EN | uart1_cts | 150 | uart1_cts | 150 |
| 89 | REGEN | lb_ncs3 | 54 | lb_ncs3 | 54 |
| 91 | SD_CDSW | lb_nbe1* | 61* | -PMIC- | -- |
| 95 | PG | cam_d0 | 99 | cam_d0 | 99 |
| 128 | USB_EN_PWR1 | lb_io_a9 | 42 | lb_io_a9 | 42 |
| 189 | BCKLIGHT | lb_ncs4* | 55* | -PMIC- | -- |
| 193 | WIE_D0 | mmc2_dat5* | 137* | mmc2_dat4* | 136* |
| 195 | WIE_D1 | mmc2_dat6* | 138* | mmc2_dat7 | 139* |