anuvrat | hi 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 it | 03:43 |
---|---|---|
anuvrat | currently 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 |
anuvrat | Will I have to hunt for drivers, can somebody help? | 03:45 |
=== Quintasan_ is now known as Quintasan | ||
tmax | Hello anyone here ? | 17:01 |
tmax | I ma having a problem installing Ubuntu on PandaBoard | 17:02 |
tmax | First time it boot it resizes partition, but then instead of start installer it keeps rebooting forever | 17:02 |
robclark | fwiw, tmax was having an issue w/ installer: http://pastebin.pandaboard.org/index.php/view/77105354 | 17:02 |
* robclark thought perhaps someone here would have a better idea what is going on | 17:03 | |
tmax | robclark helped because i was getting through RS232 an error about kernel could not find uEnv.txt so i created it | 17:06 |
tmax | and 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=boot | 17:06 |
tmax | anyone ? | 17:10 |
tmax | hello ?? :/ | 17:16 |
rsalveti | that usually happens when something went wrong during the resize | 17:27 |
rsalveti | when regenerating the initramfs probably | 17:28 |
rsalveti | one thing you can do is to flash the image again, mount it at your host, edit the boot args and enable the console output | 17:28 |
rsalveti | if you have access to your serial | 17:28 |
rsalveti | then you'll get all the details about the installer and what is happening | 17:29 |
tmax | yeah i can see everything from my PC trough console | 17:30 |
tmax | i have reinstalled the image about 4 times | 17:30 |
tmax | ok i have reinstalled the image again in my SD card | 17:31 |
tmax | what should i change before put it into PandaBoard ? | 17:31 |
tmax | when i put the img inside SD card it doesnt create uEnv.txt is that normal ? | 17:33 |
rsalveti | I believe it's still using the boot.src file | 17:34 |
tmax | ok should i try booting again ? | 17:34 |
rsalveti | that's before the first boot (before resize) as it seems the resize not working properly for you | 17:35 |
rsalveti | or if you just want to understand why it's rebooting | 17:35 |
rsalveti | you can also change it to see what are the logs | 17:35 |
tmax | yes i want to understand too i want to learn :D | 17:36 |
tmax | but what i have to change ? | 17:36 |
rsalveti | adding console=ttyO2,115200, remove quite and replace splash with nosplash | 17:36 |
rsalveti | *quiet | 17:36 |
tmax | so i have to create uEnv.txt again ? | 17:36 |
rsalveti | dd if=boot.scr of=boot.script bs=1 skip=72 | 17:37 |
rsalveti | edit boot.script | 17:37 |
rsalveti | mkimage -A arm -T script -C none -n "Ubuntu boot script" -d boot.txt boot.scr | 17:37 |
rsalveti | if it's not yet using uEnv.txt | 17:37 |
rsalveti | yeah, still using boot.scr | 17:38 |
tmax | yeah it says it couldnt find uEnv.txt so it uses boot.scr | 17:38 |
tmax | mmm i dont have boot.script in FAT32 partition | 17:39 |
rsalveti | that's why you have to run the dd command first | 17:39 |
rsalveti | it'll remove the header and create the boot.script file | 17:39 |
rsalveti | so you can properly open it with any editor | 17:39 |
tmax | ok wait, so i have to put it in PandaBoard and let it resize first ? | 17:40 |
tmax | i apologise i am pretty new at this and i am lerning | 17:40 |
rsalveti | if 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 mkimage | 17:40 |
tmax | ok i have mounted the first FAT32 partition on my PC | 17:41 |
tmax | now i have to create boot.script and what i have to put inside ? | 17:41 |
rsalveti | there 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 |
rsalveti | edit this line, removing quiet and splash, and add "console=ttyO2,115200 nosplash loglevel=8" | 17:43 |
rsalveti | then run mkimage as I said before | 17:43 |
rsalveti | mkimage -A arm -T script -C none -n "Ubuntu boot script" -d boot.sript boot.scr | 17:43 |
rsalveti | umount it and boot the card at your pandaboard | 17:43 |
=== yofel_ is now known as yofel | ||
tmax | i am getting this mkimage: Can't read boot.script: Invalid argument | 17:49 |
tmax | andres-nt@andres-nt:/tmp/mmc$ sudo mkimage -A arm -T script -C none -n "Ubuntu boot script" -d boot.script boot.scr | 17:49 |
tmax | thats what i put | 17:49 |
tmax | i have FAT32 mounted in /tmp/mmc | 17:50 |
tmax | and when i edit boot.scr gedit warns me about it can corrupt the file if i save it because there are strange caracters | 17:52 |
rsalveti | you first need to generate the boot.script file with dd | 17:52 |
tmax | when i save it the file becomes strange it is filled whit 0 | 17:52 |
rsalveti | run: dd if=boot.scr of=boot.script bs=1 skip=72 | 17:52 |
rsalveti | then you'll have the boot.script file to be edited and used by mkimage | 17:53 |
tmax | ok, but is normal what gedit tells me ? | 17:53 |
tmax | because i can see file is corrupted when i save it whit gedit | 17:53 |
rsalveti | yes, because you tried to edit the boot.scr file instead of boot.script | 17:54 |
rsalveti | the boot.scr file has a special header for u-boot | 17:54 |
rsalveti | that's why you need to run the dd command, that will just remove the header and create a text file called boot.script | 17:54 |
rsalveti | mkimage will then turn this file into a boot.scr, adding the header again | 17:54 |
rsalveti | to be valid by u-boot | 17:54 |
tmax | hooo and i have to edit the arguments from boot.script not boot.scr right ? | 17:55 |
rsalveti | yup | 17:55 |
tmax | hooo i am starting to understand :D | 17:55 |
tmax | ok now it worked :) | 17:56 |
tmax | now try booting Panda ? | 17:57 |
tmax | i have to have ethernet ?? it says waiting for ethernet connection | 18:00 |
tmax | http://pastebin.pandaboard.org/index.php/view/44520241 | 18:02 |
tmax | thats whatt i have it doesnt looks good :/ | 18:02 |
tmax | it says image is corrupt | 18:04 |
tmax | i reboot PandaBoard and now i get it | 18:09 |
tmax | http://pastebin.pandaboard.org/index.php/view/4026588 | 18:09 |
tmax | rsalveti ? | 18:12 |
tmax | are u there ? | 18:13 |
tmax | anyone ?? | 18:25 |
tmax | somebody online ? | 19:28 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!