From: Sergey Bolshakov <sbolshakov@altlinux.ru>
To: devel-ports@lists.altlinux.org
Subject: Re: [devel-ports] Универсальный дистрибутив на планшете
Date: Fri, 22 Mar 2013 13:58:00 +0400
Message-ID: <m3620jn4d3.fsf@hammer.lioka.obninsk.ru> (raw)
In-Reply-To: <20130321214220.GH12071@osdn.org.ua> (Michael Shigorin's message of "Thu, 21 Mar 2013 23:42:20 +0200")
[-- Attachment #1: Type: text/plain, Size: 1104 bytes --]
>>>>> "Michael" == Michael Shigorin <mike-nVB1ZwtFQf3sG83rWm+8vg@public.gmane.org> writes:
> On Fri, Mar 22, 2013 at 12:32:31AM +0400, Sergey Bolshakov wrote:
>> У меня tf700, дуалбутом с анд****ом.
>> Всё необходимое в сизифе.
> Кратенько рецептуру/ссылки сюда или на вики не? :)
В надежде, что кто-то приведёт в съедобный вид:
- на x86 настраиваем hasher с qemu-arm (на вики есть),
в sources.list указываем <сизиф> armh classic;
- hsh-install свои любимые пакеты, из специфичного для tf700:
+ kernel-image-tf700
+ abootimg
+ mkinitrd
+ nvidia-tegra
- hsh-shell --rooter, внутри делаем следующее:
+ echo "MKINITRD_OPTIONS='--with ext4'" > /etc/sysconfig/installkernel
+ installkernel 3.1.10-tf700-altX
+ заполняем /boot/bootimg.cfg [1]
+ abootimg --create boot.aboot -k vmlinuz -r initrd.img -f bootimg.cfg
- копируем к себе получившийся boot.aboot, делаем тарбол rootfs:
hsh-run --rooter -- tar c --same-owner --same-permissions ....
- собственно, всё --
как разлочить и порутать целевую железку, залить ядро и rootfs --
не является топиком этой рассылки :]
[1]
[-- Attachment #2: bootimg.cfg --]
[-- Type: text/plain, Size: 283 bytes --]
bootsize = 0x800000
pagesize = 0x800
kerneladdr = 0x10008000
ramdiskaddr = 0x11000000
secondaddr = 0x10f00000
tagsaddr = 0x10000100
name = ALT Linux
cmdline = root=/dev/mmcblk0p8 rootflags=data=writeback,discard rootsubdir=/org.altlinux/root ro console=tty1 fbcon=map:0 fbcon=vc:1-4
[-- Attachment #3: Type: text/plain, Size: 146 bytes --]
обращаю внимание на опцию rootsubdir в cmdline -- это умеет пока
только mkinitrd, и это ровно то место, куда нужно распакковать нашу
rootfs
--
next prev parent reply other threads:[~2013-03-22 9:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-21 19:06 Sergey
2013-03-21 20:32 ` Sergey Bolshakov
2013-03-21 21:42 ` Michael Shigorin
2013-03-22 9:58 ` Sergey Bolshakov [this message]
2013-03-22 10:31 ` Paul Wolneykien
2014-04-06 8:32 ` Sergey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3620jn4d3.fsf@hammer.lioka.obninsk.ru \
--to=sbolshakov@altlinux.ru \
--cc=devel-ports@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux architecture porting
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-ports/0 devel-ports/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel-ports devel-ports/ http://lore.altlinux.org/devel-ports \
devel-ports@lists.altlinux.org devel-ports@lists.altlinux.ru devel-ports@lists.altlinux.com
public-inbox-index devel-ports
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-ports
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git