09:18 | R0nd | yay, someone fixed xbmc |
09:18 | R0nd | a week ago |
10:58 | Humpelstilzchen | R0nd: compiling error or decode error? |
11:01 | R0nd | compiling error |
11:02 | R0nd | can't test it atm |
12:19 | R0nd | getting the same playback issues as before with the current version |
12:58 | Exaga | building a new kernel using the instructions on http://www.solid-run.com/wiki/Building_the_kernel_and_u-boot_for_the_CuBox-i_and_the_HummingBoard - just leaves me with a system that reboots endlessly |
12:58 | Exaga | and i followed the guide to the letter |
13:03 | Exaga | doesn't even attempt to boot the kernel |
13:03 | Exaga | but if I copy an older kernel and try to boot it, it works fine |
16:15 | Exaga | malte: o/ |
16:15 | malte | Exaga |
16:16 | Exaga | i have a problem malte. can you offer me any advice perhaps? |
16:17 | malte | i will try my best:) |
16:18 | Exaga | using this guide - http://www.solid-run.com/wiki/Building_the_kernel_and_u-boot_for_the_CuBox-i_and_the_HummingBoard |
16:18 | Exaga | i'm compiling a new kernel and when i test it out the hummingboard i2ex just keeps rebooting |
16:18 | Exaga | doesn't even try to boot the kernel |
16:18 | Exaga | is there a better guide i could be using? |
16:19 | malte | which kernel do u want to use? |
16:19 | Exaga | 3.14.14 |
16:19 | Exaga | or just one that works |
16:20 | malte | on which os? |
16:20 | Exaga | slackware arm linux |
16:20 | malte | isnt there a script |
16:20 | Exaga | if there is i'd be grateful for the link :> |
16:21 | malte | http://www.solid-run.com/community/topic1156.html |
16:21 | Exaga | thanks malte |
16:22 | rabeeh | Exaga: here |
16:22 | Exaga | hey rabeeh |
16:23 | Exaga | i've got serious issues lol |
16:23 | rabeeh | hehe |
16:23 | rabeeh | what a kernel that doesn't boot :) |
16:23 | Exaga | well... i'm following the guide |
16:23 | rabeeh | which toolchain? and what is the commnand line? |
16:23 | Exaga | to the LETTER |
16:23 | Exaga | and last week it booted fine |
16:23 | rabeeh | Exaga: i can't believe it; a slackware user follows the rules :) |
16:24 | Exaga | and this week it doen't load the kernel it just reboots perpetually |
16:24 | Exaga | and rabeeh ... |
16:24 | Exaga | these are the same files i used last week |
16:24 | rabeeh | you mean same binaries? |
16:24 | Exaga | haha well i was doing great and almost had the boot process error free |
16:25 | Exaga | ok... let me explain |
16:25 | Exaga | i'm writing SPL and u-boot.img to the bootblock |
16:25 | Exaga | as per guide instructions |
16:26 | rabeeh | do you see u-boot messages at all? |
16:26 | rabeeh | (via serial or hdmi) |
16:26 | Exaga | via HDMI i see the machine's console |
16:26 | Exaga | which starts to load and then reboots after 2-3 seconds |
16:26 | Exaga | but IF i use an old kernel from last week |
16:27 | Exaga | it boots to a point and then crashes |
16:27 | Exaga | and i am at a total loss here |
16:27 | rabeeh | what is the command to boot a kernel? |
16:27 | Exaga | i was just asking malte to save my life :> |
16:27 | Exaga | bootz 0x00800000 0x01100000 0x5880000 |
16:28 | Exaga | bootz (kernel) (ramdisk) (dtb) |
16:28 | malte | exaga: rabeeh is the right person for this:) |
16:28 | Exaga | malte: i know but you are always a great source for solutions :P |
16:30 | Exaga | the thing i cannot understand is why the same files and config worked 5 days ago and now it refuses to boot |
16:32 | Exaga | unfortunately my usb ttl serial cable has not arrived yet |
16:32 | Exaga | it wold be easier to problem solve with it connected |
16:49 | rabeeh | Exaga: 0x00800000 won't work |
16:49 | rabeeh | memory is mapped at 0x10000000 and beyond |
16:49 | Exaga | ok |
16:49 | rabeeh | my typical bootz would be - bootz 0x10800000 0x15000000 0x18000000 |
16:50 | Exaga | then i shall use those settings :> |
16:50 | rabeeh | please try using uEnv.txt |
16:50 | Exaga | i do |
16:50 | rabeeh | i.e. no boot.scr |
16:50 | rabeeh | still three partitions? (fat,swap,ext4)? |
16:50 | Exaga | yes |
16:52 | Exaga | rabeeh: is there any reason why those memory address settings worked last week? |
16:58 | rabeeh | Exaga: i think they never worked |
16:59 | rabeeh | it was something else that you have missed :) |
16:59 | rabeeh | i think maybe uEnv.txt was never loaded |
16:59 | Exaga | ok |
16:59 | Exaga | then maybe this is why i'm finding to many irregularities in trying to get this thing working lol |
17:00 | Exaga | and when i add the u-boot header to the kernel.img and initrd.gz... do i use gzip compression or no compression? |
17:01 | Exaga | right now i'm using this command: mkimage -A arm -O linux -C none -T kernel -n "Linux kernel" -d kernel.img zImage |
17:01 | Exaga | and for the ramdisk i use this command: mkimage -A arm -O linux -T ramdisk -C none -n "Slackware ARM initrd" -d initrd.gz zInitrd |
17:02 | Exaga | i read somwhere on solidrun website not to use gzip compression for this |
17:05 | Exaga | if i can just nail this u-boot issue then the slackware ARM installer is almost ready to roll |
17:06 | Exaga | rabeeh: i'll do some testing with your memory setting and report back to you with the results :> |
17:06 | Exaga | thanks very much for the help |
17:06 | Exaga | you too malte :) |
17:07 | malte | :) |
17:09 | rabeeh | Exaga: the kernel produces zImage |
17:09 | rabeeh | for the initrd use mkimage and that would be the second image to bootz |
17:10 | rabeeh | to get the correct dtb just execute 'run autodetectfdt' on everyboot and it would set 'fdt_file' env variable file that to be loaded as the third parameter |
17:12 | Exaga | and how to run autodetectftd on boot ? |
17:13 | rabeeh | following is an example to create a uEnv.txt from a script that runs 'bootz 0x10800000 - 0x18000000' |
17:13 | rabeeh | cat > $MNT1/uEnv.txt < |
17:13 | rabeeh | mmcargs2=run autodetectfdt; fatload mmc 0:1 0x10800000 zImage; fatload mmc 0:1 0x18000000 ${fdt_file}; bootz 0x10800000 - 0x18000000 |
17:13 | rabeeh | mmcargs=setenv bootargs root=/dev/mmcblk0p2 ro rootwait video=mxcfb0:dev=hdmi consoleblank=0; run mmcargs2 |
17:13 | rabeeh | EOF |
17:14 | Exaga | thanks rabeeh |
17:14 | rabeeh | by default if u-boot loads uEnv.txt it will run 'mmcargs' in somepoint |
17:14 | rabeeh | so mmcargs first sets bootargs (kernel parameters); and then runs mmcargs2 |
17:14 | rabeeh | mmcargs2 runs autodetectfdt; loads binaries and then boots |
17:15 | Exaga | ok gotcha :> |
17:16 | Exaga | i'm sure it will all seem easy very soon. i'm just new to the whole u-boot thing |