Lantronix EDS2100 Linux SDK - User Guide - Page 37

kernel + ROMFS root, preserving the JFFS2 partition, ethaddr: 00:20:4A:80:8C:7E

Page 37 highlights

5 Flash Partitioning 2. Validate that the kernel command line is set to rootfstype=romfs: dBUG> show watchdog: on silentboot: off romfs_flash: off bootbank: Single safebank: 0 netcon: on tftpsrv: on base: 16 baud: 115200 autoboot: Stop at prompt server: 172.19.239.1 client: 172.19.239.77 gateway: 172.19.0.1 netmask: 255.255.0.0 filename: /tftpboot/image.bin filetype: Image ethaddr: 00:20:4A:80:8C:7E dns: 172.19.1.1 bootfc: 0 maxbootfc: off kcl: rootfstype=romfs 3. Otherwise issue: dBUG> set kcl rootfstype=romfs 4. Initialize/Erase the JFFS2 file system with: For all platforms (Single bank configuration) dBUG> fl e 0x00400000 0x00400000 5. And run the freshly installed new kernel + ROMFS with: dBUG> gfl kernel + ROMFS root, preserving the JFFS2 partition This configuration is almost identical to the previous one except that the JFFS2 area does not get touched. It is also the default configuration of the original µClinux distribution. Follow the same steps as in the previous chapter but omit the flash erase command: For all platforms (Single bank configuration) dBUG> fl e 0x00400000 0x00400000 Linux Software Developers Kit (SDK) User Guide 37

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76

5 Flash Partitioning
Linux Software Developers Kit (SDK) User Guide
37
2.
Validate that the kernel command line is set to rootfstype=romfs:
dBUG> show
watchdog: on
silentboot: off
romfs_flash: off
bootbank: Single
safebank: 0
netcon: on
tftpsrv: on
base: 16
baud: 115200
autoboot: Stop at prompt
server: 172.19.239.1
client: 172.19.239.77
gateway: 172.19.0.1
netmask: 255.255.0.0
filename: /tftpboot/image.bin
filetype: Image
ethaddr: 00:20:4A:80:8C:7E
dns: 172.19.1.1
bootfc: 0
maxbootfc: off
kcl: rootfstype=romfs
3.
Otherwise issue:
dBUG> set kcl rootfstype=romfs
4.
Initialize/Erase the JFFS2 file system with:
For all platforms (Single bank configuration)
dBUG> fl e 0x00400000 0x00400000
5.
And run the freshly installed new kernel + ROMFS with:
dBUG> gfl
kernel + ROMFS root, preserving the JFFS2 partition
This configuration is almost identical to the previous one except that the JFFS2 area does not get
touched. It is also the default configuration of the original µClinux distribution.
Follow the same steps as in the previous chapter but omit the flash erase command:
For all platforms (Single bank configuration)
dBUG> fl e 0x00400000 0x00400000