WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: what is possible with core.gz initrd firmware cmdline.txt options ect  (Read 5342 times)

Offline mocore

  • Hero Member
  • *****
  • Posts: 633
  • ~.~
can any one point out
how to have something using cpio.gz
like
Code: [Select]
cat picore.gz Xlibs.gz Xprogs.gz Xvesa.gz > newpicore.gzor
Code: [Select]
initrd=picore.gz,my_initramfs.gz
with picore ?

and can  /piCore3611a.gz   be renamed or remastered ?
like handling multiple tinycore.gz files? or remastering tinycore.gz

/cmdline.txt from the image has this  ??? ( usually i could just change or append 'initrd=ZZZ.gz' it seems not so simple in this case! )
Quote
initrd=0xa00000,0x3c02a7
   
is it necessary to recreate the  kernel and or SD.img to change some thing ?

« Last Edit: April 23, 2013, 01:15:34 PM by dubcore »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: what is possible with core.gz initrd firmware cmdline.txt options ect
« Reply #1 on: April 20, 2013, 02:00:55 PM »
Check config.txt in /mnt/mmcblk0p1 boot partition. At the beginning you can specify name of kernel and initrd file. It means you can use whatever name you want.

In the command line edit second hex number to match size of your initrd.

initrd=0xa00000,0x3c02a7
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline mocore

  • Hero Member
  • *****
  • Posts: 633
  • ~.~
Re: what is possible with core.gz initrd firmware cmdline.txt options ect
« Reply #2 on: April 23, 2013, 02:00:04 PM »
thanks!
 idk how i missed that
anyway 
"cat picore.gz nodejs.gz > catpicore.gz" works

 after loading coreutils im using
Code: [Select]

printf '0x%x\n' $(stat -c%s catpicore.gz )
to get the hexsize from the initrd file 

change
cmdline.txt
initrd=0xa00000,$hexsize
and
config.txt
ramfsfile=catpicore.gz

 it boots! and node can be started from terminal  .
« Last Edit: April 23, 2013, 02:23:44 PM by dubcore »