/srv/irclogs.ubuntu.com/2012/03/04/#ubuntu-arm.txt

anuvrathi I am trying to get stuff running on FriendlyARM Tiny 6410. My aim is to get a usb bluetooth dongle and usb wireless dongle running on it03:43
anuvratcurrently it il running the default version of linux that came with it, should I try and install ubuntu on it (if yes, how the guide asks me to run an exe, and I dont have Wndows)03:44
anuvratWill I have to hunt for drivers, can somebody help?03:45
=== Quintasan_ is now known as Quintasan
tmaxHello anyone here ?17:01
tmaxI ma having a problem installing Ubuntu on PandaBoard17:02
tmaxFirst time it boot it resizes partition, but then instead of start installer it keeps rebooting forever17:02
robclarkfwiw, tmax was having an issue w/ installer: http://pastebin.pandaboard.org/index.php/view/7710535417:02
* robclark thought perhaps someone here would have a better idea what is going on17:03
tmaxrobclark helped because i was getting through RS232 an error about kernel could not find uEnv.txt so i created it17:06
tmaxand put it inside: initrd_high=0xffffffff fdt_high=0xffffffff bootcmd=fatload mmc 0:1 0x80200000 uImage; fatload mmc 0:1 0x81600000 uInitrd; bootm 0x80200000 0x81600000 bootargs=console=tty0 console=ttyO2,115200n8 root=/dev/mmcblk0p2 rootwait ro text earlyprintk fixrtc nocompcache loglevel=10 ip=dhcp uenvcmd=boot17:06
tmaxanyone ?17:10
tmaxhello ?? :/17:16
rsalvetithat usually happens when something went wrong during the resize17:27
rsalvetiwhen regenerating the initramfs probably17:28
rsalvetione thing you can do is to flash the image again, mount it at your host, edit the boot args and enable the console output17:28
rsalvetiif you have access to your serial17:28
rsalvetithen you'll get all the details about the installer and what is happening17:29
tmaxyeah i can see everything from my PC trough console17:30
tmaxi have reinstalled the image about 4 times17:30
tmaxok i have reinstalled the image again in my SD card17:31
tmaxwhat should i change before put it into PandaBoard ?17:31
tmaxwhen i put the img inside SD card it doesnt create uEnv.txt is that normal ?17:33
rsalvetiI believe it's still using the boot.src file17:34
tmaxok should i try booting again ?17:34
rsalvetithat's before the first boot (before resize) as it seems the resize not working properly for you17:35
rsalvetior if you just want to understand why it's rebooting17:35
rsalvetiyou can also change it to see what are the logs17:35
tmaxyes i want to understand too i want to learn :D17:36
tmaxbut what i have to change ?17:36
rsalvetiadding console=ttyO2,115200, remove quite and replace splash with nosplash17:36
rsalveti*quiet17:36
tmaxso i have to create uEnv.txt again ?17:36
rsalvetidd if=boot.scr of=boot.script bs=1 skip=7217:37
rsalvetiedit boot.script17:37
rsalvetimkimage -A arm -T script -C none -n "Ubuntu boot script" -d boot.txt boot.scr17:37
rsalvetiif it's not yet using uEnv.txt17:37
rsalvetiyeah, still using boot.scr17:38
tmaxyeah it says it couldnt find uEnv.txt so it uses boot.scr17:38
tmaxmmm i dont have boot.script in FAT32 partition17:39
rsalvetithat's why you have to run the dd command first17:39
rsalvetiit'll remove the header and create the boot.script file17:39
rsalvetiso you can properly open it with any editor17:39
tmaxok wait, so i have to put it in PandaBoard and let it resize first ?17:40
tmaxi apologise i am pretty new at this and i am lerning17:40
rsalvetiif you want the messages since first boot, no, you just need to add the sdcard at your host, mount first partition, generate the boot.script file, edit, and create a new boot.scr file again with mkimage17:40
tmaxok i have mounted the first FAT32 partition on my PC17:41
tmaxnow i have to create boot.script and what i have to put inside ?17:41
rsalvetithere will be a line similar as "        setenv bootargs ro elevator=noop vram=32M mem=456M@0x80000000 mem=512M@0xA0000000 root=UUID=9d4de70e-1323-4ac9-9d3f-4ae05139f7ff fixrtc quiet splash"17:42
rsalvetiedit this line, removing quiet and splash, and add "console=ttyO2,115200 nosplash loglevel=8"17:43
rsalvetithen run mkimage as I said before17:43
rsalvetimkimage -A arm -T script -C none -n "Ubuntu boot script" -d boot.sript boot.scr17:43
rsalvetiumount it and boot the card at your pandaboard17:43
=== yofel_ is now known as yofel
tmaxi am getting this mkimage: Can't read boot.script: Invalid argument17:49
tmaxandres-nt@andres-nt:/tmp/mmc$ sudo mkimage -A arm -T script -C none -n "Ubuntu boot script" -d boot.script boot.scr17:49
tmaxthats what i put17:49
tmaxi have FAT32 mounted in /tmp/mmc17:50
tmaxand when i edit boot.scr gedit warns me about it can corrupt the file if i save it because there are strange caracters17:52
rsalvetiyou first need to generate the boot.script file with dd17:52
tmaxwhen i save it the file becomes strange it is filled whit 017:52
rsalvetirun: dd if=boot.scr of=boot.script bs=1 skip=7217:52
rsalvetithen you'll have the boot.script file to be edited and used by mkimage17:53
tmaxok, but is normal what gedit tells me ?17:53
tmaxbecause i can see file is corrupted when i save it whit gedit17:53
rsalvetiyes, because you tried to edit the boot.scr file instead of boot.script17:54
rsalvetithe boot.scr file has a special header for u-boot17:54
rsalvetithat's why you need to run the dd command, that will just remove the header and create a text file called boot.script17:54
rsalvetimkimage will  then turn this file into a boot.scr, adding the header again17:54
rsalvetito be valid by u-boot17:54
tmaxhooo and i have to edit the arguments from boot.script not boot.scr right ?17:55
rsalvetiyup17:55
tmaxhooo i am starting to understand :D17:55
tmaxok now it worked :)17:56
tmaxnow try booting Panda ?17:57
tmaxi have to have ethernet ?? it says waiting for ethernet connection18:00
tmaxhttp://pastebin.pandaboard.org/index.php/view/4452024118:02
tmaxthats whatt i have it doesnt looks good :/18:02
tmaxit says image is corrupt18:04
tmaxi reboot PandaBoard and now i get it18:09
tmaxhttp://pastebin.pandaboard.org/index.php/view/402658818:09
tmaxrsalveti ?18:12
tmaxare u there ?18:13
tmaxanyone ??18:25
tmaxsomebody online ?19:28

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!