[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
howtos:hardware:arm:toshiba_ac100_dynabook_az [2015/10/20 12:35 (UTC)] – [Booting Custom Images] louigi600 | howtos:hardware:arm:toshiba_ac100_dynabook_az [2015/10/20 14:52 (UTC)] – [Repackaging The Boot Images For Aboot] louigi600 | ||
---|---|---|---|
Line 42: | Line 42: | ||
The tegrapart format is a coma separated list of items like this : | The tegrapart format is a coma separated list of items like this : | ||
< | < | ||
+ | that needs to be read out from / | ||
====== Booting Custom Images ====== | ====== Booting Custom Images ====== | ||
Line 71: | Line 72: | ||
Although it is technically possible to boot without using an initrd I've not had the time to experiment that. If all you need is simple boot then the initrd only really needs busybox and a very simple script that mounts root and then switches root. | Although it is technically possible to boot without using an initrd I've not had the time to experiment that. If all you need is simple boot then the initrd only really needs busybox and a very simple script that mounts root and then switches root. | ||
- | I make a slight difference between the rescue init script and the boot init script, making the forme allways | + | I make a slight difference between the rescue init script and the boot init script, making the former always |
This is what my boot init script looks like: | This is what my boot init script looks like: | ||
Line 99: | Line 100: | ||
If you wish to alter the init scripts you can extract them from the rescue and boot images: first use abootimg to extract the initrd.img then use zcat | cpio -idm to extract the content from the initrd image. | If you wish to alter the init scripts you can extract them from the rescue and boot images: first use abootimg to extract the initrd.img then use zcat | cpio -idm to extract the content from the initrd image. | ||
- | Edit them to suit your desigred | + | Edit them to suit your desired |
===== Repackaging The Boot Images For Aboot===== | ===== Repackaging The Boot Images For Aboot===== | ||
Line 117: | Line 118: | ||
You are now ready to try your rescue image without actually flashing it. | You are now ready to try your rescue image without actually flashing it. | ||
- | Then restart | + | Restart |
nvflash --bl sos-uboot-r5-alpha.bin --sync | nvflash --bl sos-uboot-r5-alpha.bin --sync | ||