ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development - Did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait for an answer! - This channel is logged at https://oftc.irclog.whitequark.org/linux-sunxi
paulk-ter has joined #linux-sunxi
paulk-bis has quit [Ping timeout: 480 seconds]
apritzel_ has quit [Ping timeout: 480 seconds]
paulk-ter has quit [Remote host closed the connection]
paulk-ter has joined #linux-sunxi
paulk-ter has quit [Remote host closed the connection]
paulk-ter has joined #linux-sunxi
paulk has joined #linux-sunxi
paulk-ter has quit [Ping timeout: 480 seconds]
hentai has quit [Remote host closed the connection]
hentai has joined #linux-sunxi
hentai has quit [Remote host closed the connection]
hentai has joined #linux-sunxi
junari_ has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
xdarklight has quit [Quit: ZNC - https://znc.in]
xdarklight has joined #linux-sunxi
apritzel_ has joined #linux-sunxi
koty0f has quit [Ping timeout: 480 seconds]
koty0f has joined #linux-sunxi
diego71 has quit [Ping timeout: 480 seconds]
diego71 has joined #linux-sunxi
apritzel_ has quit [Ping timeout: 480 seconds]
junari__ has joined #linux-sunxi
junari_ has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
keoLEg has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
warpme has quit []
apritzel_ has joined #linux-sunxi
warpme has joined #linux-sunxi
<keoLEg> hi I have a bananapro whic has A20 on it. And I made a linux distribution with yocto but somehow a littile bit confused about flashing the SD card. Should I dd the bootloader to the first partition of SD card . Are there any sector issues , because in the document it is stated as dd if=u-boot-sunxi-with-spl.bin of=${card} bs=1024 seek=8
<DuClare> That's obviously dd onto the card, not in any partition
evgeny_boger has joined #linux-sunxi
<diego71> $card should be something like /dev/mmc0 or /dev/sdb
<diego71> otherwise you probably corrupt the filesystem in the partition
PizDOS_6-22 has quit [Remote host closed the connection]
PizDOS_6-22 has joined #linux-sunxi
infu has quit [Ping timeout: 480 seconds]
junari_ has joined #linux-sunxi
apritzel_ has left #linux-sunxi [#linux-sunxi]
apritzel has joined #linux-sunxi
<apritzel> keoLEg: the BootROM in the SoC looks at said sector on the SD card (that's hardwired), so that's where the bootloader (the very first user code to run) needs to live
junari__ has quit [Ping timeout: 480 seconds]
<apritzel> keoLEg: the BROM has no idea nor does it care about any partitions
<apritzel> typically most partitioning tools let the first partition start at only 1MB anyways, which leaves that part free for the bootloader
<apritzel> so yes: you need to dd u-boot-sunxi-with-spl.bin to sector 16 (8KB), and then you can have any partitions you like, just don't assign the first MB of the card
bauen1 has joined #linux-sunxi
<keoLEg> diego71: card is exported as card=/dev/mmcblk0 in the documentation. I used it as /dev/mmcblk0.
JohnDoe_71Rus has quit []
<apritzel> keoLEg: the device name depends on how the device is attached. When you use an USB card reader, it's typically /dev/sd<X>, otherwise /dev/mmcblk<x>
<apritzel> but in any case you have to write the bootloader to the raw device, not to any partition
vagrantc has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
warpme has quit []
warpme has joined #linux-sunxi
warpme has quit []
keoLEg has quit [Remote host closed the connection]
infu has joined #linux-sunxi
junari__ has joined #linux-sunxi
junari_ has quit [Ping timeout: 480 seconds]
koty0f has quit [Read error: Connection reset by peer]
koty0f has joined #linux-sunxi
junari__ has quit [Remote host closed the connection]
junari__ has joined #linux-sunxi
junari__ has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
WinDOS_6-22 has joined #linux-sunxi
PizDOS_6-22 has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
warpme has quit []
JohnDoe_71Rus has quit []
WinDOS_6-22 has quit [Read error: Connection reset by peer]
PizDOS_6-22 has joined #linux-sunxi
paulk-bis has joined #linux-sunxi
paulk has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
JohnDoe_71Rus has quit []
vagrantc has quit [Quit: leaving]
apritzel has quit [Ping timeout: 480 seconds]