Re: [beagleboard] Running from eclipse as root?
Ugh, I didn't explain this properly. My code running on beagle requires root. When using eclipse to remotely run and debug the code fails due to insufficient privileges. Thanks, Miro -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Running from eclipse as root?
Hello all. I'm able to run and debug the code on the beagleboard using Eclipse, but it requires root privileges. How do I go about setting that up? Best regards, Miro -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] BBB takes a long time to boot if network cable is not plugged in [Saucy 13.10]
Hello Robert! What would be the equivalent to that on Debian? I also noticed that if I boot with network cable unplugged and plugin it in after the boot, it doesn't acquire a ip address from dhcp. I followed http://eewiki.net/display/linuxonarm/BeagleBone+Black (worked like a charm, than you for that!! If I did that from the very start I would've saved myself a lot of time.) and installed debian-7.1-minimal-armhf-2013-08-25and I think I'll stick with that. Also, how do I go about configuring the os (where's the startup script that shows what runs on boot)? Point in the right direction is immensely appreciated Thanks for the support and putting up with the newb questions, Miro On Wednesday, December 4, 2013 12:30:28 PM UTC-8, RobertCNelson wrote: > > On Wed, Dec 4, 2013 at 2:09 PM, > wrote: > > Hello all. As the title says, about 7 seconds with cable plugged in, ~5 > > minutes without. Anyone have any idea where to start? > > sudo sed -i -e 's:sleep 20:#sleep 20:g' /etc/init/failsafe.conf > sudo sed -i -e 's:sleep 40:#sleep 40:g' /etc/init/failsafe.conf > sudo sed -i -e 's:sleep 59:#sleep 59:g' /etc/init/failsafe.conf > > Should take care of 1:59 of that delay.. > > Regards, > > -- > Robert Nelson > http://www.rcn-ee.com/ > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] How to flash krenel only
Ah, that makes sense. If I use one of the images suggested above, how do I remove extra services from starting up? I'd like this to be as barebones as possible, yet so I can still use eclipse to remotely deploy the user app. Also, once I have the sd card with the working image, how do I transfer that to the internal flash? Thanks and BR Miro -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] How to flash krenel only
Hello Robert. I 'got ubuntu-saucy-13.10-armhf-3.8.13-bone30.img.xz' and used Win32DiskImager to write the image to the sd card. Once written, I plugged it into the linux mint machine. and 2 partitions got mounted on sdb1 and sdb2. Edited system.sh to have MMC=/dev/sdb Ran ./tools/install_kernel.sh I get this: I see... fdisk -l: Disk /dev/sda: 211.1 GB, 211093946368 bytes Disk /dev/sdb: 16.0 GB, 16012804096 bytes lsblk: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:00 196.6G 0 disk ├─sda1 8:10 191.5G 0 part / ├─sda2 8:20 1K 0 part └─sda5 8:50 5.1G 0 part [SWAP] sdb 8:16 1 14.9G 0 disk ├─sdb1 8:17 1 1M 0 part /home/miro/linux-dev/deploy/disk └─sdb2 8:18 1 1.8G 0 part /media/miro/rootfs_armhf.com - Are you 100% sure, on selecting [/dev/sdb] (y/n)? y Debug: Existing Partition on drive: - Disk /dev/sdb: 16.0 GB, 16012804096 bytes 64 heads, 32 sectors/track, 15271 cylinders, total 31275008 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x80008000 Device Boot Start End Blocks Id System /dev/sdb1 *2048409510241 FAT12 /dev/sdb24096 3751935 1873920 83 Linux Unmounting Partitions - Starting Partition Search - Trying: [/dev/sdb1] Partition: [/dev/sdb1] trying: [vfat], [ext4] Partition: [vfat] Installing 3.8.13-bone31 to /dev/sdb1 ‘/home/miro/linux-dev/deploy/3.8.13-bone31.zImage’ -> ‘/home/miro/linux-dev/deploy/disk/zImage’ cp: writing ‘/home/miro/linux-dev/deploy/disk/zImage’: No space left on device cp: failed to extend ‘/home/miro/linux-dev/deploy/disk/zImage’: No space left on device Thanks, Miro -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] How to flash krenel only
Hello all. After 2 days of spinning in circles, I am yet to successfully update the kernel only on BBB. This is what I want to do: 1. Be able to load the kernel only into sd card that already has a working file system. 2. Be able to load the same kernel into BBB internal flash that also has a filesystem already set up. I'm using ubuntu saucy 13.10. I've followed http://elinux.org/BeagleBoardUbuntu#Install_Latest_Kernel_Image and compiled the kernel that's used in that distribution, but the load kernel script fails with "not enough space" message. The page also doesn't say how to replace the existing kernel. Also, in general, how do I go from the default kernel image (zImage) to something that can be used in tftp boot and card/internal boot? Thanks, Miro -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] BBB takes a long time to boot if network cable is not plugged in [Saucy 13.10]
Like a charm, many thanks! Miro On Wednesday, December 4, 2013 12:30:28 PM UTC-8, RobertCNelson wrote: > > On Wed, Dec 4, 2013 at 2:09 PM, > wrote: > > Hello all. As the title says, about 7 seconds with cable plugged in, ~5 > > minutes without. Anyone have any idea where to start? > > sudo sed -i -e 's:sleep 20:#sleep 20:g' /etc/init/failsafe.conf > sudo sed -i -e 's:sleep 40:#sleep 40:g' /etc/init/failsafe.conf > sudo sed -i -e 's:sleep 59:#sleep 59:g' /etc/init/failsafe.conf > > Should take care of 1:59 of that delay.. > > Regards, > > -- > Robert Nelson > http://www.rcn-ee.com/ > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] BBB takes a long time to boot if network cable is not plugged in [Saucy 13.10]
Hello all. As the title says, about 7 seconds with cable plugged in, ~5 minutes without. Anyone have any idea where to start? Thanks, Miro -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Unable to boot from NFS
Hello, William. Being new to the whole linux thing (i have years in windows and embedded) i really didn't know where to start. I thought that sticking with the default distribution will be the least painful route. On that note, I did install Ubuntu and I'm making progress, however I still can't figure out how to flash the kernel only into the internal flash, though. Cheers, Miro -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Unable to boot from NFS
Thanks for the help, I did make some progress. I've originally followed the instructions here which did get me started compiling the kernel: http://wiki.beyondlogic.org/index.php/BeagleBoneBlack_Building_Kernel#ARM_Cross_Compiler (see 'booting from nfs')'. He talks about nfs, but invokes tftpboot. The link that William posted did get me further, I've managed to load the new kernel and boot from it, but the bbb stops 5 seconds in. I believe I'm missing relevant files. [5.446214] host=192.168.1.129, domain=, nis-domain=(none) [5.452401] bootserver=255.255.255.255, rootserver=192.168.1.115, rootpath= [5.459950] ALSA device list: [5.463249] #0: TI BeagleBone Black What I'm really after is barebone version of bbb with the ability to use the Eclipse to compile and debug my app: http://www.michaelhleonard.com/cross-compile-for-beaglebone-black/#for-linux If someone could point me in the right direction I'd appreciate it. Thanks for all the help and BR, Miro On Tuesday, December 3, 2013 1:19:09 PM UTC-8, Gary Thomas wrote: > > On 2013-12-02 23:23, miro...@gmail.com wrote: > > Hello all. I'm having this problem and I've been banging my head against > the wall for some time now. I'm running 64bit ubuntu 13.10 inside > virtualbox vm. I've set up the NFS server > > and from what I can tell it's configured properly because I'm able to > mount it from another computer (laptop running ubuntu 12.04). I'm exporting > /home/miro/export where I have a > > rootfs folder and a symbolic link to the kerel image (uImage-BBB-3.8.13) > > > > NFS server is on 192.168.1.250, statically assigned ip > > Beagle is on 192.168.1.115 assinged by DHCP. Beagleboard is running > latest stock software. > > > > I can ping server from beagle, but I'm not able to get past *tftp > 0x8020 uImage-BBB-3.8.13* > > NFS != TFTP > > Do you have a TFTP server running on your Ubuntu virtual machine? > > > > > All devices are plugged into the same router. Also, I'm unsure about > some of the env variables, such as rootpath. > > > > If anyone could shed some light on this I would greatly appreciate it. > > > > U-Boot# tftp 0x8020 uImage-BBB-3.8.13 > > link up on port 0, speed 100, full duplex > > Using cpsw device > > TFTP from server 192.168.1.250; our IP address is 192.168.1.115 > > Filename 'uImage-BBB-3.8.13'. > > Load address: 0x8020 > > *Loading: T T T T T T T T T T T T T T T T T T T T > > Retry count exceeded; starting again > > *using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in > > MAC 90:59:af:5d:07:b0 > > HOST MAC de:ad:be:af:00:00 > > RNDIS ready > > ERROR: The remote end did not respond in time. > > at ether.c:2395/usb_eth_init() > > link up on port 0, speed 100, full duplex > > Using cpsw device > > TFTP from server 192.168.1.250; our IP address is 192.168.1.115 > > Filename 'uImage-BBB-3.8.13'. > > Load address: 0x8020 > > Loading: T T T T T T T T T T T T T T T T T T T T > > Retry count exceeded; starting again > > using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in > > MAC 90:59:af:5d:07:b0 > > HOST MAC de:ad:be:af:00:00 > > RNDIS ready > > ERROR: The remote end did not respond in time. > > at ether.c:2395/usb_eth_init() > > link up on port 0, speed 100, full duplex > > Using cpsw device > > TFTP from server 192.168.1.250; our IP address is 192.168.1.115 > > Filename 'uImage-BBB-3.8.13'. > > Load address: 0x8020 > > Loading: T T T T T T > > Abort > > > > > > U-Boot# printenv > > arch=arm > > autoload=no > > baudrate=115200 > > board=am335x > > board_name=A335BNLT > > board_rev=0A5C > > bootcmd=gpio set 53; i2c mw 0x24 1 0x3e; run findfdt; mmc dev 0; if mmc > rescan ; then echo micro SD card found;setenv mmcdev 0;else echo No micro > SD card found, setting mmcdev to > > 1;setenv mmcdev 1;fi;setenv bootpart ${mmcdev}:2;mmc dev ${mmcdev}; if > mmc rescan; then gpio set 54; echo SD/MMC found on device ${mmcdev};if run > loadbootenv; then echo Loaded > > environment from ${bootenv};run importbootenv;fi;if test -n $uenvcmd; > then echo Running uenvcmd ...;run uenvcmd;fi;gpio set 55; if run > loaduimage; then gpio set 56; run loadfdt;run > > mmcboot;fi;fi; > > bootdelay=1 > > bootdir=/boot > > bootenv=uEnv.txt > > bootfile=uImage-BBB-3.8.13 > > bootpart=0:2 > > console=ttyO0,115200n8 > > cpu=armv7 > > dfu_alt_info_emmc=rawemmc mmc 0 3751936 > > dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;MLO.raw mmc > 100 100;u-boot.img.raw mmc 300 3C0;u-boot.img fat 0 1;uEnv.txt fat 0 1 > > dfu_alt_info_nand=SPL part 0 1;SPL.backup1 part 0 2;SPL.backup2 part 0 > 3;SPL.backup3 part 0 4;u-boot part 0 5;kernel part 0 7;rootfs part 0 8 > > dnsip=192.168.1.1 > > ethact=cpsw > > ethaddr=90:59:af:5d:07:b0 > > fdt_high=0x > > fdtaddr=0x80F8 > > fdtfile=am335x-boneblack.dtb > > findfdt=if test $board_name = A33515BB; then setenv fdtfile > am335x-evm.dtb; fi; if test $board_name = A335X_SK; then s
Re: [beagleboard] Unable to boot from NFS
William, thanks for the link. I did see that article, but it's requirement is debian on beagle. I'm running stock angstrom on beagle. Is it still relevant? Thanks, Miro On Tuesday, December 3, 2013 9:35:56 AM UTC-8, William Hermans wrote: > > > http://www.embeddedhobbyist.com/debian-tips/beaglebone-black/beaglebone-black-network-boot/ > > > On Mon, Dec 2, 2013 at 11:23 PM, > wrote: > >> Hello all. I'm having this problem and I've been banging my head against >> the wall for some time now. I'm running 64bit ubuntu 13.10 inside >> virtualbox vm. I've set up the NFS server and from what I can tell it's >> configured properly because I'm able to mount it from another computer >> (laptop running ubuntu 12.04). I'm exporting /home/miro/export where I have >> a rootfs folder and a symbolic link to the kerel image (uImage-BBB-3.8.13) >> >> NFS server is on 192.168.1.250, statically assigned ip >> Beagle is on 192.168.1.115 assinged by DHCP. Beagleboard is running >> latest stock software. >> >> I can ping server from beagle, but I'm not able to get past *tftp >> 0x8020 uImage-BBB-3.8.13* >> >> All devices are plugged into the same router. Also, I'm unsure about some >> of the env variables, such as rootpath. >> >> If anyone could shed some light on this I would greatly appreciate it. >> >> U-Boot# tftp 0x8020 uImage-BBB-3.8.13 >> link up on port 0, speed 100, full duplex >> Using cpsw device >> TFTP from server 192.168.1.250; our IP address is 192.168.1.115 >> Filename 'uImage-BBB-3.8.13'. >> Load address: 0x8020 >> >> >> *Loading: T T T T T T T T T T T T T T T T T T T T Retry count exceeded; >> starting again*using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in >> MAC 90:59:af:5d:07:b0 >> HOST MAC de:ad:be:af:00:00 >> RNDIS ready >> ERROR: The remote end did not respond in time. >> at ether.c:2395/usb_eth_init() >> link up on port 0, speed 100, full duplex >> Using cpsw device >> TFTP from server 192.168.1.250; our IP address is 192.168.1.115 >> Filename 'uImage-BBB-3.8.13'. >> Load address: 0x8020 >> Loading: T T T T T T T T T T T T T T T T T T T T >> Retry count exceeded; starting again >> using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in >> MAC 90:59:af:5d:07:b0 >> HOST MAC de:ad:be:af:00:00 >> RNDIS ready >> ERROR: The remote end did not respond in time. >> at ether.c:2395/usb_eth_init() >> link up on port 0, speed 100, full duplex >> Using cpsw device >> TFTP from server 192.168.1.250; our IP address is 192.168.1.115 >> Filename 'uImage-BBB-3.8.13'. >> Load address: 0x8020 >> Loading: T T T T T T >> Abort >> >> >> U-Boot# printenv >> arch=arm >> autoload=no >> baudrate=115200 >> board=am335x >> board_name=A335BNLT >> board_rev=0A5C >> bootcmd=gpio set 53; i2c mw 0x24 1 0x3e; run findfdt; mmc dev 0; if mmc >> rescan ; then echo micro SD card found;setenv mmcdev 0;else echo No micro >> SD card found, setting mmcdev to 1;setenv mmcdev 1;fi;setenv bootpart >> ${mmcdev}:2;mmc dev ${mmcdev}; if mmc rescan; then gpio set 54; echo SD/MMC >> found on device ${mmcdev};if run loadbootenv; then echo Loaded environment >> from ${bootenv};run importbootenv;fi;if test -n $uenvcmd; then echo Running >> uenvcmd ...;run uenvcmd;fi;gpio set 55; if run loaduimage; then gpio set >> 56; run loadfdt;run mmcboot;fi;fi; >> bootdelay=1 >> bootdir=/boot >> bootenv=uEnv.txt >> bootfile=uImage-BBB-3.8.13 >> bootpart=0:2 >> console=ttyO0,115200n8 >> cpu=armv7 >> dfu_alt_info_emmc=rawemmc mmc 0 3751936 >> dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;MLO.raw mmc >> 100 100;u-boot.img.raw mmc 300 3C0;u-boot.img fat 0 1;uEnv.txt fat 0 1 >> dfu_alt_info_nand=SPL part 0 1;SPL.backup1 part 0 2;SPL.backup2 part 0 >> 3;SPL.backup3 part 0 4;u-boot part 0 5;kernel part 0 7;rootfs part 0 8 >> dnsip=192.168.1.1 >> ethact=cpsw >> ethaddr=90:59:af:5d:07:b0 >> fdt_high=0x >> fdtaddr=0x80F8 >> fdtfile=am335x-boneblack.dtb >> findfdt=if test $board_name = A33515BB; then setenv fdtfile >> am335x-evm.dtb; fi; if test $board_name = A335X_SK; then setenv fdtfile >> am335x-evmsk.dtb; fi;if test $board_name = A335BONE; then setenv fdtfile >> am335x-bone.dtb; fi; if test $board_name = A335BNLT; then setenv fdtfile >> am335x-boneblack.dtb; fi >> gatewayip=192.168.1.1 >> importbootenv=echo Importing environment from mmc ...; env import -t >> $loadaddr $filesize >> ipaddr=192.168.1.115 >> kloadaddr=0x80007fc0 >> loadaddr=0x8020 >> loadbootenv=load mmc ${mmcdev} ${loadaddr} ${bootenv} >> loadfdt=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile} >> loadramdisk=load mmc ${mmcdev} ${rdaddr} ramdisk.gz >> loaduimage=load mmc ${bootpart} ${kloadaddr} ${bootdir}/${bootfile} >> mmcargs=setenv bootargs console=${console} ${optargs} root=${mmcroot} >> rootfstype=${mmcrootfstype} >> mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${kloadaddr} - >> ${fdtaddr} >> mmcdev=0 >> mmcroot=/dev/mmcblk0p2 ro >> mmcrootfstype=ext4 rootwait >> mtdids=nand0=omap2-nand.0 >> >> mtdparts=mtdparts=omap2-
[beagleboard] Unable to boot from NFS
Hello all. I'm having this problem and I've been banging my head against the wall for some time now. I'm running 64bit ubuntu 13.10 inside virtualbox vm. I've set up the NFS server and from what I can tell it's configured properly because I'm able to mount it from another computer (laptop running ubuntu 12.04). I'm exporting /home/miro/export where I have a rootfs folder and a symbolic link to the kerel image (uImage-BBB-3.8.13) NFS server is on 192.168.1.250, statically assigned ip Beagle is on 192.168.1.115 assinged by DHCP. Beagleboard is running latest stock software. I can ping server from beagle, but I'm not able to get past *tftp 0x8020 uImage-BBB-3.8.13* All devices are plugged into the same router. Also, I'm unsure about some of the env variables, such as rootpath. If anyone could shed some light on this I would greatly appreciate it. U-Boot# tftp 0x8020 uImage-BBB-3.8.13 link up on port 0, speed 100, full duplex Using cpsw device TFTP from server 192.168.1.250; our IP address is 192.168.1.115 Filename 'uImage-BBB-3.8.13'. Load address: 0x8020 *Loading: T T T T T T T T T T T T T T T T T T T TRetry count exceeded; starting again*using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in MAC 90:59:af:5d:07:b0 HOST MAC de:ad:be:af:00:00 RNDIS ready ERROR: The remote end did not respond in time. at ether.c:2395/usb_eth_init() link up on port 0, speed 100, full duplex Using cpsw device TFTP from server 192.168.1.250; our IP address is 192.168.1.115 Filename 'uImage-BBB-3.8.13'. Load address: 0x8020 Loading: T T T T T T T T T T T T T T T T T T T T Retry count exceeded; starting again using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in MAC 90:59:af:5d:07:b0 HOST MAC de:ad:be:af:00:00 RNDIS ready ERROR: The remote end did not respond in time. at ether.c:2395/usb_eth_init() link up on port 0, speed 100, full duplex Using cpsw device TFTP from server 192.168.1.250; our IP address is 192.168.1.115 Filename 'uImage-BBB-3.8.13'. Load address: 0x8020 Loading: T T T T T T Abort U-Boot# printenv arch=arm autoload=no baudrate=115200 board=am335x board_name=A335BNLT board_rev=0A5C bootcmd=gpio set 53; i2c mw 0x24 1 0x3e; run findfdt; mmc dev 0; if mmc rescan ; then echo micro SD card found;setenv mmcdev 0;else echo No micro SD card found, setting mmcdev to 1;setenv mmcdev 1;fi;setenv bootpart ${mmcdev}:2;mmc dev ${mmcdev}; if mmc rescan; then gpio set 54; echo SD/MMC found on device ${mmcdev};if run loadbootenv; then echo Loaded environment from ${bootenv};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;gpio set 55; if run loaduimage; then gpio set 56; run loadfdt;run mmcboot;fi;fi; bootdelay=1 bootdir=/boot bootenv=uEnv.txt bootfile=uImage-BBB-3.8.13 bootpart=0:2 console=ttyO0,115200n8 cpu=armv7 dfu_alt_info_emmc=rawemmc mmc 0 3751936 dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;MLO.raw mmc 100 100;u-boot.img.raw mmc 300 3C0;u-boot.img fat 0 1;uEnv.txt fat 0 1 dfu_alt_info_nand=SPL part 0 1;SPL.backup1 part 0 2;SPL.backup2 part 0 3;SPL.backup3 part 0 4;u-boot part 0 5;kernel part 0 7;rootfs part 0 8 dnsip=192.168.1.1 ethact=cpsw ethaddr=90:59:af:5d:07:b0 fdt_high=0x fdtaddr=0x80F8 fdtfile=am335x-boneblack.dtb findfdt=if test $board_name = A33515BB; then setenv fdtfile am335x-evm.dtb; fi; if test $board_name = A335X_SK; then setenv fdtfile am335x-evmsk.dtb; fi;if test $board_name = A335BONE; then setenv fdtfile am335x-bone.dtb; fi; if test $board_name = A335BNLT; then setenv fdtfile am335x-boneblack.dtb; fi gatewayip=192.168.1.1 importbootenv=echo Importing environment from mmc ...; env import -t $loadaddr $filesize ipaddr=192.168.1.115 kloadaddr=0x80007fc0 loadaddr=0x8020 loadbootenv=load mmc ${mmcdev} ${loadaddr} ${bootenv} loadfdt=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile} loadramdisk=load mmc ${mmcdev} ${rdaddr} ramdisk.gz loaduimage=load mmc ${bootpart} ${kloadaddr} ${bootdir}/${bootfile} mmcargs=setenv bootargs console=${console} ${optargs} root=${mmcroot} rootfstype=${mmcrootfstype} mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${kloadaddr} - ${fdtaddr} mmcdev=0 mmcroot=/dev/mmcblk0p2 ro mmcrootfstype=ext4 rootwait mtdids=nand0=omap2-nand.0 mtdparts=mtdparts=omap2-nand.0:128k(SPL),128k(SPL.backup1),128k(SPL.backup2),128k(SPL.backup3),1920k(u-boot),128k(u-boot-env),5m(kernel),-(rootfs) nandargs=setenv bootargs console=${console} ${optargs} root=${nandroot} rootfstype=${nandrootfstype} nandboot=echo Booting from nand ...; run nandargs; nand read ${loadaddr} ${nandsrcaddr} ${nandimgsize}; bootm ${loadaddr} nandimgsize=0x50 nandroot=ubi0:rootfs rw ubi.mtd=7,2048 nandrootfstype=ubifs rootwait=1 nandsrcaddr=0x28 netargs=setenv bootargs console=${console} ${optargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp netboot=echo Booting from network ...; setenv autoload no; dhcp; tftp ${loadaddr} ${bootfile}; tftp ${fdtaddr} ${fdtfile}; run netargs; bootm $