IRC log of #cubox of Mon 12 Feb 2018. All times are in CET < Back to index

00:23 heap_> so i did
00:23 heap_> dd if=/dev/mmcblk0 of=SPL bs=1K seek=1 count=43
00:23 heap_> dd if=/dev/mmcblk0 of=u-boot.img bs=1K seek=42 count=297
00:23 heap_> and then
00:23 heap_> dd if=SPL of=/dev/mmcblk0 bs=1K seek=1
00:23 heap_> To write the U-Boot binary to SD card as well
00:23 heap_> dd if=u-boot.img of=/dev/mmcblk0 bs=1K seek=42
00:23 heap_> and FS is not recognized
00:29 heap_> Writing U-Boot to the SD card
00:29 heap_> but where i can download SPL and u-boot.img?
00:40 heap_> anyone alive
01:18 heap_> hm i powered on cubox - led is on; but i cant see any msg via serial port + minicom
01:18 heap_> even sd card is bad it should produce something to serial console?
01:20 heap_> ah these devices are really piece of crap
01:20 heap_> i copied SPL+uboot via dd ... /boot folder is on the sd card
01:20 heap_> and does nothing
01:22 heap_> the broken sd card has u-boot spl 2013-10-rc4
01:22 heap_> so i did
01:22 heap_> dd if=/dev/mmcblk0 of=SPL bs=1K seek=1 count=43
01:22 heap_> dd if=/dev/mmcblk0 of=u-boot.img bs=1K seek=42 count=297
01:22 heap_> and then dd if=SPL of=/dev/mmcblk0 bs=1K seek=1
01:22 heap_> dd if=u-boot.img of=/dev/mmcblk0 bs=1K seek=42
01:23 heap_> where these target device of previous 2 cmds was new sd card
01:23 heap_> and i put /boot folder from old card to the new one ... on the ext4 partiotion
01:23 heap_> and it literally does nothing when i power up and connect serial ...
01:23 heap_> so it means there is no SPL+uboot on new carD?
01:24 heap_> or can anyone provide SPL and u-boot.img files so i can dd both these on new sd card?
01:37 heap_> is there any description how can be sr-imx6-debian-jessie-cli-20171108.img.xz manually installed?
01:37 heap_> i dont wanna use ignition
01:40 heap_> is there any wiki article?
01:51 heap_> i googled xzcat | sudo dd of=/dev/sdX bs=1M; sync
01:51 heap_> ok thats not important anyway...
01:52 heap_> im wondeing why if i backup sPL+u-boot.img from old card and dd it on the new one
01:52 heap_> are these counts correct? ie 43 for SPL and 297 for uboot?
01:53 heap_> so does anyone know how many bytes i have to backup from old sd using u-boot spl 2013-10-rc4
01:53 heap_> or its solidrun secret?
01:58 heap_> i dont understand why these things are not properly documentedn on the solidrun wiki?
02:03 heap_> there was a wiki post how to boot from sd card and leave fs on usb drive.. also removed ... jesus christ
02:03 heap_> dont know why u assume only experts use that machine or ppl are willing to do research for one month to install shit...
09:45 heap_> hi
10:05 Ke> hi, sorry can't help you on those details
10:07 Ke> heap_: did you confirm that your dd did not overwrite your fs
10:07 Ke> heap_: perhaps fdisk -l on your sdcard
10:08 Ke> heap_: and du on your SPL and u-boot.img files
10:08 Ke> heap_: and a question, do you understand how you could end up overwriting our fs, with the dd, if the images you copy somehow overlap with the fs or each other
10:09 Ke> heap_: you could perhaps draw a image of the disk layout and make sure the sizes are ok
10:15 heap_> Ke: yeah was fixed bc the partition started on other sector
11:07 vpeter> Problem solved :)
11:20 heap_> yeah thank you vpeter
17:56 vpeter> jnettlet[m]: I tried openwrt sr. It works but doesn't solve my problems with packet loss. Don't know what could be the issue.
17:58 jnettlet[m]> vpeter: packet loss over WiFi, or Ethernet?
18:05 vpeter> ethernet
18:06 vpeter> But after some time (few minutes) it get stable. This is after powering on clearfog.
21:29 suihkulokki> Ke: re serial headers, see the thread https://www.spinics.net/lists/arm-kernel/msg631576.html and the previous mail
21:39 Ke> suihkulokki: yeah, I had my suspicions of them being disabled in the dts
21:39 Ke> thanks
21:39 Ke> now working on gru-kevin/samsung chromebook plus/rk3399
21:39 Ke> actually natively compiling the kernel on mcbin
21:40 Ke> since I am anyway doing that fro the chromebook, I might try booting linux-4.16-rc1 on the mcbin
21:43 Ke> Russel King totally seems like a person that loves microsoft and hates RMS =o(
21:44 Ke> since when did 3 pins on a arm board use rs232 signal levels
21:45 Humpelstilzchen> Yeah, a lot people hate math, but why pick root mean square?
21:51 Ke> suihkulokki: any idea, whether that patch will make it to upstream, should I note that I was having terrible pains due to not able to use the ttl level uarts on the board
21:51 Ke> btw. why will linux even create the ttyS*, if they are disabled
21:51 Ke> anyway, sleepy time now